Skip to main content
Sending data to your remote serial application

R7 Serial: Receive Data

tip

Payload Size The maximum packet size for an SBD MT message is 270 bytes. The maximum user-definable payload is 268 bytes.

Serial CommandFunction
R7+RHReturns MT message with an Inbound MessageID the Payload
R7+D=Deletes MT message with specified Inbound MessageID

Read Oldest Received Message

R7+RH

This command checks for messages waiting and displays the oldest message received.

The response includes an Inbound MessageID, followed by the hex payload contained in the message.

If no messages are available, it will simply return OK.

/* Read oldest message */

R7+RH\r

/* Receive response */

<Inbound MessageID>,<Payload>\r
OK\r

Delete Received Message

R7+D=<Inbound MessageID>

This command will delete a specified message.
Deleting the oldest message will make a subsequent R7+RH return the next available message.

/* Delete oldest message */

R7+D=<Inbound MessageID>\r

OK\r