Download the updated mqtt package, file name is 'gl-mqtt_3.0.37-
1_mips_24kc.ipkā
Use WinSCP/SSH to transfer the package to /tmp/ , then delete the
old package.
opkg remove gl-mqtt --force-depends
Then install the package:
opkg install gl-mqtt_3.0.37-1_mips_24kc.ipk
3) Setup config file for your router
Edit /etc/config/glconfig
Add the following code to your glconfig file.
config service 'cloud'
option enable '1'
option sub_topic '/a1rLNyG2VK5/mqtt_demo/user/get'
option pub_topic
'/sys/a1rLNyG2VK5/mqtt_demo/thing/event/property/post'
option service_pride '2'
option address 'ssl://xxxxxxxxxxxxxx-ats.iot.us-east-
1.amazonaws.com:8883'
option clientid 'iotconsole-xxxxxxxxxxxxxx'
option log '1'
The sample of glconfig file:
If you already setup GoodCloud on router before, just add the code
at the end of config service 'cloud'