Yes, the Soracom platform will automatically disconnect your IoT SIM session if it remains idle for a specific period.
Specifically, Soracom deletes sessions that exist for a certain duration without transmitting any data. The exact timeout duration depends on the Rendezvous Point your device is using. While this idle timeout is commonly observed as one or four hours, please note that these durations are subject to change without prior notice.
Keeping the Connection Alive
If your application requires a session to remain active for extended periods, you should implement an appropriate technique to prevent the idle timeout. A common approach is to periodically send keep-alive messages (or heartbeats) from your device to your server.
Because sessions can also drop due to fluctuating network signal strength or other environmental factors, we highly recommend implementing an automatic reconnection mechanism on your device to recover from any unexpected disconnections.
If the idle session timeout timer is affecting your LTE-M deployment that is using eDRX (Extended Discontinuous Reception) or PSM (Power Saving Mode), please create a support request for assistance.
For more details on how session states are handled, please refer to the Session Status documentation.