![Swarm M138 Product Manual Download Page 59](http://html1.mh-extra.com/html/swarm/m138/m138_product-manual_1412592059.webp)
$MT - Messages to Transmit Management
Manage messages to be transmitted in the device outgoing message queue. Has ability to
return the count, list, and delete unsent messages.
$MT <C=<U>|D=<msgID|U>|<L=msgID>>*xx
Parameter
Description
C=<U>
Return count of unsent (
U
) messages
D=<msgID|U>
Delete message ID (
msgID
) or all unsent (
U
) messages
L=<msgID>
List message ID (
msgID
) messages
Returns one of:
Parameter
Description
$MT <msg_count>
Number of unsent messages
$MT <data>,<msg_id>,<es>*xx
Response to listing a message
$MT DELETED*xx
<
msg_id
> deleted successfully
$MT OK*xx
Message command succeeded
$MT ERR,<error_type>*xx
Command input error
$MT ERR,DBX_INVMSGID*xx
Invalid message ID in
D
or
L
command
$MT ERR,DBX_NOMORE*xx
No messages found
Notes:
See the section
for a description of
<error_type>
.
<msg_count>
is a number indicating the number of messages that are unsent in response to
the
C=U
command or the number of messages deleted in response to the
D=U
command
<data>
is in the same format as the original
$TD
command accepts for message content
© 2022 SWARM TECHNOLOGIES
SWARM M138 MODEM PRODUCT MANUAL · REV 1.20 · FEBRUARY 2022
PAGE
59