Dear All,
I would like some advice with regards to the best practice with configuring and controlling the nRF9160 M1/NB1 connection.
When working with other modems, our approach, when connecting / registering, typically involves running a specific sequence / flow of AT commands to query and (if necessary) set a range of the connection parameters. These parameters include things such as operator profiles and settings, APN configuration, and band masks etc. We also check to see if the connection is still active before attempting to send any data. This includes querying the signal quality, and testing for an active EPS / PDP context and a valid IP address.
In the existing examples it seems that most of the connection setup seems to be handled automatically, with some parameter control available via the project configuration file.
I guess the main question is whether it is recommended to allow the modem to handle the connection setup automatically, or should we attempt to control that in more detail. Similarly, to what extent should we be concerned with the maintenance of the registration/network connection or is this also handled robustly by the modem firmware / stack?