Currently, I am using the RC720 GSM module for data communication. The module collects data every 1 second and transmits it to our local server via the UDP protocol. However, sometimes the GSM module does not exit from data mode back to command mode after the data has been fully pushed to the server. In such cases, I am forced to restart the GSM module, which consumes significant time and creates conflicts with my real-time cycle requirements.
I would appreciate your support in finding an alternative solution to handle this issue, so that the module can reliably switch back to command mode without requiring a full restart.