Figure 2-9. What's Next
Scroll down to the
Control Your Device
section. Here, control mechanisms can be seen:
• The
Toggle
button is used to send the switch value to the AVR-IoT WA board.
The values are only published over the ‘
$aws/things/thingName/shadow/update
’ topic upon pressing the
Send to device
button. Since the board subscribes to ‘
$aws/things/thingName/shadow/update/delta
’ by
default, the shadow service will send updates on this topic when there is a difference in attribute values. The payload
received here is limited by the MQTT Receive Buffer (bytes) configurable in MQTT library MCC window (see Figure
3-12 for more details).
Figure 2-10. Sending Messages on the Subscribed Topic
2.4.4
Viewing Messages Received on Subscribed Topic
The toggle switch value corresponds to a short forced ON/OFF state to the yellow LED on the AVR-IoT WA
Development Board. The LED will stay on/off for a short time depending on the position of the toggle switch before it
AVR-IoT WA User Guide
Getting Started
©
2020 Microchip Technology Inc.
User Guide
DS50002998A-page 13