L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
measureDataNFC_t Struct Reference

block of one measure data in CayennelLPP payload format
The Data field contains the same payload as in LoRaWan processing, without UTC/TIME8/TIME16 fields, because the UTC time of measure is in UTCMeasureTime field. More...

#include <mysensors_base.h>

Data Fields

uint32_t UTCMeasureTime
uint8_t Data [(4+(4+3)+0+0+(4+0)+0+0)]
uint8_t DummyOn4 [4 -((sizeof(uint32_t)+(4+(4+3)+0+0+(4+0)+0+0)) % 4)]

Detailed Description

block of one measure data in CayennelLPP payload format
The Data field contains the same payload as in LoRaWan processing, without UTC/TIME8/TIME16 fields, because the UTC time of measure is in UTCMeasureTime field.

  • the size of struct must be boundary 4 - because of NFC
  • ensure adding of other types to have boundary 4, otherwise the Error_Handler is called in sensorsBase_Init

Definition at line 392 of file mysensors_base.h.

Field Documentation

◆ Data

uint8_t measureDataNFC_t::Data[( 4+(4+3)+0+0+(4+0)+0+0)]

max buffer data - ensure enough place for all data of sensors

Definition at line 395 of file mysensors_base.h.

Referenced by myloraWan_MeasureFinish().

◆ DummyOn4

uint8_t measureDataNFC_t::DummyOn4[4 -((sizeof(uint32_t)+( 4+(4+3)+0+0+(4+0)+0+0)) % 4)]

dummy for boundary on 4

Definition at line 396 of file mysensors_base.h.

◆ UTCMeasureTime

uint32_t measureDataNFC_t::UTCMeasureTime

the UTC absolute time of data measurement

Definition at line 394 of file mysensors_base.h.

Referenced by myloraWan_MeasureFinish().


The documentation for this struct was generated from the following file: