Emqpersist - Report A Set Value To The Device Shadow - Quectel BG96 Developer's Manual

Eseye-enabled module
Hide thumbs Also See for BG96:
Table of Contents

Advertisement

MQTT telemetry AT commands
EMQPERSIST – report a set value to the device shadow
Report a set value to the device shadow/twin. The operation depends on which
set, either
or
simple
complete
You set
AWSSHADOW
module configuration file on page 62. Alternatively, send:
AT+ETMCFG=mqtt,awsshadow,<off/simple/complete>
AT+ETMCFG=mqtt,awsshadow,simple
AWSSHADOW
simple
The shadow Eseye Telemetry Module (ETM) performs the following automatically:
• Generates the JSON
• Subscribes to the
• Presents the host with the state object JSON content only, sent via URC
The host only sends the content of the
AWSSHADOW
complete
The host sends the complete JSON for the shadow to ETM.
ETM sends the complete shadow message as a URC, without filtering.
EMQPERSIST commands
Type
Syntax
AT+EMQPERSIST=?
Test
AT+EMQPERSIST?
Read
AT+EMQPERSIST=<JSON>
Write
where JSON is the JSON code, which
depends on the AWSSHADOW mode you
configured.
For
simple
Either the content of the
object or
desired
format:
AT+EMQPERSIST="{\"key\":value}"
where
value
Eseye-enabled Quectel BG96 module Developer Guide v1.8
.
in the Configuration File. For more information, see Using the Quectel BG96
mode
and
state
reported
shadow/update/delta
reported
mode
mode:
state reported
object is required, in this
is a numeric value, including
, for example:
or
objects
desired
topic, and filters out the containing objects
object.
Returned Result
+EMQPERSIST: <data>
OK
OK
or
ERROR
OK
SEND OK
or
ERROR
mode you
AWSSHADOW
46

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents