EasyManua.ls Logo

Telit Wireless Solutions ME910G1 - AT#MQREAD - Read Messages Received from the MQTT Broker

Telit Wireless Solutions ME910G1
545 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 522 of 545 2020-04-15
3.22.11. AT#MQREAD - Read Messages Received from the MQTT Broker
This command reads the message payload from the queue slot provided.
SIM Presence
Setting saved
Can be aborted
MAX timeout
SELINT
Not required
Auto
No
-
2
AT#MQREAD=<instanceNumber>,<mId>
After command line is terminated with <CR>, the module responds sending:
#MQREAD: <instanceNumber>,<topic>,<payload_len>,
then the module prompts the following characters sequence:
<less_than><less_than><less_than><carriage return><line feed> (IRA 60, 60, 60, 13, 10)
followed by the data
Parameters:
Name
Type
Default
Description
<instanceNumber>
string
N/A
selects the client instance to activate or deactivate
Value:
1÷maxClients
:
client instance range. To know maxClients value
use test command
<mId>
integer
N/A
message slot Id to be read. The read operation will
free the slot resource.
Value:
1÷30
:
message slot Id range
Additional info:
UNCOLICITED MESSAGE:
#MQRING - Received data on subscribed topic
When a message is received on the subscribed topic, an URC message is sent to all AT
commands interfaces. There are 30 messages slots available for incoming messages, and
it is responsibility of the user to keep them empty by reading them with #MQREAD.
If the message queue is full, and a new message arrives, the following
URC #MQRING: 0 is received.
Otherwise, for normal messages, the URC format is:
#MQRING: <instanceNumber>,<mId>,<topic>,<len>
In the Unsolicited fields section are described the URC message parameters not described
in the previous sections.

Table of Contents

Other manuals for Telit Wireless Solutions ME910G1

Related product manuals