Class CayenneLPP::CayenneLPP
template <size_t static_size>
ClassList > CayenneLPP > CayenneLPP
Public Functions
Type | Name |
---|---|
CayenneLPP () |
|
constexpr uint8_t * | getBuffer (void) This gets a pointer to the statically allocated internal buffer. |
constexpr uint8_t | getSize (void) This gets the amount of bytes currently stored in the buffer. |
void | reset (void) Reset the cursor back to zero. |
const uint8_t | setMeasurement (const uint8_t channel, const Measurement_t * measurement) Store a new measurement in the encoder buffer. |
~CayenneLPP () Since this class is initialized statically, there is nothing to clean up. |
Public Functions Documentation
function CayenneLPP
function getBuffer
This gets a pointer to the statically allocated internal buffer.
Returns:
Pointer to the buffer
function getSize
This gets the amount of bytes currently stored in the buffer.
Returns:
The amount of bytes stored
function reset
function setMeasurement
Store a new measurement in the encoder buffer.
inline const uint8_t CayenneLPP::CayenneLPP::setMeasurement (
const uint8_t channel,
const Measurement_t * measurement
)
Returns:
The cursor position in the internal buffer
function ~CayenneLPP
The documentation for this class was generated from the following file src/CayenneLPP.hpp