Skip to main content
Important: Legacy Platform Notice

This page refers to the legacy CORE platform and its API.
Cloudloop customers should refer to the relevant sections of Cloudloop Data API Documentation.

R7 Serial: Receive Data

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

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

R7+D=n

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