Quectel BG96 Developer's Manual page 33

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

Advertisement

Sending data from your thing to the cloud
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}"
at+emqpublish=1,1,"{\"BatteryPower\": \"Low\"}"
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
<return>
<return>
26

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents