Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
The module is required to set up a
PPP connection.
GPRS DISCONNECTION
is
returned because no SIM card is
installed or network abnormality
occurs.
+XIIC: 1, 10.232.165.29
OK
The PPP connection is set up
successfully and the IP address is
10.232.165.29
.
There are four spaces before
1
.
The PPP connection has not been set
up successfully.
There are four spaces before
0
.
PPP connection is disconnected.
Ensure that a PPP connection has been set up before you establish a TCP connection.
You can run the
+XIIC
command to check.
Use the
AT+CGDCONT
command to set the APN and other parameters before you
set up a PPP connection.
Ensure that the module has registered the network before you use the
AT+XIIC=1
command to set up PPP connection.
You can use AT+GREG?to check whether the module has registered the network or
not. If +CREG: 0,1 or +CREG: 0,5 is returned, the module has registered the
network.
3.2 Setting Up TCP connection: +TCPSETUP
To set up a TCP connection
AT+TCPSETUP=<n>,<ip>,<port><CR>
<n>: Socket number, ranging from 0 to 5
<ip>: Destination IP address, in
xx.xx.xx.xx
or domain name format
<port>: Destination port ID in decimal ASCII code
<CR><LF>+TCPSETUP:<n>,OK<CR><LF>
Or
<CR><LF>OK<CR><LF>
<CR><LF>+TCPSETUP:<n>, FAIL<CR><LF>
Or: