ATCommand Channel - Usage on a programed resetting modem | Telit Cinterion IoT Developer Community
November 10, 2017 - 12:40pm, 1209 views
Hello,
I've developed an app which has a programmed reset via hardware watchdog.
The thing is I'm a bit concerned due to the ATChannels I'm using in my java application.
I'm currently using the "release()" method provided by the Cinterion ATCommand library in the destroyApp method.
Is there any more action that I can take to protect myself from the "No ATCommand Channel Available" exception after a reset?
Thank you.
Hello,
It's fine that you're using release() in destroyApp(). In fact watchdog will restart the whole module not only the application so in that case even if you did nothing in destroyApp() you should not have problem with no ATCommand Channel available.
Regards,
Bartłomiej