When we leave the APN field empty, some networks seems to auto-fill at+cgdcont and some don’t. It is hard to understand whether the user needs to explicitly set APN or not? Is there a standard way specified in 3GPP regarding APN setting? Is APN required for network registration (that seems to use default bearers) or only when trying to establish a data connection?
For example, lets say I want to set up my device (which has RC76xx modem) to just register to network and stay registered, but have data connection only sometimes during the day, as needed, like turning off/on mobile data in our cell phones. In this case, when my mobile data is off, do I need and APN still, if I just want to register to network and stay registered?
Considering the fact that different operators can have different expectations, the question is, when should the APN be set with at+cgdcont in RC76xx by the host platform? If an APN needs to be set in the RC76xx, which of these possible cases is the correct timing?
Right after bootup, before network registration
After network registration, but before activating data connection (For eg, with MBPL or QMICLI etc…)
Use APN, ‘only’ if a valid IP is not received by the network, which could mean that user specified APN is expected by the network.
And if it is recommended to set an APN in RC76xx with at+cgdcont, which CID should this APN be set to? For RC76xx, is it CID #1? or Is it network operator dependent? How does the user know?