arduino-audio-tools
|
High-Level Data Link Control (HDLC) is a bit-oriented code-transparent synchronous data link layer protocol. More...
#include <HDLCStream.h>
Public Member Functions | |
HDLCStream (Print &out, uint16_t max_frame_length) | |
Defines the output for the hdlc encoding. | |
HDLCStream (Stream &io, uint16_t max_frame_length) | |
Defines the input for the hdlc decoding. | |
int | available () override |
int | availableForWrite () override |
bool | begin () |
void | end () |
virtual void | flush () |
operator bool () | |
int | peek () override |
not supported | |
int | read () override |
size_t | readBytes (uint8_t *data, size_t len) override |
Provides the decoded data. | |
void | setOutput (Print &out) |
void | setStream (Print &out) |
void | setStream (Stream &io) |
size_t | write (const uint8_t *data, size_t len) override |
Sends the encoded data to the defined output. | |
size_t | write (uint8_t ch) override |
Protected Attributes | |
int | _timeout = 10 |
High-Level Data Link Control (HDLC) is a bit-oriented code-transparent synchronous data link layer protocol.