2.4.1 Publishing Data to Google Cloud
An MQTT publish packet is always sent to the MQTT broker using a specific
topic. The AVR-IoT WG Development Board publishes messages using the topic
‘/devices/{deviceID}/events
’ in communication to the AVR-IoT WG. The messages published on this topic contain 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 one second.