Class espos_voice::EventDecoder
ClassList > espos_voice > EventDecoder
#include <espos_voice/protocol/framing.h>
Public Types
Public Static Attributes
Public Functions
| Type |
Name |
| bool |
failed () const
|
| bool |
feed (const uint8_t * chunk, size_t len, EventFn on_event, void * ctx)
|
Public Types Documentation
typedef EventFn
using espos_voice::EventDecoder::EventFn = bool (*)(void* ctx, const DecodedEvent& ev);
Public Static Attributes Documentation
variable kMaxDataBytes
constexpr size_t espos_voice::EventDecoder::kMaxDataBytes;
constexpr size_t espos_voice::EventDecoder::kMaxHeaderBytes;
variable kMaxPayloadBytes
constexpr size_t espos_voice::EventDecoder::kMaxPayloadBytes;
Public Functions Documentation
function failed
inline bool espos_voice::EventDecoder::failed () const
function feed
bool espos_voice::EventDecoder::feed (
const uint8_t * chunk,
size_t len,
EventFn on_event,
void * ctx
)
The documentation for this class was generated from the following file espos_voice/include/espos_voice/protocol/framing.h