Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
95
A.8 Flowchart of AT Commands To Log In to the FTP Server
Figure A-6
Flowchart of AT commands to log in to the FTP server
Start the module
Startup code
AT\r
AT+CCID\r
AT+CSQ\r
AT+CREG?\r
AT+CGDCONT=1, "IP", "CMNET" \r
AT+XIIC=1\r
AT+XIIC?\r
3. Check whether AT commands are
available.
1. Power on the module.
2. ...
+EIND: 1
indicates that the module
is ready.
4. Read the ICCID of the SIM card.
If the module returns
ERROR
, check
whether the SIM card is inserted or
the card socket works properly.
5. Query the signal quallity.
6. Query the network registration
status.
If the module returns
+CREG: 0,1
or
+CREG: 0,5
, the SIM card registers
the network successfully.
7. CMNET is the APN of China
Mobile. APN varies with carriers.
8. Set up a PPP link.
9. Return value:
+XIIC: 1,10.232.165.29
indicates
the module sets up a PPP link
successfully.
The module IP is 10.232.165.29.
+XIIC: 0,0.0.0.0
indicates the PPP
link is not set up.
OK
ERROR
ERROR
CCID
There is signal
No signal
Registered the network
Not registered
OK
ERROR
OK
ERROR
Valid IP
Failed to obtain the
IP address
The PPP link is
set up
successfully