Integrate AWS IoT Core and Device Shadow in embedded instrument : implementation with Paho MQTT libraries
Tran, Yen Jr (2023)
Tran, Yen Jr
2023
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202304175439
https://urn.fi/URN:NBN:fi:amk-202304175439
Tiivistelmä
The thesis project was performed at Hitachi High-Tech Analytical Science with the goal of utilizing AWS IoT Device Shadow in their embedded instruments without dependence on AWS SDK via MQTT protocol.
The project involved three subsequent stages: making a Python prototype, implementing the client library in C++, and testing the library on an embedded Linux system. The C++ library was stacked with Paho MQTT client and other open-source libraries such as JSON for Modern C++ and Boost.
As a result, the thesis delivered positive outcomes and a working library in which MQTT connection and shadow handling functionalities are well implemented and tested. The thesis project did not cover all MQTT 3 and new MQTT 5 specifications but instead focused on device shadow features, therefore the library still had some limitations in functionalities. From the company side, the thesis will be used as a fundamental research step and will be refactored and improved before integrating into their embedded system.
The project involved three subsequent stages: making a Python prototype, implementing the client library in C++, and testing the library on an embedded Linux system. The C++ library was stacked with Paho MQTT client and other open-source libraries such as JSON for Modern C++ and Boost.
As a result, the thesis delivered positive outcomes and a working library in which MQTT connection and shadow handling functionalities are well implemented and tested. The thesis project did not cover all MQTT 3 and new MQTT 5 specifications but instead focused on device shadow features, therefore the library still had some limitations in functionalities. From the company side, the thesis will be used as a fundamental research step and will be refactored and improved before integrating into their embedded system.