Hi I have a EM7455 modem module running on Linux ARM board. To set up cell WAN connection, we use SC!SCACT=1,1 command to start a PDP connection. Then we run udhcpc on the cell interface to get a DHCP IP address assigned.
Given that cell connection may come and go over time, how to I make sure the modem module is always able to automatically regain cell connectivity? Do I need to constantly poll some modem status using AT commands and do I need to rerun udhcpc when cell connectively was lost and restored again?
Would really appreciate some sample code that does this network management.
Thanks