arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
ReadioHeadStream Class Reference

Arduino Stream which is using the RadioHead library to send and receive data. We use the river API directly. More...

#include <RadioHeadStream.h>

Inheritance diagram for ReadioHeadStream:
Stream Print

Public Member Functions

 ReadioHeadStream (RHGenericDriver &driver)
 
int available () override
 
int availableForWrite () override
 
bool begin ()
 
void end ()
 
virtual void flush ()
 
 operator bool ()
 
size_t readBytes (uint8_t *data, size_t len) override
 
void setDriver (RHGenericDriver &driver)
 
size_t write (const uint8_t *data, size_t len) override
 

Protected Attributes

int _timeout = 10
 
RxTxMode mode
 
RHGenericDriver * p_driver = nullptr
 

Detailed Description

Arduino Stream which is using the RadioHead library to send and receive data. We use the river API directly.

Author
Phil Schatzmann

The documentation for this class was generated from the following file: