Publishing Data to Private AWS Host using ESP Rainmaker
Posted: Fri Jul 05, 2024 11:09 am
Hello ESP community,
I'm currently working on a project using ESP Rainmaker on my ESP32 board, and I need to publish data to my private AWS host via MQTT. I've followed the steps to set up AWS IoT, created Thing certificates, and configured AWS IoT policies.
Now, I'm looking for guidance on how to integrate these AWS IoT credentials into my ESP Rainmaker example code to establish an MQTT connection and publish data securely.
Could someone please provide a step-by-step guide or code snippets to:
1. Integrate AWS IoT credentials (certificate, private key, AWS endpoint) into ESP Rainmaker?
2. Modify the example code (like the light example) to publish data to AWS IoT topics?
Any help or pointers would be greatly appreciated!
Thank you.
I'm currently working on a project using ESP Rainmaker on my ESP32 board, and I need to publish data to my private AWS host via MQTT. I've followed the steps to set up AWS IoT, created Thing certificates, and configured AWS IoT policies.
Now, I'm looking for guidance on how to integrate these AWS IoT credentials into my ESP Rainmaker example code to establish an MQTT connection and publish data securely.
Could someone please provide a step-by-step guide or code snippets to:
1. Integrate AWS IoT credentials (certificate, private key, AWS endpoint) into ESP Rainmaker?
2. Modify the example code (like the light example) to publish data to AWS IoT topics?
Any help or pointers would be greatly appreciated!
Thank you.