Skip to content

02. How Sensor Reception works

Matthias Prinke edited this page Jun 20, 2024 · 3 revisions

Sensor Reception

Sensor Reception Flowchart

Include/Exclude Lists

Default:

WeatherSensorCfg.h: SENSOR_IDS_INC/SENSOR_IDS_EXC

Run-time configuration:

setSensorsInc()

setSensorsExc()

Data Reception with Timeout and Completion Options

getData(uint32_t timeout, uint8_t flags, uint8_t type, void(*)() func)

Sensor Data Storage

Sensor Data Structure

Sensor Struct Reference

Sensor Data Storage Flowchart

Sensor Data Storage Flowchart

Maximum Number of Sensors and Completion Options

Default:

WeatherSensorCfg.h: MAX_SENSORS_DEFAULT

Run-time configuration:

setSensorsCfg(uint8_t max_sensors, uint8_t rx_flags, uint8_t en_decoders)