#include <binary_protocol.h>
◆ protocol()
uint8_t BinaryStream::Packet::Header::protocol |
( |
| ) |
|
242 {
return (
meta >> 4) & 0xF; }
◆ type()
uint8_t BinaryStream::Packet::Header::type |
( |
| ) |
|
243 {
return meta & 0xF; }
◆ reset()
void BinaryStream::Packet::Header::reset |
( |
| ) |
|
◆ HEADER_TOKEN
constexpr uint16_t BinaryStream::Packet::Header::HEADER_TOKEN = 0xB5AD |
|
staticconstexpr |
◆ token
uint16_t BinaryStream::Packet::Header::token |
◆ sync
uint8_t BinaryStream::Packet::Header::sync |
◆ meta
uint8_t BinaryStream::Packet::Header::meta |
◆ size
uint16_t BinaryStream::Packet::Header::size |
◆ checksum
uint16_t BinaryStream::Packet::Header::checksum |
◆ @20
◆ data
uint8_t BinaryStream::Packet::Header::data[1] |