The following diagram shows the system architecture and how the modules interact with each other.
The template provides the following core modules:
- Main module: Implements the business logic and controls the overall application behavior.
- Storage module: Stores data from enabled modules.
- Network module: Manages LTE connectivity and tracks network status.
- Cloud module: Handles communication with nRF Cloud using the Constrained Application Protocol (CoAP).
- Location module: Provides location services using Global Navigation Satellite System (GNSS), Wi-Fi, and cellular positioning.
- Button module: Reports button press events for user input.
- FOTA module: Manages firmware over-the-air updates.
The following modules are specific to the Thingy:91 X:
- Environmental module: Collects environmental sensor data (temperature, humidity, pressure).
- LED module: Controls an RGB LED for visual indication.
- Power module: Monitors battery status and provides power management.
- UART Power Control module: Suspends and resumes the UART when VBUS changes.