Implementation
The solution architecture defines three different software packages:
- Common libraries and components: We can reuse the third-party libraries and the components that we developed in the previous examples. After all, it is the whole point of modular software design.
- Plug application: The plug application will have the
AppPlug
class on top of the common libraries to satisfy the project requirements. - Multisensor application: We will develop the
AppSensorNode
andAppUi
classes in the multisensor application. The application will integrate all the classes as a whole as described in the requirements.
Let’s start with the common libraries.
Preparing common libraries
The requirements and the design reveal some of the third-party libraries that we are going to need to develop the project. They are:
- ESP RainMaker for cloud connectivity (https://github.com/espressif/esp-rainmaker)
- A modified version of the ESP-IDF...