16 void setup()
override;
23 void send_packet(
const std::vector<uint8_t> &buf)
const override;
A buffer class that efficiently represents a composite buffer with three sections:
A class that will transport data to and from an abstract channel.
size_t get_max_packet_size() const
The largest packet this layer accepts; fixed when the layer is constructed.
PacketInterface * top()
The topmost layer stacked on this one, or this one if nothing is stacked on it.
A transport protocol adapter that bridges PacketInterface to PacketTransport.
void send_packet(const std::vector< uint8_t > &buf) const override
float get_setup_priority() const override
void receive_(const PacketBuffer &data)
PacketInterface * interface_
size_t get_max_packet_size() override
PacketInterfaceTransport(PacketInterface *interface)
constexpr float PROCESSOR
For components that use data from sensors like displays.