Power on the module
Query SIM card
status by AT+CPIN?
Query SIM Card Status:
Execute AT+CPIN/AT+QINISTAT,
reboot the module if AT+CPIN? failed
to find SIM card in 20s.
Recommended Power on/off:
1. Power off: Send AT command
AT+QPOWD=1, then cut off power
after 12s.
2. Power on: Keep power key as low for
2s, then pull to high.
Query CS service
by AT+CREG?
CS Service:
1. <stat> of AT+CREG? equals to 1 or 5,
means the module has registered to CS
domain service.
2. Reboot the module if failed to register
to CS domain service in 90s.
Activate PDP context by
AT+QIACT=<contextID>
and AT+QIACT?
Activate PDP Context:
1. Activate PDP context by
AT+QIACT=<contextID>.
2. Query IP address of PDP context
by AT+QIACT?.
Notes:
a) All above commands should be
executed together in sequence.
b) Reboot the module if there is no
response for AT+QIACT in 150s.
c) If failed to deactivate PDP
context for 3 times, then reboot the
module.
3. Deactivate PDP context:
Reboot the module if there is no
response for AT+QIDEACT in 40s.
Open connection
by AT+QIOPEN
Send data by
AT+QISEND=<connectID>
Query sending
ACK by AT+QISEND=
<connectID>,0
Close connection
by AT+QICLOSE=
<connectID>
Deactivate
PDP context by
AT+QIDEACT=
<contextID>
Register to CS domain service in 60s
If failed to register to CS
domain service in 90s,
then reboot the module.
Find SIM card
Succeed to activate PDP context
Reboot the module if there is
no response in 10s.
+QIOPEN: <connectID>,<err>
Get ACK
in 90s
PS Service:
1. <stat> of AT+CGREG? equales to 1 or
5, means the module has registered to PS
domain service.
2. Go to next step no matter register to PS
domain service or not in 60s.
If failed to find SIM card in
20s, then reboot the module.
1. Reboot the module if
there is no response in 150s.
2. If failed to deactivate
PDP context for 3 times,
then reboot the module.
Notes:
1. Please note that you need to wait for the final response (for example OK, CME error, CMS error) of the last AT command you entered before
you enter the next AT command. You can reboot the module if the module failed to get response in 60s.
2. Reboot the module if the module has not got response of AT+QIACT in 150s or response of AT+QICLOSE in 10s and AT+QIDEACT in 40s .
3. When you constantly failed to restart for 3 times, you can restart immediately for the first time after that, if it still fails, you should restart after
10 minutes for the second time, and restart after 30 minutes for the third time, 1 hour for the fourth time, etc..
Query PS service in 60s by
AT+CGREG?
Fail to activate
PDP context
1. Fail to open connection
continuously for 5 times.
2. There is no response in 150s.
Fail to get ACK in 90s
OK
Succeed to
deactivate
PDP
context
Reboot the
module if
there is no
response in
40s.
Open Connection:
1. If failed to get response of AT+QIOPEN in 150s, then
close connection.
2. If failed to open connection for 5 times, deactivate PDP
context, then re-activate PDP context and open connection
again.
Send AT command and wait for the module to response OK
TCP Connection Maintenance and Detection:
1. Send data by AT+QISEND =<connectID>[,<send_length>].
It is recommended to periodically send a small data packet to the remote
end to maintian and detect the TCP connection.
2. Query sending ACK by AT+QISEND=<connectID>.
If the package is still not acknowledged after two minutes (query every 5
seconds, 24 times in total), the TCP connection may be abnormal,
execute AT+QICLOSE to close the current connection, and then execute
AT+QIOPEN to re-establish the TCP connection.
Configure PDP context and Qos by
AT+QICSGP/AT+CGQREQ/
AT+CGEQREQ/AT+CGQMIN/
AT+CGEQMIN
Configure PDP Context:
1. Configure APN, user name, password
and auth type by AT+QICSGP.
2. Configure QoS settings by
AT+CGQMIN/AT+CGEQMIN/
AT+CGQREQ/AT+CGEQREQ.