Changes

m
Protected "Mobile data connection troubleshooting" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Line 19: Line 19:  
  ...
 
  ...
 
----
 
----
* 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:
+
* 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.  
 
  ...
 
  ...
 
  ATE1
 
  ATE1
 
  OK
 
  OK
 +
...
 +
----
 +
* Use commands '''AT+QCSQ=0''' and '''AT+CREG=0''' to stop showing unnecessary output:
 +
...
 
  at+qcsq=0
 
  at+qcsq=0
 
  OK
 
  OK
Line 35: Line 39:  
  ...
 
  ...
 
----
 
----
 +
 
==Debugging process==
 
==Debugging process==
 
* If PIN is required, initialize modem with your PIN code:
 
* If PIN is required, initialize modem with your PIN code:
Line 46: Line 51:  
  +CPIN: READY
 
  +CPIN: READY
 
  ...
 
  ...
 
+
'''Note:''' reboot the module if it fails to identify SIM
'''Note:''' Reboot the module if it fails to identify SIM
   
----
 
----
* Use command '''AT+CREG''' to check GSM connection:
+
*Use command '''AT+CREG''' to check GSM connection:
 
  ...
 
  ...
 
  AT+CREG?
 
  AT+CREG?
Line 55: Line 59:  
  OK
 
  OK
 
  ...
 
  ...
   
'''Note:''' OK means that the module has registered on CS domain service
 
'''Note:''' OK means that the module has registered on CS domain service
 
----
 
----
Line 64: Line 67:  
  OK
 
  OK
 
  ...
 
  ...
   
'''Note:''' OK means that the module has registered in UMTS/LTE network  
 
'''Note:''' OK means that the module has registered in UMTS/LTE network  
 
----
 
----
* Configure APN, user name, password and auth type by AT+QICSGP
+
* Use command '''AT+QICSGP''' to configure APN, user name, password and auth type:
 +
AT+QICSGP=<contextID>[,<context_type>,<APN>[,<username>,<password>)[,<authentication>]]]
 +
 
 +
''<context type>'' The protocol type (1 – IPV4; 2 – IPv6);
 +
 
 +
''<context id>'' The range is 1-16;
 +
 
 +
''<authentication>'' The authentication methods (0 – NONE; 1 – PAP; 2 – CHAP; 3-PAP or CHAP).
 +
 
 +
Example: '''AT+QICSGP=1,1,"APN_Name","","",1'''
 
  ...
 
  ...
  AT+QICSGP=<contextID>[,<context_type>,<APN>[,<username>,<password>)[,<authentication>]]]
+
  AT+QICSGP=1,1"bangapro","","",1
<context type> The protocol type (1 – IPV4; 2 – IPv6).
+
OK
<context id> The range is 1-16.
  −
<authentication> The authentication methods (0 – NONE; 1 – PAP; 2 – CHAP; 3-PAP or CHAP).
  −
Example: AT+QICSGP=1,1,"APN_Name","","",1  
   
  ...
 
  ...
 
----
 
----
Line 88: Line 96:  
  OK
 
  OK
 
  ...
 
  ...
   
'''Note:''' try and activate a PDP context a few times. If failed, then reboot the module.
 
'''Note:''' try and activate a PDP context a few times. If failed, then reboot the module.
 
----
 
----
Line 96: Line 103:  
  OK
 
  OK
 
  ...
 
  ...
   
'''Note:''' if failed – deactivate PDP context - use command '''AT+QIDEACT=<context ID>''' to deactivate PDP context.
 
'''Note:''' if failed – deactivate PDP context - use command '''AT+QIDEACT=<context ID>''' to deactivate PDP context.
 
----
 
----
Line 110: Line 116:  
  ...
 
  ...
   −
*1 –The context ID. The range is 1-16;
+
''1'' –The context ID. The range is 1-16;
*8.8.8.8 - The host address in string type. The format is a dotted decimal IP address.
+
 
Response:
+
''8.8.8.8'' - The host address in string type.
• If ping a remote server successfully, response: OK (means that the module works properly)
+
 
If there is any error, response: ERROR (means the problem is in the module)
+
'''Note:''' if ping a remote server successfully, response is '''OK''' (means that the module works properly). If there is any error, response is '''ERROR''' (means the problem is in the module).
 +
 
 +
==Example for the provided configuration==
 +
...
 +
root@Teltonika:~# ifdown ppp
 +
root@Teltonika:~# /etc/init.d/gsmd stop
 +
root@Teltonika:~# microcom /dev/modem_cmd
 +
+QCSQ: "LTE",47,-75,166,-10
 +
+QCSQ: "LTE",47,-75,161,-10
 +
+QCSQ: "LTE",47,-75,156,-10
 +
+CREG: 1,"008B","012CD17",7
 +
AT+QCSQ=0
 +
OK
 +
+CREG: 1,"008B","012CD0D",7
 +
+CREG: 1,"008B","012CD17",7
 +
AT+CREG=0
 +
OK
 +
AT
 +
OK
 +
...
   −
Example fo the provided configuration:
+
...
 +
AT+CPIN?
 +
+CPIN: READY
 +
OK
 +
AT+CREG
 +
OK
 +
AT+CREG?
 +
+CREG: 0,1
 +
OK
 +
AT+CREG
 +
OK
 +
AT+CGREG?
 +
+CGREG: 0,1
 +
OK
 +
AT+QICSGP=1,1"bangapro","","",1
 +
OK
 +
AT+QIACT=1
 +
OK
 +
AT+QIACT?
 +
+QIACT: 1,1,1,"88.77.66.55"
 +
OK
 +
...
 +
 
 +
...
 +
AT+QIOPEN
 +
OK
 +
AT+QPING=1,"8.8.8.8"
 +
OK
 +
+QPING: 0,"8.8.8.8",32,54,255
 +
+QPING: 0,"8.8.8.8",32,30,255
 +
+QPING: 0,"8.8.8.8",32,35,255
 +
+QPING: 0,"8.8.8.8",32,34,255
 +
+QPING: 0,4,4,0,30,54,37
 +
...
0

edits

Navigation menu