At$Udpmsg Send And Receive Udp Messages - Novatel MT 3050 At Command Reference

Table of Contents

Advertisement

AT$UDPMSG Send And Receive UDP Messages

AT$UDPMSG
Command Function
Syntax Query
Syntax
Write Syntax
Write Response
Read Syntax
Read Response
Execute Syntax
Execute Response
Unsolicited Response
Parameter Values
<format>
<type> 
Send and Receive UDP Messages
This command allows the user to send UDP/IP data packets while in AT command
mode. The destination IP address is set by the $friend command while the port
number is set by the $udpapi command. The modem must have a network data
connection established ($areg=2 command setting).
Incoming messages addressed to the modem's IP and port specified in AT$UDPAPI
will be displayed on the serial port with the unsolicited response $UDPMSG:
followed by the message.
AT$UDPMSG=?
(0-1),(0-2),("data"),(0-1)
OK
AT$UDPMSG=<format>,<type>,<data>,<flash>
<cr>
OK
AT$UDPMSG?
OK
N/A
N/A
N/A
0 =  <data> is an ASCII string (i.e.: "is this is my data")
1 = <data> is an ASCII-Hex bytes (i.e.: 050a25)
0  = message will only be sent to the first IP address in the friend's list and to port
number mentioned by the $FRIEND command
1 = message will be sent via the ACK method (controlled by $ACKTM command) to
the IP address listed in $FRIEND and port number listed by $FRIEND command
2 = message will be sent to all IP address in $FRIEND command at port number
listed by $FRIEND command.
- 149 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mt 3000

Table of Contents