Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_ControlPacketAccessor.h File Reference
#include <cfg/cs_StaticConfig.h>
#include <logging/cs_Logger.h>
#include <protocol/cs_ErrorCodes.h>
#include <structs/cs_BufferAccessor.h>
#include <structs/cs_PacketsInternal.h>
#include <util/cs_Error.h>
#include <cstdint>
Include dependency graph for cs_ControlPacketAccessor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ControlPacketAccessor< PAYLOAD_SIZE >
 

Variables

static constexpr size_t CS_CONTROL_PACKET_DEFAULT_PAYLOAD_SIZE
 Default payload size for a control packet. More...
 

Variable Documentation

◆ CS_CONTROL_PACKET_DEFAULT_PAYLOAD_SIZE

constexpr size_t CS_CONTROL_PACKET_DEFAULT_PAYLOAD_SIZE
staticconstexpr
Initial value:
=
(g_CS_CHAR_WRITE_BUF_SIZE - sizeof(control_packet_header_t))
Header of a control packet.
Definition: cs_Packets.h:86

Default payload size for a control packet.

Requires CS_CHAR_WRITE_BUF_SIZE to be defined.