Now you can test your AWS IoT Button using the MQTT client from AWS IoT. Perform the following steps:
- Click on the Test menu and then fill in the subscriber topic, iotbutton/+, and click on the Subscribe button.
- Once done, you can test it by clicking on your AWS IoT Button. Once the button is pressed, you will see a blinking white LED. This means that AWS IoT Button is sending data to AWS IoT. After data transmission to AWS is completed, our MQTT client can see the message "message": "Hello from AWS IoT console" , as seen in the following screenshot. Try to perform a double click on AWS IoT Button. It should show "DOUBLE" on clickType from message: