A buffer class that efficiently represents a composite buffer with three sections:
A class that will transport data to and from an abstract channel.
PacketInterface(size_t max_packet_size)
A packet interface for sending and receiving framed packets over a UART connection.
const std::span< uint8_t > rx_buffer_
bool send_to_interface(const packet_interface::PacketBuffer &data, const packet_interface::PacketMetaData &meta_data) override
UartPacketInterface(std::span< uint8_t > rx_buffer)
void handle_rx_byte_(uint8_t byte)