11 #include <stream_buffer.h>
17 #include <satcat5/pkt_buffer.h>
35 StreamBufferHandle_t* stream_buff_handle,
36 SemaphoreHandle_t* stream_buff_semphr);
46 StreamBufferHandle_t*
const m_handle;
47 SemaphoreHandle_t*
const m_semphr;
PacketBuffer to StreamBuffer adapter.
void data_rcvd(satcat5::io::Readable *src)
The data_rcvd() callback is polled whenever data is available.
StreamBuffer(u8 *txbuff, unsigned txbytes, StreamBufferHandle_t *stream_buff_handle, SemaphoreHandle_t *stream_buff_semphr)
Constructor requires a working buffer, plus handles for the FreeRTOS StreamBuffer and Semaphore.
Event-handler interface for newly received data.
The PacketBuffer class is a wrapper for a circular buffer, with optional logic to support retention o...
Abstract API for reading byte-streams and packets.
Wrapper class for forwarding writes to another object.
"Readable" I/O interface core definitions
"Writeable" I/O interface core definitions