Issues with the ESP-Modem pppos_example and SIM7600G LTE Module
Posted: Thu Jul 04, 2024 1:51 pm
Hello Espressif Community,
I am currently facing challenges with the standard pppos_example for the LTE module SIM7600G on an ESP32 MCU. I have followed the setup instructions as per the documentation, but the MQTT connection fails repeatedly, and I cannot seem to maintain a stable connection.
Here are the logs from my attempt:
Initialized GPIO and setup mode for the SIM7600G module.
Signal quality checked, and the connection to the PPP Server was successful.
Assigned IP address is 10.19.131.57.
DNS servers were set up correctly.
However, the MQTT connection events show multiple disconnections and failed attempts, with the logs indicating mqtt_message_receive() returned 0, and several MQTT_EVENT_DISCONNECTED messages.
Could anyone provide insights or guidance on what might be going wrong here? Any suggestions or tweaks that could stabilize the MQTT connection would be greatly appreciated.
Thank you in advance for your support!
Best regards,
Oleksandr
P.S. Pin 22 is used to enable the DC-DC converter that powers the modem itself.
I am currently facing challenges with the standard pppos_example for the LTE module SIM7600G on an ESP32 MCU. I have followed the setup instructions as per the documentation, but the MQTT connection fails repeatedly, and I cannot seem to maintain a stable connection.
Here are the logs from my attempt:
Initialized GPIO and setup mode for the SIM7600G module.
Signal quality checked, and the connection to the PPP Server was successful.
Assigned IP address is 10.19.131.57.
DNS servers were set up correctly.
However, the MQTT connection events show multiple disconnections and failed attempts, with the logs indicating mqtt_message_receive() returned 0, and several MQTT_EVENT_DISCONNECTED messages.
Could anyone provide insights or guidance on what might be going wrong here? Any suggestions or tweaks that could stabilize the MQTT connection would be greatly appreciated.
Thank you in advance for your support!
Best regards,
Oleksandr
P.S. Pin 22 is used to enable the DC-DC converter that powers the modem itself.