Jump to content

Mobile data connection troubleshooting: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 19: Line 19:
  ...
  ...


* Most likely you will not see anything and that’s because screen echo might be disabled. '''ATE1''' command will enable it so that you can see what you write. '''at+qcsq=0''' and '''at+creg=0''' command stops showing unnecessary output:  
* You probably won't see anything when you type commands, and that’s because the screen echo may be disabled. '''ATE1''' command will enable it so that you can see what you write. '''AT+QCSQ=0''' and '''AT+CREG=0''' command stops showing unnecessary output:  
  ...
  ...
  ATE1
  ATE1
Line 29: Line 29:
  ...
  ...


* Check communication (wait for the module to respond OK):
* Check communication (wait for the module to respond '''OK'''):
  ...  
  ...  
  AT
  AT
Line 36: Line 36:


==Debugging process==
==Debugging process==
* Query SIM card status:
* If PIN is required, initialize modem with your PIN code:
• AT+CPIN?
...
5. If PIN is required, initialize modem with your PIN code:
AT+CPIN="xxxx"
AT+CPIN="xxxx"
...
6. Check SIM card status again (Reboot the module if it fails to identify SIM):
 
AT+CPIN?
* Use command '''AT+CPIN''' to query SIM card status:
7. Check GSM connection (OK means that the module has registered on CS domain service):
...
AT+CREG
AT+CPIN?
8. Check PS Service (OK means that the module has registered in UMTS/LTE network)
+CPIN: READY
• AT+CGREG
...
 
'''Note:''' Reboot the module if it fails to identify SIM
* Use command '''AT+CREG''' to check GSM connection:
...
AT+CREG?
+CREG: 0,1
OK
...
 
'''Note:''' OK means that the module has registered on CS domain service
 
* Use command '''AT+CGREG''' to check PS Service:
...
AT+CGREG?
+CGREG: 0,1
OK
...
 
'''Note:''' OK means that the module has registered in UMTS/LTE network  
 
9. Configure APN, user name, password and auth type by AT+QICSGP
9. Configure APN, user name, password and auth type by AT+QICSGP
• AT+QICSGP=<contextID>[,<context_type>,<APN>[,<username>,<password>)[,<authentication>]]]
• AT+QICSGP=<contextID>[,<context_type>,<APN>[,<username>,<password>)[,<authentication>]]]