PLS62-W, SIM CARD Policy does NOT include LTE | Thales IoT Developer Community
November 15, 2021 - 2:42pm, 1511 views
Hi,
If we change our sim policy, to only include 2G and 3G and exclude LTE, we are seeing this weird behavior where the network and packet domain allow registration, but we get registration denied after a short time. We are not forcing the ****m to use a particular RAT technology, as we need the same firmware to work with all other devices and sims. I believe in this case the ****m would prefer LTE over 3G and 3G over 2G.
Why is this happening? What is the ****m trying to do? Is it trying to upgrade its 3G connection to LTE and then we are getting kicked out of network? How can we fix this so it works with all types of sim policies?
[2021-11-15 10:35:33] Modem:Rx: +CREG: 5,"0055","00A012A8",6
[2021-11-15 10:35:34] Modem:Rx: +CGREG: 5
[2021-11-15 10:35:34] Modem:Tx: AT+CGATT=1
Modem:Rx: OK [2021-11-15 10:35:35]
[2021-11-15 10:35:35] Modem:Tx: AT^SICA=1,1
Modem:Rx: OK [2021-11-15 10:35:35]
[2021-11-15 10:35:36] Modem:Rx: +CGEV: ME PDN ACT 1
[2021-11-15 10:35:37] Modem:WaitAttach
[2021-11-15 10:35:37] Modem:Tx: AT+CSQ
Modem:Rx: +CSQ: 18,99 [2021-11-15 10:35:37]
[2021-11-15 10:35:38] Modem:Rx: OK
[2021-11-15 10:35:38] Modem: Cinterion Model: PLS62 Revision: 02.010 A-Revision: 01.000.05
[2021-11-15 10:35:38] Modem: ICCID: 8931081021025233582
[2021-11-15 10:35:39] Modem:PostConfig
[2021-11-15 10:35:39] Modem:Tx: AT+COPS?
Modem:Rx: +COPS: 0,0,"3 UK",2 [2021-11-15 10:35:40]
[2021-11-15 10:35:40] Modem:Rx: OK
[2021-11-15 10:35:40] Modem:Tx: AT^SISX="HostByName",1,"########"
Modem:Rx: ^SISX: "HostByName", "######### " [2021-11-15 10:35:41]
[2021-11-15 10:35:42] Modem:Rx: OK
[2021-11-15 10:35:42] Modem:Tx: AT^SCFG="Tcp/WithURCs","on"
Modem:Rx: ^SCFG: "Tcp/WithURCs","on" [2021-11-15 10:35:43]
[2021-11-15 10:35:43] Modem:Rx: OK
[2021-11-15 10:35:43] Modem:Tx: AT^SMONI=255
Modem:Rx: ^SMONI: 3G,10564,175 [2021-11-15 10:35:43]
[2021-11-15 10:35:44] Modem:Rx: OK
[2021-11-15 10:35:44]
[2021-11-15 10:35:44] Connection Type:3G
[2021-11-15 10:35:45] RSSI: -77
[2021-11-15 10:35:45] smaller than -100 is poor, only valid for 2G
[2021-11-15 10:35:45] NetLAC: 0055 CellID: 0A012A8 MNC: 20 MCC: 234
[2021-11-15 10:35:46] RSCP: -82
[2021-11-15 10:35:46] smModem:Rx: +CGREG: 4
[2021-11-15 10:35:47] Modem:Rx: +CREG: 3
[2021-11-15 10:35:47] Modem:Rx: +CEREG: 3
[2021-11-15 10:35:48] Modem:Tx: AT^SISO=0
Modem:Error:ServerDown [2021-11-15 10:35:48]
[2021-11-15 10:35:48] Modem:Rx: +CME ERROR: 3
[2021-11-15 10:35:48] Modem:Error:CMEError
[2021-11-15 10:35:49] Modem:Tx: AT^SISC=0
Modem:Rx: OK [2021-11-15 10:35:49]
[2021-11-15 10:35:49] Modem:Tx: AT^SMSO
Modem:Rx: ^SMSO: MS OFF [2021-11-15 10:35:50]
[2021-11-15 10:35:50] Modem:Rx: OK
[2021-11-15 10:35:50] Modem:Rx: ^SHUTDOWN
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Below is the full list of AT commands sent:
[2021-11-15 10:34:33] Modem:PowerOn at 279974073.477
[2021-11-15 10:34:35] Modem:Ignition
[2021-11-15 10:34:40] Modem:Rx: ^SYSLOADING
[2021-11-15 10:34:41] Modem:Rx: ^SYSSTART
[2021-11-15 10:34:41] Modem:Tx: ATE0
Modem:Rx: ATE0 [2021-11-15 10:34:41]
[2021-11-15 10:34:42] Modem:Rx: OK
[2021-11-15 10:34:42] Modem:CommonPreConfig
[2021-11-15 10:34:43] Modem:Tx: AT\Q3
Modem:Rx: OK [2021-11-15 10:34:43]
[2021-11-15 10:34:43] Modem:Tx: AT+CMEE=1
Modem:Rx: OK [2021-11-15 10:34:44]
[2021-11-15 10:34:44] Modem:Tx: AT+CREG=2
Modem:Rx: OK [2021-11-15 10:34:44]
[2021-11-15 10:34:44] Modem:Tx: AT+CREG?
Modem:Rx: +CREG: 2,0 [2021-11-15 10:34:44]
[2021-11-15 10:34:45] Modem:Rx: OK
[2021-11-15 10:34:45] Modem:Tx: ATI1
Modem:Rx: Cinterion [2021-11-15 10:34:45]
[2021-11-15 10:34:46] Modem:PreConfigLTE
[2021-11-15 10:34:46] Modem:Rx: PLS62
[2021-11-15 10:34:46] Modem:Rx: REVISION 02.010
[2021-11-15 10:34:46] Modem:Rx: A-REVISION 01.000.05
[2021-11-15 10:34:46] Modem:Rx: OK
[2021-11-15 10:34:47] Modem:Tx: AT+CPIN?
Modem:Rx: +CPIN: READY [2021-11-15 10:34:47]
[2021-11-15 10:34:48] Modem:Rx: OK
[2021-11-15 10:34:48] Modem:Tx: AT^SCFG="GPRS/AutoAttach","enabled"
Modem:Rx: ^SCFG: "GPRS/AutoAttach","enabled" [2021-11-15 10:34:49]
[2021-11-15 10:34:49] Modem:Rx: OK
[2021-11-15 10:34:49] Modem:Tx: AT+CGREG=1
Modem:Rx: OK [2021-11-15 10:34:50]
[2021-11-15 10:34:50] Modem:Tx: AT+CEREG=1
Modem:Rx: OK [2021-11-15 10:34:50]
[2021-11-15 10:34:50] Modem:Tx: AT+CGREG?
Modem:Rx: +CGREG: 1,4 [2021-11-15 10:34:51]
[2021-11-15 10:34:51] Modem:Rx: OK
[2021-11-15 10:34:51] Modem:Tx: AT+CEREG?
Modem:Rx: +CEREG: 1,4 [2021-11-15 10:34:51]
[2021-11-15 10:34:52] Modem:Rx: OK
[2021-11-15 10:34:52] Modem:Tx: AT+CGModem:Rx: +PBREADY
[2021-11-15 10:35:05] Modem:Tx: AT^SAD=11
Modem:Rx: ^SAD: 11 [2021-11-15 10:35:05]
[2021-11-15 10:35:05] Modem:Rx: OK
[2021-11-15 10:35:06] Modem:Tx: AT^SGAUTH=1,0,"",""
Modem:Rx: OK [2021-11-15 10:35:07]
[2021-11-15 10:35:07] Modem:Tx: AT+CGDCONT=1,"IP","intelligence.m2m"
Modem:Rx: OK [2021-11-15 10:35:07]
[2021-11-15 10:35:08] Modem:Tx: AT^SISS=0,srvType,"Socket"
Modem:Rx: OK [2021-11-15 10:35:08]
[2021-11-15 10:35:09] Modem:Tx: AT^SISS=0,conId,1
Modem:Rx: OK [2021-11-15 10:35:09]
[2021-11-15 10:35:09] Modem:Tx: AT^SISS=0,"address","socktcp://####;etx;timer=100"
Modem:Rx: OK [2021-11-15 10:35:1
[2021-11-15 10:35:10] Modem:Tx: AT^SCFG="tcp/IRT","3"
Modem:Rx: ^SCFG: "Tcp/IRT","3" [2021-11-15 10:35:11]
[2021-11-15 10:35:11] Modem:Rx: OK
[2021-11-15 10:35:12] Modem:Tx: AT^SCFG="tcp/MR","15"
Modem:Rx: ^SCFG: "Tcp/MR","15" [2021-11-15 10:35:12]
[2021-11-15 10:35:12] Modem:Rx: OK
[2021-11-15 10:35:12] Modem:Tx: AT^SCFG="tcp/OT","6000"
Modem:Rx: ^SCFG: "Tcp/OT","6000" [2021-11-15 10:35:13]
[2021-11-15 10:35:14] Modem:Rx: OK
[2021-11-15 10:35:14] ModeModem:Tx: AT^SCFG="GPIO/****/RING0","std"
ModeModem:Tx: AT&C2 [2021-11-15 10:35:15]
Modem:Rx: OK [2021-11-15 10:35:15]
[2021-11-15 10:35:15] Modem:Tx: AT&Modem:Rx: +CGEV: NW CLASS A
[2021-11-15 10:35:33] Modem:Rx: +CREG: 5,"0055","00A012A8",6
[2021-11-15 10:35:34] Modem:Rx: +CGREG: 5
[2021-11-15 10:35:34] Modem:Tx: AT+CGATT=1
Modem:Rx: OK [2021-11-15 10:35:35]
[2021-11-15 10:35:35] Modem:Tx: AT^SICA=1,1
Modem:Rx: OK [2021-11-15 10:35:35]
[2021-11-15 10:35:36] Modem:Rx: +CGEV: ME PDN ACT 1
[2021-11-15 10:35:37] Modem:WaitAttach
[2021-11-15 10:35:37] Modem:Tx: AT+CSQ
Modem:Rx: +CSQ: 18,99 [2021-11-15 10:35:37]
[2021-11-15 10:35:38] Modem:Rx: OK
[2021-11-15 10:35:38] Modem: Cinterion Model: PLS62 Revision: 02.010 A-Revision: 01.000.05
[2021-11-15 10:35:38] Modem: ICCID: 8931081021025233582
[2021-11-15 10:35:39] Modem:PostConfig
[2021-11-15 10:35:39] Modem:Tx: AT+COPS?
Modem:Rx: +COPS: 0,0,"3 UK",2 [2021-11-15 10:35:40]
[2021-11-15 10:35:40] Modem:Rx: OK
[2021-11-15 10:35:40] Modem:Tx: AT^SISX="HostByName",1,"########"
Modem:Rx: ^SISX: "HostByName", "######### " [2021-11-15 10:35:41]
[2021-11-15 10:35:42] Modem:Rx: OK
[2021-11-15 10:35:42] Modem:Tx: AT^SCFG="Tcp/WithURCs","on"
Modem:Rx: ^SCFG: "Tcp/WithURCs","on" [2021-11-15 10:35:43]
[2021-11-15 10:35:43] Modem:Rx: OK
[2021-11-15 10:35:43] Modem:Tx: AT^SMONI=255
Modem:Rx: ^SMONI: 3G,10564,175 [2021-11-15 10:35:43]
[2021-11-15 10:35:44] Modem:Rx: OK
[2021-11-15 10:35:44]
[2021-11-15 10:35:44] Connection Type:3G
[2021-11-15 10:35:45] RSSI: -77
[2021-11-15 10:35:45] smaller than -100 is poor, only valid for 2G
[2021-11-15 10:35:45] NetLAC: 0055 CellID: 0A012A8 MNC: 20 MCC: 234
[2021-11-15 10:35:46] RSCP: -82
[2021-11-15 10:35:46] smModem:Rx: +CGREG: 4
[2021-11-15 10:35:47] Modem:Rx: +CREG: 3
[2021-11-15 10:35:47] Modem:Rx: +CEREG: 3
[2021-11-15 10:35:48] Modem:Tx: AT^SISO=0
Modem:Error:ServerDown [2021-11-15 10:35:48]
[2021-11-15 10:35:48] Modem:Rx: +CME ERROR: 3
[2021-11-15 10:35:48] Modem:Error:CMEError
[2021-11-15 10:35:49] Modem:Tx: AT^SISC=0
Modem:Rx: OK [2021-11-15 10:35:49]
[2021-11-15 10:35:49] Modem:Tx: AT^SMSO
Modem:Rx: ^SMSO: MS OFF [2021-11-15 10:35:50]
[2021-11-15 10:35:50] Modem:Rx: OK
[2021-11-15 10:35:50] Modem:Rx: ^SHUTDOWN
[2021-11-15 10:35:56] Modem:SwitchOff after 82.676 next session in 300
Hello,
What happens next - does the module register again or not? CREG 3 suggests registration denial from the network. Please send AT+CEER just after this happens. Please try to set AT^SXRAT=1 on start.
BR,
Bartłomiej
If we wait, the module will *********** back with the same cell and stay connected.
If we try to force a UMTS connection with AT^SXRAT=2, the module will also stay connected. This will also disable the handovers.
So my guess is that the handovers are causing issues, the modem is trying to upgrade to LTE and then coming back to 3G again?
Hello,
Actually it is hard to say what really happens. To be sure we'd have to capture traces from the module which is only possible with the internal tools. What you could do to investigate it would be to check AT+CEER output after the deregistration to possibly see any error and activate some additional diagnostic URCs with AT^SIND command like for instance "service", "roam", "psinfo", "simtray", "lsta", "simdata", "rssi".
At least it seems that this happens only once and then the module stays registered.
Could you also elaborate a bit more about what you mean by changing your SIM policies? Are you an MNO and SIM owner?
BTW is it a developer board or is the module already mounted in some proprietary hardware?
BR,
Bartłomiej
Hi Bartłomiej,
We are not a MNO, however we work in conjunction with one. The MNO provides hour sim cards.
We use PLS62-W Evaluation Board REL 1.
The sims are unsteered roaming sim which is capable of connecting to several networks. some of these networks are barred for LTE connections and only allow 2G and 3G connections. if the ****m attempts to establish an LTE registration the network will respond with "registration denied".
Essentially they offer different plans which will restrict access to some networks, therefore different pricing will apply accordingly.
It is confusing because it is registering with a network and then we get registration denied CREG:3.
I enabled some more URCs.
[29/11/21 - 13:20:17:455] Modem:PowerOn at 281193617.240
[29/11/21 - 13:20:17:487] Network Status: 4, Active nodes: 0
[29/11/21 - 13:20:18:955] Modem:Ignition
[29/11/21 - 13:20:24:065] Modem:Rx: ^SYSLOADING
[29/11/21 - 13:20:25:615] Modem:Rx: ^SYSSTART
Modem:Tx: ATE0
[29/11/21 - 13:20:25:918] Modem:Rx: ATE0
[29/11/21 - 13:20:25:919] Modem:Rx: OK
[29/11/21 - 13:20:26:047] Modem:CommonPreConfig
Modem:Tx: AT\Q3
[29/11/21 - 13:20:26:573] Modem:Rx: OK
Modem:Tx: AT+CMEE=1
[29/11/21 - 13:20:27:052] Modem:Rx: OK
Modem:Tx: AT+CREG=2
[29/11/21 - 13:20:27:403] Modem:Rx: OK
Modem:Tx: AT+CREG?
[29/11/21 - 13:20:27:548] Modem:Rx: +CREG: 2,0
[29/11/21 - 13:20:27:563] Modem:Rx: OK
Modem:Tx: AT^SIND="lsta",1
[29/11/21 - 13:20:27:724] Modem:Rx: ^SIND: lsta,1,11
[29/11/21 - 13:20:27:724] Modem:Rx: OK
Modem:Tx: AT^SIND="simdata",1
[29/11/21 - 13:20:27:881] Modem:Rx: ^SIND: simdata,1
[29/11/21 - 13:20:27:883] Modem:Rx: OK
Modem:Tx: AT^SIND="rssi",1
[29/11/21 - 13:20:28:029] Modem:Rx: ^SIND: rssi,1,99
[29/11/21 - 13:20:28:041] Modem:Rx: OK
Modem:Tx: AT
[29/11/21 - 13:20:28:171] Modem:Rx: OK
Modem:Tx: AT^SIND="psinfo",1
[29/11/21 - 13:20:28:315] Modem:Rx: ^SIND: psinfo,1,0
[29/11/21 - 13:20:28:328] Modem:Rx: OK
Modem:Tx: AT^SIND="roam",1
[29/11/21 - 13:20:28:475] Modem:Rx: ^SIND: roam,1,0
[29/11/21 - 13:20:28:475] Modem:Rx: OK
Modem:Tx: AT^SIND="service",1
[29/11/21 - 13:20:28:633] Modem:Rx: ^SIND: service,1,0
[29/11/21 - 13:20:28:633] Modem:Rx: OK
Modem:Tx: ATI1
[29/11/21 - 13:20:28:809] Modem:Rx: Cinterion
[29/11/21 - 13:20:28:810] Modem:PreConfigLTE
[29/11/21 - 13:20:28:810] Modem:Rx: PLS62
[29/11/21 - 13:20:28:811] Modem:Rx: REVISION 02.010
[29/11/21 - 13:20:28:811] Modem:Rx: A-REVISION 01.000.05
[29/11/21 - 13:20:28:812] Modem:Rx: OK
[29/11/21 - 13:20:46:740] Modem:Rx: +PBREADY
[29/11/21 - 13:20:48:131] Modem:Rx: +CIEV: rssi,99
Modem:Tx: AT^SAD=11
[29/11/21 - 13:20:48:767] Modem:Rx: ^SAD: 11
[29/11/21 - 13:20:48:768] Modem:Rx: OK
Modem:Tx: AT^SGAUTH=1,0,"",""
[29/11/21 - 13:20:48:931] Modem:Rx: OK
Modem:Tx: AT+CGDCONT=1,"IP","###"
[29/11/21 - 13:20:49:086] Modem:Rx: OK
Modem:Tx: AT^SISS=0,srvType,"Socket"
[29/11/21 - 13:20:49:405] Modem:Rx: OK
Modem:Tx: AT^SISS=0,conId,1
[29/11/21 - 13:20:49:581] Modem:Rx: OK
[29/11/21 - 13:20:49:667] Modem:Rx: +CREG: 5,"560C","00076F0A",6
[29/11/21 - 13:20:49:668] Modem:Rx: +CIEV: service,1
[29/11/21 - 13:20:49:668] Modem:Rx: +CIEV: roam,1
[29/11/21 - 13:20:49:669] Modem:Rx: +CIEV: psinfo,9
Modem:Tx: AT^SISS=0,"address","###:###;etx;timer=100"
[29/11/21 - 13:20:49:768] Modem:Rx: OK
[29/11/21 - 13:20:49:866] Modem:Rx: +CIEV: psinfo,10
Modem:Tx: AT^SCFG="tcp/IRT","3"
[29/11/21 - 13:20:49:929] Modem:Rx: ^SCFG: "Tcp/IRT","3"
[29/11/21 - 13:20:49:930] Modem:Rx: OK
[29/11/21 - 13:20:50:010] Modem:Rx: +CIEV: rssi,3
Modem:Tx: AT^SCFG="tcp/MR","15"
[29/11/21 - 13:20:50:100] Modem:Rx: ^SCFG: "Tcp/MR","15"
[29/11/21 - 13:20:50:101] Modem:Rx: OK
Modem:Tx: AT^SCFG="tcp/OT","6000"
[29/11/21 - 13:20:50:247] Modem:Rx: ^SCFG: "Tcp/OT","6000"
[29/11/21 - 13:20:50:247] Modem:Rx: OK
Modem:Tx: AT+CCID?
[29/11/21 - 13:20:50:392] Modem:Rx: +CCID: 8931081021025233582
[29/11/21 - 13:20:50:407] Modem:Rx: OK
Modem:Tx: AT^SCFG="GPIO/****/DCD0","std"
[29/11/21 - 13:20:50:550] Modem:Rx: ^SCFG: "Gpio/****/DCD0","std"
[29/11/21 - 13:20:50:550] Modem:Rx: OK
Modem:Tx: AT^SCFG="GPIO/****/DTR0","std"
[29/11/21 - 13:20:50:721] Modem:Rx: ^SCFG: "Gpio/****/DTR0","std"
[29/11/21 - 13:20:50:721] Modem:Rx: OK
Modem:Tx: AT^SCFG="GPIO/****/DSR0","std"
[29/11/21 - 13:20:50:872] Modem:Rx: ^SCFG: "Gpio/****/DSR0","std"
[29/11/21 - 13:20:50:873] Modem:Rx: OK
Modem:Tx: AT^SCFG="GPIO/****/RING0","std"
[29/11/21 - 13:20:51:031] Modem:Rx: ^SCFG: "Gpio/****/RING0","std"
[29/11/21 - 13:20:51:031] Modem:Rx: OK
Modem:Tx: AT^SCFG="GPIO/****/DCD0"
[29/11/21 - 13:20:51:189] Modem:Rx: ^SCFG: "Gpio/****/DCD0","std"
[29/11/21 - 13:20:51:189] Modem:Rx: OK
Modem:Tx: AT^SCFG="GPIO/****/DTR0"
[29/11/21 - 13:20:51:334] Modem:Rx: ^SCFG: "Gpio/****/DTR0","std"
[29/11/21 - 13:20:51:349] Modem:Rx: OK
Modem:Tx: AT^SCFG="GPIO/****/DSR0"
[29/11/21 - 13:20:51:492] Modem:Rx: ^SCFG: "Gpio/****/DSR0","std"
[29/11/21 - 13:20:51:493] Modem:Rx: OK
Modem:Tx: AT^SCFG="GPIO/****/RING0"
[29/11/21 - 13:20:51:663] Modem:Rx: ^SCFG: "Gpio/****/RING0","std"
[29/11/21 - 13:20:51:665] Modem:Rx: OK
Modem:Tx: AT&C2
[29/11/21 - 13:20:51:812] Modem:Rx: OK
Modem:Tx: AT&S0
[29/11/21 - 13:20:51:961] Modem:Rx: OK
Modem:Tx: AT^SCFG="URC/Ringline/ActiveTime","1"
[29/11/21 - 13:20:52:133] Modem:Rx: ^SCFG: "Urc/Ringline/ActiveTime","1"
[29/11/21 - 13:20:52:134] Modem:Rx: OK
[29/11/21 - 13:21:00:219] Modem:Rx: +CIEV: rssi,2
[29/11/21 - 13:21:01:005] Modem:Rx: +CREG: 5,"560C","0830A782",7
[29/11/21 - 13:21:01:007] Modem:Rx: +CIEV: psinfo,16
[29/11/21 - 13:21:01:008] Modem:Rx: +CREG: 3
[29/11/21 - 13:21:01:008] Modem:Rx: +CIEV: service,0
[29/11/21 - 13:21:01:008] Modem:Rx: +CIEV: roam,0
[29/11/21 - 13:21:01:065] Modem:Rx: +CIEV: rssi,99
Modem:Tx: AT+CEER
[29/11/21 - 13:21:52:290] Modem:Rx: +CEER: "No report available"
[29/11/21 - 13:21:52:291] Modem:Rx: OK
Modem:Tx: AT^SMSO
[29/11/21 - 13:21:52:427] Modem:Rx: ^SMSO: MS OFF
[29/11/21 - 13:21:52:427] Modem:Rx: OK
[29/11/21 - 13:21:52:558] Modem:Rx: ^SHUTDOWN
Hello,
So indeed it looks like the module tries to register to 4G and gets rejected. Until you restrict RATs it can do so. If the network does not allow this connection it rejects. As I understood the module is finally able to register to 3G or 2G. If the module does not have the information that 4G is forbidden for a certain operator it will try to register. So I would say that this behavior is correct. Please also see AT+CPOL and AT+CPLS commands to check preferred operator lists stored on the SIM. Maybe you could try to create the user controlled PLMN list.
BR,
Bartłomiej