|
|
9 ani în urmă | |
|---|---|---|
| .. | ||
| main | 9 ani în urmă | |
| Makefile | 9 ani în urmă | |
| README.md | 9 ani în urmă | |
| sdkconfig.defaults | 9 ani în urmă | |
This is an adaptation of the AWS IoT C SDK "subscribe_publish" example for ESP-IDF.
See the README.md in the parent directory for information about configuring the AWS IoT examples.
After flashing the example to your ESP32, it should connect to Amazon and start subscribing/publishing MQTT data.
The example code publishes MQTT data to the topic test_topic/esp32. Amazon provides a web interface to subscribe to MQTT topics for testing:
One connection succeeds, you can subscribe to the data published by the ESP32:
test_topic/esp32... you should see MQTT data published from the running example.
To publish data back to the device:
test_topic/esp32