BCNP 3.2.1
Batched Command Network Protocol
Loading...
Searching...
No Matches
Protocol Constants (V3)

Wire format constants for BCNP protocol version 3. More...

Variables

constexpr std::size_t bcnp::kChecksumSize = 4
 Size of CRC32 checksum in bytes.
 
constexpr std::size_t bcnp::kMaxMessagesPerPacket = 65535
 Maximum number of messages allowed in a single packet.
 
constexpr uint8_t bcnp::kFlagClearQueue = 0x01
 Packet flag: Clear command queue before processing this packet.
 
constexpr uint8_t bcnp::kProtocolMajor = kProtocolMajorV3
 Current protocol major version.
 
constexpr uint8_t bcnp::kProtocolMinor = kProtocolMinorV3
 Current protocol minor version.
 
constexpr std::size_t bcnp::kHeaderSize = kHeaderSizeV3
 Size of packet header in bytes.
 

Detailed Description

Wire format constants for BCNP protocol version 3.

Variable Documentation

◆ kChecksumSize

std::size_t bcnp::kChecksumSize = 4
constexpr

Size of CRC32 checksum in bytes.

Definition at line 31 of file packet.h.

◆ kFlagClearQueue

uint8_t bcnp::kFlagClearQueue = 0x01
constexpr

Packet flag: Clear command queue before processing this packet.

Definition at line 37 of file packet.h.

◆ kHeaderSize

std::size_t bcnp::kHeaderSize = kHeaderSizeV3
constexpr

Size of packet header in bytes.

Definition at line 46 of file packet.h.

◆ kMaxMessagesPerPacket

std::size_t bcnp::kMaxMessagesPerPacket = 65535
constexpr

Maximum number of messages allowed in a single packet.

Definition at line 34 of file packet.h.

◆ kProtocolMajor

uint8_t bcnp::kProtocolMajor = kProtocolMajorV3
constexpr

Current protocol major version.

Definition at line 40 of file packet.h.

◆ kProtocolMinor

uint8_t bcnp::kProtocolMinor = kProtocolMinorV3
constexpr

Current protocol minor version.

Definition at line 43 of file packet.h.