Specifications

AT Command Set Reference
Ver. 1.00
GSM1308AT001 Page 392 Ver. 1.00 – 10/29/2008
4.16.20 $UDPMSG Send and Receive UDP Messages
(continued)
Notes Data received from OTA shall be sent to the
modem's serial port as:
$UDPMSG: <text> (ASCII or Binary data)
(NOTE: Binary message will be displayed
as two ASCII Hex characters
<data> field from the at$udpmsg command
will be sent to IP address(es)
listed in the $FRIEND command and at
port number defined by $UDPAPI
command.
<data> sent or received OTA shall be
appended with a 4-byte UDP-API header as
follows:
Bytes 0 - 1: First 2 bytes of <data> field
Byte 2: 0x06 for ASCII data type or 0x07
for Binary data type
Byte 3: reserved
Byte 4 - n: <data> minus the first two bytes
* A minimum of 2 and maximum of 250
ASCII characters are support. For HEX, a
minimum of 2 and maximum of 125 bytes
are supported.