AT$MSGSND
<destination>
<"data">
Notes
Message Send
0 – 5 (possible valid values)
0 = <"data"> is sent out the USB port
1 = <"data"> is sent to all SMS addresses listed in AT$SMSDA command.
2 = <"data"> is sent via UDP API to IP address and port number of the first UDP
server listed in the AT$FRIEND command
3 = <"data"> is sent via PAD to IP address and Port number listed in the
AT$PADDST command
4 = <"data"> is sent via TCP API to IP address and port number of the first TCP
server listed in the AT$FRIEND command
5 = <"data"> is sent out the USB port
a maximum of 50 bytes ASCII characters
Use the AT$CMDPORT command to select the primary UART serial port and/or
the USB AT command port.
Messages sent to OTA destinations (options 1, 2, 3, and 4) are transmitted
immediately. If network coverage is not available, then the message is silently
discarded. The message is not stored for later transmission when the modem
returns to good network coverage.
AT$MSGSND command can be sent to the device via SMS, UDP-API, or serial
port.
AT$MSGSND=4 checks for TCPAPI usage in the first $FRIEND entry.
AT$MSGSND=2 checks for UDPAPI usage in the first $FRIEND entry. ERROR will
be reported if invalid usage is selected.
AT$MSGSND=4 checks if TCPAPI is enabled (AT$TCPAPI=1) before attempting to
send message. Will report error if not enabled.
A carriage return can be added to a $MSGSND message by inserting "\0D" in to
the text portion of the message
For example:
AT$MSGSND=0,"Hello \0D"
OK
Hello
To add a carriage return to a $STOATEV use the following format:
AT$STOATEV=1,AT$MSGSND=0,"Hello \OD"
- 144 -
Need help?
Do you have a question about the MT 3050 and is the answer not in the manual?
Questions and answers