Example:
Command Response
AT+IPCONNECT=1,1 OK
Note: Activating IP connection success.
AT+IPCONNECT=1,1 +CME ERROR: 3
Note: Operation not allowed.
AT+IPCONNECT=1,1 +CME ERROR: 149
Note: PDP authentification failure
AT+IPCONNECT=1,0 OK
Note: Deactivating IP connection success.
AT+IPCONNECT? +IPCONNECT: 1,0
OK
AT+IPCONNECT=? +IPCONNECT: (0-1),(0-1)
OK
Note:
– Before connecting to IP make sure to:
• Enter APN settings by AT+IPGPRS command detailed in Section 2.1.1 on page 17.
• It is suggested, after modem power up, to wait for about 20 seconds before initiating a IP connection.
– When reading +IPCONNECT, the command may answer +IPCONNECT: 1,3, this means the modem is still
trying to connect. Please wait a few seconds and check again.
2.2 TCP/UDP Parameters Setup
The following commands need to be set to use automatic or AT command driven TCP/UDP connection:
– AT+IPTCP
– AT+IPUDP
– AT+IPBUFF
2.2.1 TCP socket parameters
AT+IPTCP
To specify TCP socket parameters to be used by automatic or AT command driven TCP connection, detailed in the
Chapter 3.
Syntax: AT+IPTCP=<port>,<mode>,<address>,<TCPTxDelay>,<UART>
Response: +IPTCP: <port>,<mode>,<address>,<TCPTxDelay>,<UART>
Defined Values:
<port> port number to be used for the TCP socket connection. Default value is 0. Valid range is 0 to 65535.
<mode> mode of TCP operation. Default value is "S".
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
19