ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 936 of 1039 2021-09-23
3.24.12.11. AT#MQSNREAD - Read messages received from the MQTT-SN Gateway
Read the message payload from the queue slot provided.
AT#MQSNREAD=<instanceNumber>,<mId>
Read the message from the slot and for the provided client. The command
will respond with
#MQSNREAD: <instanceNumber><topic_type>,<topic_id>,<payload_len>
Then the device shall prompt a characters sequence
<less_than><less_than><less_than><carriage return><line feed>
(IRA 60, 60, 60, 13, 10)
followed by the data
Parameters:
Select the client instance. The
list of active clients is obtained
with AT#MQSNEN?
Values: 1..<maxClients>
To know maxClients value use
test command.
The message slot Id to be read.
The read operation will free the
slot resource
message slot Id to be read