Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
asset_filter_runtime_data_t Struct Reference

Runtime meta data associated to an asset filter that is not persisted to flash. More...

#include <cs_AssetFilterStructs.h>

Public Attributes

uint8_t filterId
 Id of a filter. More...
 
union {
   struct {
      bool   crcCalculated: 1
 
      bool   committed: 1
 
   }   flags
 
   uint8_t   asInt = 0
 
flags
 
uint16_t filterDataSize
 The size of the tracking_filter_t, including the buffer, excluding sizeof(runtimedata). More...
 
uint32_t crc
 crc32 of the fields: More...
 

Detailed Description

Runtime meta data associated to an asset filter that is not persisted to flash.

Member Data Documentation

◆ asInt

uint8_t asset_filter_runtime_data_t::asInt = 0

◆ committed

bool asset_filter_runtime_data_t::committed

◆ crc

uint32_t asset_filter_runtime_data_t::crc

crc32 of the fields:

  • tracking_filter_t::metadata
  • tracking_filter_t::filterdata

◆ crcCalculated

bool asset_filter_runtime_data_t::crcCalculated

◆ filterDataSize

uint16_t asset_filter_runtime_data_t::filterDataSize

The size of the tracking_filter_t, including the buffer, excluding sizeof(runtimedata).

i.e.:

  • sizeof(metadata)
  • sizeof(filterdata)
  • fingerprint array size of the filterdata

can be runtime only since it's saved as part of record metadata on flash.

◆ filterId

uint8_t asset_filter_runtime_data_t::filterId

Id of a filter.

Can be runtime only since it's saved as part of record metadata on flash. (State Id equals filter Id)

◆  [1/2]

struct { ... } asset_filter_runtime_data_t::flags

◆  [2/2]

union { ... } asset_filter_runtime_data_t::flags

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