APN setting for RC76xx

Hi,

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?

Regards,
Sai.

Did you use MBPL to establish data connection?

I remember the sample connection manager can establish and disconnect data channel

“Establish data connection” means adding new profile to at+cgdcont list? Lets say, the modem boots up with this:

at+cgdcont?
+CGDCONT: 1,“IPV4V6”,“”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 2,“IPV4V6”,“ims”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 3,“IPV4V6”,“sos”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,1

OK

And when an attempt to establish data connection is made, does it add new entry to at+cgdcont? like CID #4 or something?

No, i don’t think so

I remember in MBPL connection manager application, you can choose which profile to use for data establishment

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?

  1. Right after bootup, before network registration
  2. After network registration, but before activating data connection (For eg, with MBPL or QMICLI etc…)
  3. 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?

Regards,
Sai.

Yes, it is network dependent, you need to check with network operator

For example, I have one SIM card here, even without correct APN in AT+CGDCONT, it can still register network in AT!GSTATUS?.

Which SIM is that? Is it in RC7620 or RC7611?

I tested with rc7620