|
|
7 年之前 | |
|---|---|---|
| .. | ||
| main | 7 年之前 | |
| CMakeLists.txt | 7 年之前 | |
| Makefile | 7 年之前 | |
| README.md | 8 年之前 | |
| sdkconfig.ci | 7 年之前 | |
| sdkconfig.defaults | 7 年之前 | |
This is an adaptation of the AWS IoT C SDK "shadow_sample" example for ESP-IDF.
See the README.md in the parent directory for information about configuring the AWS IoT examples.
After following those steps, there is one additional step for this exmaple:
For this example, you will need to set a Thing Name under make menuconfig -> Example Configuration -> AWS IoT Thing Name.
The Thing Name should match a Thing that you created while following the Getting Started guide (to check the Things you have registered, go t othe AWS IoT console web interface, click Registry and then click Things).
After flashing the example to your ESP32, it should connect to Amazon and start updating the example Thing's shadow.
In the ESP32's serial output, you should see the message "Update accepted" logged every couple of seconds.
You can monitor the Thing status from the AWS IoT console web interface:
If you're having problems with the AWS IoT connection itself, check the Troubleshooting section of the README in the parent directory.