"S" Server (Listening) mode. Maestro modem will open a listening UDP connection socket on
the specified <port>. UDP connection will be active upon getting socket connection request
from an allowed remote UDP peer specified in <address>.
"C" Client (Caller) mode. Maestro modem will request a UDP connection to the server UDP
socket with the specified <address> and <port>.
<address> IP address of the UDP socket. Default value is empty. 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 UDP 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.
<UDPTxDelay> delay introduced before sending a UDP frame that has not been entirely filled with user data. Default
value is 0.
0 UDP 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 UDP frame.
<UART> define the UART where the socket will applies
0 UDP socket settings for the main Serial port, default value.
1 UDP socket settings for the USB COM port.
Example:
Command Response
AT+IPUDP? +IPUDP: 0,"S","",0
OK
AT+IPUDP=23 OK
Note: set the UDP port to 23.
AT+IPUDP=23,"C","202.144.111.222",0 OK
Note: set the modem to connect UDP socket Client (Caller)
mode to target address 202.144.111.222 on port 23.
AT+IPUDP=23,"S","255.255.255.255",0 OK
Note: set the modem to wait for UDP socket connection request
(Server mode) with any calling IP address allowed, port 23.
AT+IPUDP=? +IPUDP: (0-65535),("C","S"),(120),(0-1)
OK
2.2.3 Socket buffer parameters
AT+IPBUFF
To specify the number of bytes of payload data, from remote peer, buffered inside the modem when using automatic
or AT command driven TCP/UDP connection.
– If the quantity of buffered data reaches this value, the whole buffered data will be sent out to the serial port.
– If the data from remote is large enough at one time, only a multiple of this value will be sent out to the serial
port remaining data will be kept inside buffer.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
21