Open neocafe88 opened 1 year ago
To build a MQTT client which talks to AWS IoT Core, it's required to install AWS IoT Device SDK in the system. There are different versions for each language: C++, Python, Javascript, etc. There is a separate version available in a smaller size for Embedded C. The document of the SDK for embedded C is not that user-friendly so I chose AWS IoT Device SDK for CPP V2. It needed many days to catch up the modern C++ language and to get familiar with AWS IoT Core and Aws::Crt packages.
Further notes: In the api usage, 'clientId' and 'topic' can be freely created but needs to be allowed in the policy in the cloud account (not in the local policy file)
DoD is verified as the MQTT client was connected to AWS IoT Core successfully and see the published messages in the cloud.
Create a MQTT client in the development environment (Ubuntu Linux) in C++
DoD: Build is successful, able to see the data in AWS IoT
Blockers: AWS SDK installation, modern C++ language, AWS IoT Concept