Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
differential_buffer_fixed_t< T, S > Struct Template Reference

Struct with fixed length, useful when sending as payload. More...

#include <cs_DifferentialBuffer.h>

Public Attributes

uint16_t length
 Number of elements stored in this struct. More...
 
firstVal
 Value of the oldest element in the buffer. More...
 
lastVal
 Value of the newest element in the buffer. More...
 
int8_t array [S - 1]
 Pointer to the array storing the difference of elements compared to the previous element. More...
 

Detailed Description

template<typename T, uint16_t S>
struct differential_buffer_fixed_t< T, S >

Struct with fixed length, useful when sending as payload.

Member Data Documentation

◆ array

template<typename T , uint16_t S>
int8_t differential_buffer_fixed_t< T, S >::array[S - 1]

Pointer to the array storing the difference of elements compared to the previous element.

◆ firstVal

template<typename T , uint16_t S>
T differential_buffer_fixed_t< T, S >::firstVal

Value of the oldest element in the buffer.

◆ lastVal

template<typename T , uint16_t S>
T differential_buffer_fixed_t< T, S >::lastVal

Value of the newest element in the buffer.

◆ length

template<typename T , uint16_t S>
uint16_t differential_buffer_fixed_t< T, S >::length

Number of elements stored in this struct.


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