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:Jump to solution
First Using delays, and second do multiple attempts if synchronisation is failed do it again
10 Replies
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)
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
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
How did you overcomed that?
Solution
First Using delays, and second do multiple attempts if synchronisation is failed do it again
Let me try that. Do you have any example code? If yes, can you please share it to me ?
I'll look for the code
Not sim800
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