Publishing data to AWS Cloud

A MQTT publish packet is always sent to the MQTT broker using a specific topic. The AVR-IoT WA Development Board publishes messages using the topic ‘thingName/sensors’ in communication to the AWS cloud. The messages published on this topic contains the real-time data obtained from the on-board light and temperature sensors. The frequency of sending a PUBLISH packet can be decided by the user application. The application is written such that the sensor data is published to the Cloud every second.