
2. Subscribe to the newly created publish topics in AWS.
a. Using
AWS IoT
, in the left hand menu, select
Test
to open the
MQTT test client
, then
ensure you are on the
Subscribe to a topic
tab.
b. In the
Topic filter
box, type:
+/<
ThingName
>
This subscribes AWS to all topics related to your thing.
c. Select
Subscribe
.
A subscription appears, listed in the Subscriptions panel.
3. Publish information to the topics you created in the Quectel BG96 module.
You can send a maximum payload of 1000 characters to AWS.
a. Using the terminal emulator, type:
at+emqpublish=0,1,"{\"Temperature\": 24}"
<return>
at+emqpublish=1,1,"{\"BatteryPower\": \"Low\"}"
<return>
The emqpublish command uses the following syntax:
at+emqpublish=
IndexNumber
,
QoS
,
"{
PublishDataInJSON
}"
These messages instantly appear in AWS.
Eseye-enabled Quectel BG96 module Developer Guide v1.8
26
Sending data from your thing to the cloud