TinyRobotics
Loading...
Searching...
No Matches
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:
Inheritance graph
[legend]
Collaboration diagram for ReadioHeadStream:
Collaboration graph
[legend]

Public Member Functions

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

Protected Attributes

RHGenericDriver * p_driver = nullptr
 
RxTxMode mode
 

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: