Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
AssetFilterInput Class Reference

This file defines several accessor classes for structures that relate to the trackable parser. More...

#include <cs_AssetFilterPacketAccessors.h>

Public Member Functions

 AssetFilterInput (uint8_t *data)
 
AssetFilterInputTypetype ()
 Get the type of input. More...
 
ad_data_type_selector_tAdTypeField ()
 Get the payload for type AdDataType. More...
 
masked_ad_data_type_selector_tAdTypeMasked ()
 Get the payload for type MaskedAdDataType. More...
 
bool isValid ()
 Checks if the data has valid values. More...
 
size_t length ()
 Get the expected length of this class, depends on type. More...
 

Public Attributes

uint8_t * _data
 

Detailed Description

This file defines several accessor classes for structures that relate to the trackable parser.

They are constructed using a buffer pointer and provide read/write access to the buffer according to the protocol. Class that determines the input data for a filter or for the output.

Constructor & Destructor Documentation

◆ AssetFilterInput()

AssetFilterInput::AssetFilterInput ( uint8_t *  data)
inline

Member Function Documentation

◆ AdTypeField()

ad_data_type_selector_t * AssetFilterInput::AdTypeField ( )

Get the payload for type AdDataType.

Returns
nullptr if type is not AdDataType.

◆ AdTypeMasked()

masked_ad_data_type_selector_t * AssetFilterInput::AdTypeMasked ( )

Get the payload for type MaskedAdDataType.

Returns
nullptr if type is not MaskedAdDataType.

◆ isValid()

bool AssetFilterInput::isValid ( )

Checks if the data has valid values.

◆ length()

size_t AssetFilterInput::length ( )

Get the expected length of this class, depends on type.

◆ type()

Get the type of input.

Member Data Documentation

◆ _data

uint8_t* AssetFilterInput::_data

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