Restoring a connection when module becomes deregistered. | Telit Cinterion IoT Developer Community
January 10, 2016 - 7:40am, 1800 views
If the module becomes deregistered while using a PDP context, what steps should be taken to restore full communication? Shutting down and restarting the module is one way, but very inconvenient if there are several threads running.
Is there a document that addresses the issue of maintaining a 24/7 packet data connection?
Hello,
You would need to provide some more information about what module you are using and if you use AT commands or Java.
But generally it is of course possible to attach without restarting the module There are AT commands for that or you can do it with Java API. Deregistration may always happen initiated by the network. In case of Java you just need to reopen the connection. You can use the BearerControl class to register the listener and get notified about connection state changes.
Regards,
Bartłomiej