EasyManua.ls Logo

GL-INET Spitz - Page 144

GL-INET Spitz
173 pages
Print Icon
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...
Page 139 | 168
5) Connect your devices to AWS IoT Cloud
Start connect to AWS Cloud
/etc/init.d/gl_mqtt start
Restart the mqtt services if its process is running.
/etc/init.d/gl_mqtt restart
Check mqtt process status
ps | grep gl_mqtt
4. MQTT Communication Testing
Test->Subscribe to a topic
The subscription and publish topics in glconfig file:
option sub_topic '/a1rLNyG2VK5/mqtt_demo/user/get'
option pub_topic '/sys/a1rLNyG2VK5/mqtt_demo/thing/event/property/post'
So the Subscription and Publish topic in AWS IoT Cloud shall be
exchanged:

Table of Contents

Related product manuals