Attaching sim to a network LTE-M

Hi, my team and I we are trying to attach our sims to a network. We have the HL7800 and using a Truphone Simcard. RAT should be LTE-M cat-m1, the firmware we use is 4.3.8 because we want to use the band B14, and we know for that to work, the fw should be prior to 4.3.9. To be honest, we are new with AT commands, and after going thru the whole AT commands documentation. We have a few questions. Is the simcard like a plug-n-play? Do we have to configure some settings manually? Like attaching to a network, operator or carrier? Or are those automatically set? After a few attemps, these responses is all we get :

+CEREG: 0
+CEREG: 2
+CEREG: 0
+CEREG: 2
+CEREG: 3,0,15

We can’t seem the get pass the registration. Truphone supports tells us that if there is roaming capabilities on the simcard, it should be on Rogers network, we are located in Canada, Quebec. We are also using a devkit from Laird Connectivity, Pinnacle 100. Rogers network uses band B2, B4, B5, B7 and B12, we tried setting on those bands but still can’t pass the registration. If anyone can help, it would greatly be appreciated, thank you. See attached, for some more information we can share.

Hi @the67nguyen,
Currently, HL7800 doesn’t work Band 14, we cannot expect the potential problem in the further when using the olde FW on unsupported band. There’s a little inconvenience but change to another supported band for your testing is good choice. You can consider below


Set Operator selection automatic
at+cops=0

OK

You can set all bands or the specific bands for the module
at+kbndcfg? ## Check current band

+KBNDCFG: 0,00000000000000080000
+KBNDCFG: 1,0
+KBNDCFG: 2,0

OK
at+kbndcfg=0,0002000000000F0F1B9F /// Get supported network bands

+KBNDCFG: 0,0002000000000F0F1B9F

OK
In case you want to set a specific band for the module please refer to the format in hexadecimal page #67 in AirPrime - HL78xx - AT Commands Interface Guide - Rev11.pdf (1.4 MB)
Reset the module
at+cfun=1,1

Please try and share any concerns you have.
Thanks

Hi @Vianney,
Thank you for responding.

We have tried all the supproted bands already. But I went thru with your suggestions. This is what we get :

at+cimi
************** // i have hidden this for security purpose
OK
at+cops=0
ERROR
at+cops?
+COPS: 0
OK
at+kbndcfg=0,0002000000000F0F1B9F
+KBNDCFG: 0,0002000000000F0F1B9F
OK
at+cfun=1,1
OK
+CEREG: 0
+CREG: 0
+KSUP: 0
+CEREG: 2
+CREG: 0
+SIM: 0 //
at+ccid
+CCID: ************** // i have hidden this for security purpose
OK
at+ksrat? // i was making sure we are set to LTE-M CatM1
+KSRAT: 0
OK
+CEREG: 0
+CREG: 0
+CEREG: 2
+CREG: 2
+CEREG: 3,0,15
+CREG: 3,0,15
+CEREG: 3,0,15
+CREG: 3,0,15
at+ksimdet=1
OK
at+ksimsel?
+KSIMSEL: 0,1

So as you can see, the module is trying to register but gets denied at the registration, and its always like this, whatever we attempted we get denied. Also, if we get the CCID and the IMSI and with the simdet and simsel set to external, we can assume that the sim is inserted correctly and the module can read the sims information. Know the problem is why its not attaching and why we get denied?

Hi @the67nguyen,
Basing on the log, I have some suggestions

  • Ensure the input APN is correct
  • When you set all bands for the module it will take longer so pls wait for some minute to complete the registration process

Had SIM worked on the another module before? Can you verify it ?

Hi @Vianney,

How can we manually set the APN? The commands in the document are really long and i can’t understand how they work. For exemple,

AT+CGDCONT=
[[,<PDP_
type>[,
[,<PDP_addr>
[,<d_comp>
[,<h_comp>
[,
[,<request_type>
[,<P-CSCF_
discovery>[,<IM_
CN_Signalling_
Flag_Ind>
[,
[,
[,<IPv4_MTU_
discovery>]
[,<Local_Addr_
Ind>][,]
[,<Reliable_Data
_Service>]
]]]]]]]]]]]]

There are too many variable there that we don’t understand.

I don’t have another module to test the sim at the moment . We are hoping to receive other simcards soon to test on the modem.

Hi @the67nguyen,
Please try the commands below and share the responses

at+cesq

+CESQ: 99,99,255,255,34,51

OK
at+cops=?

+COPS: (1,“Test Usim”,“Test”,“00101”,7),(0-3),(0-2)

OK

+CEREG: 4

+CEREG: 1
at+cgdcont=1,“ip”,“internet” ////////with internet is your APN

OK
at+cgdcont?

+CGDCONT: 1,“IP”,“internet”,0,0,0,

+CGDCONT: 2,“IPV4V6”,0,0,0,0,0,0,

OK

1 Like