20static const uint16_t MAX_PACKET_SIZE = 508;
21static const uint8_t FLAG_BYTE = 0x7E;
22static const uint8_t CONTROL_BYTE = 0x7D;
32 void send_packet(
const std::vector<uint8_t> &buf)
const override;
std::vector< uint8_t > receive_buffer_
size_t get_max_packet_size() override
void send_packet(const std::vector< uint8_t > &buf) const override
float get_setup_priority() const override
void write_byte_(uint8_t byte) const
Write a byte to the UART bus.
bool should_send() override
const float PROCESSOR
For components that use data from sensors like displays.
Providing packet encoding functions for exchanging data with a remote host.