![Swarm M138 Product Manual Download Page 56](http://html1.mh-extra.com/html/swarm/m138/m138_product-manual_1412592056.webp)
Notes:
See the section
for a description of
<error_type>
.
Messages have three states: Unread, read, and deleted. Once an unread message is read, it's
state changes to read. It can subsequently be read again when called by its
msgID
. If a
message is deleted, it can no longer be counted, read, marked, or deleted.
If a message is marked read using the
M=<msg_id>
or
M=*
command, marking it as read again
is not an error.
<msg_count>
is a number indicating the number of messages that are unread in response to
the
C=U
command, total number of read and unread messages in response to the
C=*
command, or the number of messages deleted in response to the
D=*
command.
<appID>
is the application ID tag of the message.
<
data>
is in the same format as the original
$RD
response returns.
<
msg_id>
is assigned by the device, and is an unsigned 64-bit value comprised of the device
ID, a day of year counter, and a message of day counter. Responses that have a 0 as the
message ID indicate the message has not been placed in the queue and therefore has no ID.
The value should be treated as a simple arbitrary number.
<
es>
is the epoch seconds time when the message was received by the Modem.
© 2022 SWARM TECHNOLOGIES
SWARM M138 MODEM PRODUCT MANUAL · REV 1.20 · FEBRUARY 2022
PAGE
56