+KBND is showing Band 4 (Verizon band) is selected but +CGREG shows that the module is not registered but is searching. The Class 3 APN/CID is usually reserved for Verizon and as such you should only use this if using a Verizon carrier SIM. Please set +CGDCONT=1 with that APN. Let me know then if +CGATT=1 is steady and not toggling. Regards, Jon
I am just back from vacation and so just catching up today. The “Access Point Name” is necessary to establish the data call or session. Try setting the +CGDCONT= 1, “IP”, “wlapn4.com"
Yes, the Context ID’s do make a difference on some networks (i.e. Verizon and Sprint here in the U.S. use Context ID=3). Let me know if you have made any progress…
No progress thus far - could really do with a more detailed investigation.
2 different types of roaming SIM are now exhibiting the same behaviour with an HL7588.
SIMs on their home network perform OK.
We are getting CGREG:2,2 & CGREG:2,4 with automatic network selection.
Bizarrely, there is a very infrequent registration leading to a short APN session then a disconnect leading to a zero byte session. Last one was on network 310410 (AT+T).
Please advise what else we might try to diagnose this behaviour with HL7588 and SIMs not on their own network and without any of the Preferred Network Lists populated.
We are switching some of our product from using the HL8548 to the HL7588 and we hope to use the same driver but we get errors with the HL7588 for reasons not covered in the manual. In particular the setting of the APN with:
AT+CGDCONT=1,“IP”,“m2m-east.telus.iot”
+CME ERROR: Unspecified GPRS error
comes back with an error every time on the HL7588 but never on the HL8548. The only reason we are using this command is because a bunch of HL8548 modems in our devices deployed in the field last year lost their APN all around the same time… So we put this in the startup sequence for the driver to protect against a repeat “event”.
This leaves me with some ugly solutions:
don’t use the command and hope the APN never gets forgotten
query the cell modem every startup and select the appropriate commands
query the cell modem type once and preserve that flag and select different init codes appropriately
detect APN errors and set APN then
use the command and ignore the errors on the HL7588
Another command that always gets an error only on the HL7588 is:
at+ksrep=0
+CME ERROR: unknown
I ran the selection of queries mentioned above on the HL7588:
AT+CGDCONT?
+CGDCONT: 1,“IP”,“m2m-east.telus.iot”,“10.200.101.192”,0,0,0,0,0,0
OK
AT+COPS?
+COPS: 0,0,“TELUS”,7
OK
AT+CGREG?
+CGREG: 0,1
OK
AT+KSRAT?
+KSRAT: 7
OK
AT+KBND?
+KBND: 00002000
OK
AT+CGATT?
+CGATT: 1
OK