Notes:
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. This field will only be returned on Firmware
versions v1.1.0+
<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.
November 2021 Swarm M138 Modem Manual - Rev 1.00 53/77