arduino-audio-tools
|
Public Member Functions | |
virtual bool | processCommand (const char *input, Print &result)=0 |
virtual bool | processCommand (Stream &input, Print &result) |
Proceess commands passed by Stream (e.g. Serial) | |
void | setMaxInputBufferSize (int size) |
Defines the input buffer size used by the readLine function (default 256) | |
virtual void | setPlayer (AudioPlayer &player) |
Defines the player. | |
Protected Member Functions | |
int | readLine (Stream &in, char *str, int max) |
Reads a line delimited by ' ' from the stream. | |
Protected Attributes | |
int | max_input_buffer_size = 256 |
AudioPlayer * | p_player = nullptr |
|
pure virtual |
processes the commands and returns the result output via the Print object
Implemented in KARadioProtocol.
Proceess commands passed by Stream (e.g. Serial)
Reimplemented in KARadioProtocol.
|
inlinevirtual |
Defines the player.
Reimplemented in KARadioProtocol.