|
Arduino PulseWire Transceiver Library
|
Abstract base class for defining transmission protocols. More...
#include <TxProtocol.h>

Public Member Functions | |
| virtual bool | begin (uint16_t bitFrequencyHz, Codec *p_codec, uint8_t pin)=0 |
| virtual void | setFrameSize (uint16_t size)=0 |
| virtual void | sendPreamble ()=0 |
| virtual void | sendData (const uint8_t *data, uint8_t len)=0 |
| virtual void | sendEnd (bool &_useChecksum, bool isDelayAfterFrame)=0 |
| virtual bool | isFrameClosed () const =0 |
Abstract base class for defining transmission protocols.
The TxProtocol class provides an interface for implementing various transmission protocols. It defines the essential methods required for managing the transmission of data, including preamble, data, and end signals.
Responsibilities of the TxProtocol class include:
This class is designed to be extended by specific protocol implementations that define the behavior of these methods.
Definition at line 125 of file TxProtocol.h.
|
pure virtual |
Implemented in pulsewire::TxProtocolGeneric.
Implemented in pulsewire::TxProtocolGeneric.
Implemented in pulsewire::TxProtocolGeneric.
|
pure virtual |
Implemented in pulsewire::TxProtocolGeneric.
Implemented in pulsewire::TxProtocolGeneric.
Implemented in pulsewire::TxProtocolGeneric.