Designing the application’s local logic
This section will teach you how to use your logical thinking to meticulously design the application flow. This process includes planning and strategizing for regular procedures, irregular scenarios, and fault situations. Think about how the application should respond, what visual and audio indicators should be displayed on the device, and which functions should be activated.
Imagine a scenario where we create an IoT project to monitor the temperature and humidity inside a warehouse. For this, we need to develop a sensor device with the following capabilities:
- Periodically measure the temperature and humidity data
- Report sensor data to the cloud
- Alert the customer if the sensor data is outside the normal range
In this section, our focus will be on the application logic on the device side. For an optimal user experience, we want the sensor device to not only periodically read the data but also provide visual and...