User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
11
3.3.2. AT+IPUDP command
This command specifies the UDP socket parameters and mode that to be used by automatic or AT command driven UDP
connection (described in Chapter 4 and 5).
Command Syntax
AT+IPUDP=<port>,<mode>,<server>,<UDPTxDelay>,<UART)
Response Syntax
+ IPUDP: <port>,<mode>,<server>,<UDPTxDelay>,0
+ IPUDP: <port>,<mode>,<server>,<UDPTxDelay>,1
Command
Possible responses:
AT+ IPUDP?
+IPUDP: 0,"S","",0
OK
Note : show current settings
AT+ IPUDP =23,”C”,202.144.111.222,0
OK
Note: to set the modem to connect UDP socket Client (caller)
mode
to target :address 202.144.111.222 and port 23
AT+ IPUDP =23,S”,255.255.255.255,0
OK
to set the modem to wait for UDP socket connection request
(Server (listening) mode)
any calling IP address allowed, port 23
AT+ IPUDP=?
+IPUDP: (0-65535),("C","S"),(120),(0-1)
OK
Note : possible argument
Defined Values:
<port>
The 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”.
“S” Server (Listening) mode. This configures Maestro 100 2G to open a listening UDP connection on the specified
<port> . The UDP connection will be active upon getting socket connection request from the allowed remote UDP peer
(see <address>)
“C” Client (caller) mode. This configures Maestro 100 2G to request opening a UDP connection to the server with the
specified <address> and <port> .
Note: This parameter is used by Auto UDP connection (see Chapter 4) only.
<address>
The address of the UDP server (or host). Default value is empty. Legal values could be 32-bit in dotted-decimal notation
(i.e. xxx.xxx.xxx.xxx) or alphanumeric ASCII test string up to 120 characters (only if DNS is available on the GPRS
network)
Note: In Server(Listening) mode the modem will only accept UDP connection request for the caller with address
specified in the <address> field. Yet if it is set to 255.255.255.255 the modem will accept request from ANY address.