30 #ifndef FIRMWARE_SRC_STREAM_DECODER_H_
31 #define FIRMWARE_SRC_STREAM_DECODER_H_
47 const uint8_t* payload;
94 #endif // FIRMWARE_SRC_STREAM_DECODER_H_
uint8_t token
The token associated with this message.
Definition: stream_decoder.h:44
void StreamDecoder_ClearFragmentedFrameFlag()
Clear the fragmented frame flag.
void(* MessageHandler)(const Message *)
A function pointer used to handle new messages.
Definition: stream_decoder.h:55
void StreamDecoder_Initialize(MessageHandler handler)
Initialize the Stream Decoder.
A de-serialized message.
Definition: message.h:39
bool StreamDecoder_GetFragmentedFrameFlag()
Get the value of the fragmented frame flag.
void StreamDecoder_Process(const uint8_t *data, unsigned int size)
Decode data from an input stream.