We are using a Basic script on our Flexy to publish data on AWS IoT Core MQTT server.
Our Flexy gets disconnected at certain point of time (sometime after few days, sometime after few weeks) without any apparent reason. There are no other devices publishing data on the MQTT server, therefore it seems unlikely to be a Client ID conflict.
To reconnect to the MQTT server, we just need to reboot the Flexy.
The logs and Basic script are as follow. The observed disconnection occurred at 13:00, corresponding logs are highlight in red.
program_export.bas (3.2 KB)
Thanks in advance for your support !