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

Packets (structs) that are used internally in the firmware, and can be changed freely. More...

#include <cs_PacketsInternal.h>

Public Member Functions

 cs_data_t ()
 < Length of data. More...
 
 cs_data_t (buffer_ptr_t buf, cs_buffer_size_t size)
 

Public Attributes

buffer_ptr_t data = nullptr
 
cs_buffer_size_t len = 0
 < Pointer to data. More...
 

Detailed Description

Packets (structs) that are used internally in the firmware, and can be changed freely.

This means packets that:

  • do not go over the air
  • do not go over uart
  • are not stored in flash

Constructors can be added, as they do not impact the size of the struct.

If the definition becomes large, move it to its own file and include it in this file. Variable length data encapsulation in terms of length and pointer to data.

Constructor & Destructor Documentation

◆ cs_data_t() [1/2]

< Length of data.

◆ cs_data_t() [2/2]

Member Data Documentation

◆ data

buffer_ptr_t cs_data_t::data = nullptr

◆ len

cs_buffer_size_t cs_data_t::len = 0

< Pointer to data.


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