EasyManua.ls Logo

Telit Wireless Solutions ME910G1 - AT#MQPUBS - Publish ASCII String

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 521 of 545 2020-04-15
3.22.10. AT#MQPUBS - Publish ASCII String
This command publishes an ASCII string to the specified MQTT topic.
SIM Presence
Setting saved
Can be aborted
MAX timeout
SELINT
Not required
Auto
No
-
2
AT#MQPUBS=<instanceNumber>,<topic>,<retain>,<qos>,<message>
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
<topic>
string
-
name of the topic
<retain>
integer
N/A
specifies if the broker must retain this message or
not
Values:
0
:
retain
1
:
no retain
<qos>
integer
N/A
specifies the Quality of Service of this message
Value:
0÷2
:
Quality of Service range
<message>
string
-
message to publish on the topic. Maximum 140
characters, printable ASCII.
AT#MQPUBS=?
Test command reports the available range of values for parameters.
AT#MQPUBS=1,myTopic,0,0,myMessage
OK
Test command
AT#MQPUBS=?
#MQPUBS: (1-maxClients),,(0-1),(0-2),
OK

Table of Contents

Other manuals for Telit Wireless Solutions ME910G1

Related product manuals