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

the control block of NFC on address MEASUREDATANFC_ADDR where are stored the last measure data
The EEPROM of NFC has 2kB, 2048bytes on address 128(MEASUREDATANFC_ADDR), max size for sensor data is 1920 bytes
sizeof(measureNFC_t) is 16(SZ_MEASURENFC) fixed struct size - !!! the size my be boundary 4 !!!
it is followed by measure data, on Data field
measureDataNFC_t - circular queue More...

#include <mysensors_base.h>

Collaboration diagram for measureNFC_t:
[legend]

Data Fields

uint8_t Count
uint8_t MaxCount
uint8_t Size
uint8_t Inx
uint8_t Dummy [11]
uint8_t Crc
measureDataNFC_t Data [0]

Detailed Description

the control block of NFC on address MEASUREDATANFC_ADDR where are stored the last measure data
The EEPROM of NFC has 2kB, 2048bytes on address 128(MEASUREDATANFC_ADDR), max size for sensor data is 1920 bytes
sizeof(measureNFC_t) is 16(SZ_MEASURENFC) fixed struct size - !!! the size my be boundary 4 !!!
it is followed by measure data, on Data field
measureDataNFC_t - circular queue

Definition at line 406 of file mysensors_base.h.

Field Documentation

◆ Count

uint8_t measureNFC_t::Count

current count of payload data in NFC EEPROM from address MEASUEREDATANFC_SIZE

Definition at line 408 of file mysensors_base.h.

◆ Crc

uint8_t measureNFC_t::Crc

CRC8 of bytes 0..(SZ_MEASURENFC-2); must be the last field

Definition at line 414 of file mysensors_base.h.

◆ Data

measureDataNFC_t measureNFC_t::Data[0]

Data - only for information, where the measured data started

Definition at line 415 of file mysensors_base.h.

◆ Dummy

uint8_t measureNFC_t::Dummy[11]

Definition at line 412 of file mysensors_base.h.

◆ Inx

uint8_t measureNFC_t::Inx

the index of write for new value

Definition at line 411 of file mysensors_base.h.

◆ MaxCount

uint8_t measureNFC_t::MaxCount

maximum available payload data in NFC EEPROM

Definition at line 409 of file mysensors_base.h.

◆ Size

uint8_t measureNFC_t::Size

size of measureDataNFC_t (UTC+Data)

Definition at line 410 of file mysensors_base.h.


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