Does anyone worked on SIM800L module with ESP32 using ESP-IDF framework?

Does anyone worked on SIM800L module with ESP32 using ESP-IDF framework? I tried the basic pppos_client esp-idf example, but it's not working for me I'm getting tthe following errors E (10484) esp-modem: esp_modem_dte_send_cmd(256): process command timeout E (10484) dce_service: esp_modem_dce_sync(225): send command failed E (10484) sim800: sim800_init(159): sync failed
Solution:
First Using delays, and second do multiple attempts if synchronisation is failed do it again
Jump to solution
10 Replies
wafa_athmani
wafa_athmani3mo ago
hello @iamnarendrans Have you tried using a serial terminal program to communicate directly with the SIM800L using AT commands? just to know whether the problem lies with the communication between the ESP32 and SIM800L (hardware or software configuration)
youcef_ali
youcef_ali3mo ago
I have worked pppos with sim7600 i take to much time to make it work and not 100%, the issue is in the synchronization in the init, the pppos send At command and wait for feed back, meanwhile the sim module is not ready yet that causes timeout
iamnarendrans
iamnarendrans3mo ago
I've tried and verified. It was working while I'm trying with serial AT commands But that ESP-IDF pppos_client example is not working
iamnarendrans
iamnarendrans3mo ago
How did you overcomed that?
Solution
youcef_ali
youcef_ali3mo ago
First Using delays, and second do multiple attempts if synchronisation is failed do it again
iamnarendrans
iamnarendrans3mo ago
Let me try that. Do you have any example code? If yes, can you please share it to me ?
youcef_ali
youcef_ali3mo ago
I'll look for the code
youcef_ali
youcef_ali3mo ago
Not sim800
youcef_ali
youcef_ali3mo ago
attachment 0
attachment 1
youcef_ali
youcef_ali3mo ago
Here i give additional time for the modem to be ready, and make sure is turned on, and if the sync is failed restart the modem and try again