L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
Per-sensor payload size helpers

Macros

#define SIZE_SHT45   sizeof(tmphm_sht45_t)
 Byte size of tmphm_sht45_t in the packed sensor record.
#define SIZE_TSL2591   sizeof(amb_tsl2591_t)
 Byte size of amb_tsl2591_t in the packed sensor record.
#define SIZE_ILS22QS   sizeof(bar_ils22qs_t)
 Byte size of bar_ils22qs_t in the packed sensor record.
#define SIZE_BMP585   sizeof(bar_bmp585_t)
 Byte size of bar_bmp585_t in the packed sensor record.
#define SIZE_SCD41   sizeof(scd41_t)
 Byte size of scd41_t in the packed sensor record.
#define SIZE_SPS30   sizeof(sps30_t)
 Byte size of sps30_t in the packed sensor record.

Detailed Description

Each macro evaluates to sizeof(sensor_data_struct) when the corresponding sensor is enabled, or 0 when it is disabled. Used to compute SENSORS_DATASIZE.

Macro Definition Documentation

◆ SIZE_BMP585

#define SIZE_BMP585   sizeof(bar_bmp585_t)

Byte size of bar_bmp585_t in the packed sensor record.

Definition at line 302 of file mysensors_base.h.

◆ SIZE_ILS22QS

#define SIZE_ILS22QS   sizeof(bar_ils22qs_t)

Byte size of bar_ils22qs_t in the packed sensor record.

Definition at line 295 of file mysensors_base.h.

◆ SIZE_SCD41

#define SIZE_SCD41   sizeof(scd41_t)

Byte size of scd41_t in the packed sensor record.

Definition at line 309 of file mysensors_base.h.

◆ SIZE_SHT45

#define SIZE_SHT45   sizeof(tmphm_sht45_t)

Byte size of tmphm_sht45_t in the packed sensor record.

Definition at line 281 of file mysensors_base.h.

◆ SIZE_SPS30

#define SIZE_SPS30   sizeof(sps30_t)

Byte size of sps30_t in the packed sensor record.

Definition at line 316 of file mysensors_base.h.

◆ SIZE_TSL2591

#define SIZE_TSL2591   sizeof(amb_tsl2591_t)

Byte size of amb_tsl2591_t in the packed sensor record.

Definition at line 288 of file mysensors_base.h.