Sending data from your thing to the cloud
Before you begin
•
Using a terminal emulator, send an AT<CR> command to ensure that the smart terminal can
receive ATcommands. For more information, see General AT Commands for the Quectel
BG96 module on page31.
For information about connecting a terminal emulator to the modem, see
Connecting to the LTE IoT 2 click.
•
Send an AT+ETMINFO=version<CR> command to verify that the version number is Eseye
Telemetry Module V0.99_ma or higher.
If the version number is not in this range, you will need to update the modem software. For
more information, see Updating the modem software on page79.
•
Send an AT+ETMSTATE=startmqtt<CR> command to enable the MQTT protocol
•
Ensure you know the thing name that you set up in AWS.
To test that your thing can publish information to AWS:
1. Create two publish topics in the Quectel BG96 module.
a. Using a terminal emulator, type:
at+emqpubopen=0,"PublishToCloud0"<return>
at+emqpubopen=1,"PublishToCloud1"<return>
b. Check that the first two index numbers are assigned a topic each. Type:
at+emqpubopen?<return>
A list of index numbers and their assigned topics appears.
25
Eseye-enabled Quectel BG96 module Developer Guide v1.8
Sending data from your thing to the cloud