"S" Server (Listening) mode. Maestro modem will open a listening TCP connection socket on
the specified <port>. TCP connection will be active upon getting socket connection request
from an allowed remote TCP peer specified in <address>.
"C" Client (Caller) mode. Maestro modem will request a TCP connection to the server TCP
socket with the specified <address> and <port>.
<address> IP address of the TCP socket. Default value is empty. Value can be erased by entering 0. Legal values
are 32-bit in dotted-decimal notation (i.e. xxx.xxx.xxx.xxx) or alphanumeric ASCII URL string up to 120
characters (only if DNS is available on the cellular network).
Note: In "Server" (Listening) mode the modem will only accept TCP connection requested with the IP address
mask specified in the <address> field. If set to "255.255.255.255" the modem will accept ANY request.
<TCPTxDelay> delay introduced before sending a TCP frame that has not been entirely filled with user data. Default
value is 0.
0 TCP frame will be sent as soon as possible after the reception of a single character value
from the host.
1 a delay will be introduced before the sending of a TCP frame.
<UART> define the UART where the socket will apply
0 TCP socket settings for the main Serial port, default value.
1 TCP socket settings for the USB COM port.
Example:
Command Response
AT+IPTCP? +IPTCP: 0,"S","",0,0
OK
AT+IPTCP=23 OK
Note: set the TCP port to 23.
AT+IPTCP=23,"C","202.144.111.222",0 OK
Note: set the modem to connect as TCP socket Client (caller)
mode to target address "202.144.111.222" on port 23.
AT+IPTCP=23,"S","255.255.255.255",0 OK
Note: set the modem to wait for TCP socket connection request
(Server mode) with any calling IP address allowed, port 23.
AT+IPTCP=? +IPTCP: (0-65535),("C","S"),(120),(0-1)
OK
2.2.2 UDP socket parameters
AT+IPUDP
To specify UDP socket parameters to be used by automatic or AT command driven UDP connection, detailed in the
Chapter 3.
Syntax: AT+IPUDP=<port>,<mode>,<address>,<UDPTxDelay>,<UART>
Response: +IPUDP: <port>,<mode>,<address>,<UDPTxDelay>,<UART>
Defined Values:
<port> port number to be used for the UDP socket connection. Default value is 0. Valid range is 0 to 65535.
<mode> mode of UDP operation. Default value is "S".
20 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.