RG255C: how to control define which PDP is enabled for connection

Hi.

Testing a RG255C-GL with RG255CGLABR01A04M4G firmware. The configuration is the default one having following PDP defined:

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,,,,,,,,,,"",,,,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,,,,,,,,,,"",,,,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,,,,,,,,,,"",,,,0

None of them is activated:

AT+CGACT?
+CGACT: 1,0
+CGACT: 2,0
+CGACT: 3,0

When connecting the modem, it first register, them establish the PDP for ‘ims’, then the default PDP (the one with index=1 in +CGDCONT):

AT+CGPADDR=1
+CGPADDR: 1,"10.101.0.100"

AT+CGPADDR=2
+CGPADDR: 2,"32.1.0.0.0.0.0.1.0.0.0.0.0.0.0.5"

I would like to control it, defining, for example, that just the first PDP should get requested and established, but I get an error:

AT+CGACT=1,1
+CME ERROR: 100

No reference for ‘CME ERROR: 100’ in AT Command documentation. Does someone know what does it mean?
It is possible to control which PDP to activate?

Br. Stefano

Dear @sbertuola
CME ERROR: 100 is unknown error.
Before activate, please check if it is activated or not.

@silvia, the CME ERROR 100 is generated when trying to activate the related PDP. Not possible to activate any PDP and control them; in any case, when connecting, the modem is first enabling the ‘ims’ PDP, then the ‘default’ one.

Through this log, the modem has automatically completed the PDP activation and obtained the IP address. Therefore, you don’t need to use the AT command to activate the PDP again

@herbert.pan-Q, the question here is how to control which PDP should be activated when starting the modem and which not. It looks there is not control on PDP activation/deactivation. For example, I would like to disable DNN=‘ims’, but it looks I cannot. And, if this PDP is not successful, them the other one (DNN ‘default’) establishment is not happening.

Dear @sbertuola
It has default one, you can try after power on and didn’t activate any PDP , then check PDP activation status.
Before activate PDP, it is better to confirm whether it is activated or not.

Dear @silvia, it doesn’t matter what is defined with +CGACT, the behavior is always the ‘default’ one. Even if, for example, PDP=1 is disabled, the modem will request the connection for it. Furthermore, in most of the cases, when trying to enable/disable the PDP with +CGACT command, ERROR message is returned.

AT+CFUN=1
OK

+CPIN: READY
+QUSIM: 1
+QIND: SMS DONE
+QIND: PB DONE

AT+CGACT?
+CGACT: 1,0
+CGACT: 2,1
+CGACT: 3,0

OK
AT+CGPADDR=1
+CGPADDR: 1,"10.101.0.100"

OK
AT+CGPADDR=2
+CGPADDR: 2,"32.1.0.0.0.0.0.1.0.0.0.0.0.0.0.5"

OK
AT+CGACT=1,1
ERROR

Dear @sbertuola
I have sent the latest firmware to your email, please check and test again.

Hi @silvia, I verified and I already had installed the latest firmware version when doing the previous testing:

AT+QGMR
RG255CGLABR01A04M4G_A0.004.A0.004

I got the correct command to verify the installed firmware from another blog thread, since it is not documented in AT Commands Manual Version: 1.0.

Dear @sbertuola
Sorry, I don’t get your point.
Did it have the same behavior? What is AT commands you mentioned?

Sorry @silvia, my message was not clear. I was looking for the AT command to verify firmware version in my modem, but I couldn’t find it in the documentation; I got it (AT+QGMR) in another post.

Anyway, verifying the firmware version of my modem is already the latest one; I didn’t need to perform any upgrade.