You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[ ] Bug or problem compiling the library
[ ] Bug or issue with library functionality (ie, sending data over TCP/IP)
[ x] Question or request for help
What are you working with?
Modem: A7670E
Main processor board: ESP32 GSM LILYGO A7670E
TinyGSM version: Latest
Code:Loop code :
if (!modem.isGprsConnected()){
Serial.println("Setup GPRS");
gprsSetup();
}
if (!mqtt.connected()){
Serial.println("Setup MQTT");
mqttConnection();
}
mqtt.loop();
Scenario, steps to reproduce
I would like to ask the community. Im producing a custom solution in which it is mandatory to keep connections 24/7 and be able to use ussd commands to retrieve balance and remaining MB + a check to reliably read unread sms. In my case with this loop and functions implemented to achieve i have managed to maintain a stable connection to a broker with gprs connection. The problem i noticed is that when i try to use USSD commands with AT+CUSD=1 or the function implemented inside the library my gsm module restarts thus disconnecting and failing to achieve the command asked. If there any way to optimize all functionalities without restarts?
Expected result
Actual result
Controller when asked about USSD commands restarts the gsm modul
Debug and AT command log
ATREADY1 most of the times. Low successful rate on commands
The text was updated successfully, but these errors were encountered:
bill210kouk
changed the title
Stable connections + GSM
Stable connections + GSM USSD Codes
Feb 10, 2024
[ x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[ ] Bug or problem compiling the library
[ ] Bug or issue with library functionality (ie, sending data over TCP/IP)
[ x] Question or request for help
What are you working with?
Modem: A7670E
Main processor board: ESP32 GSM LILYGO A7670E
TinyGSM version: Latest
Code:Loop code :
if (!modem.isGprsConnected()){
Serial.println("Setup GPRS");
gprsSetup();
}
if (!mqtt.connected()){
Serial.println("Setup MQTT");
mqttConnection();
}
mqtt.loop();
Scenario, steps to reproduce
I would like to ask the community. Im producing a custom solution in which it is mandatory to keep connections 24/7 and be able to use ussd commands to retrieve balance and remaining MB + a check to reliably read unread sms. In my case with this loop and functions implemented to achieve i have managed to maintain a stable connection to a broker with gprs connection. The problem i noticed is that when i try to use USSD commands with AT+CUSD=1 or the function implemented inside the library my gsm module restarts thus disconnecting and failing to achieve the command asked. If there any way to optimize all functionalities without restarts?
Expected result
Actual result
Controller when asked about USSD commands restarts the gsm modul
Debug and AT command log
ATREADY1 most of the times. Low successful rate on commands
The text was updated successfully, but these errors were encountered: