|
virtual void | addNotifyAudioChange (AudioInfoSupport &bi) |
| Adds target to be notified about audio changes.
|
|
bool | addPeer (const char *address) |
| Adds a peer to which we can send info or from which we can receive info.
|
|
bool | addPeer (esp_now_peer_info_t &peer) |
| Adds a peer to which we can send info or from which we can receive info.
|
|
template<size_t size> |
bool | addPeers (const char *(&array)[size]) |
| Adds an array of.
|
|
virtual AudioInfo | audioInfo () override |
| provides the actual input AudioInfo
|
|
virtual AudioInfo | audioInfoOut () |
| provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
|
|
int | available () override |
|
int | availableForWrite () override |
|
bool | begin () |
| Initialization of ESPNow.
|
|
bool | begin (ESPNowStreamConfig cfg) |
| Initialization of ESPNow incl WIFI.
|
|
virtual void | clearNotifyAudioChange () |
| Deletes all change notify subscriptions.
|
|
ESPNowStreamConfig | defaultConfig () |
|
void | end () |
| DeInitialization.
|
|
virtual void | flush () override |
|
bool | isNotifyActive () |
| Checks if the automatic AudioInfo update is active.
|
|
const char * | macAddress () |
| Returns the mac address of the current ESP32.
|
|
| operator bool () |
|
size_t | readBytes (uint8_t *data, size_t len) override |
| Reeds the data from the peers.
|
|
virtual size_t | readSilence (uint8_t *buffer, size_t length) |
| Source to generate silence: just sets the buffer to 0.
|
|
virtual bool | removeNotifyAudioChange (AudioInfoSupport &bi) |
| Removes a target in order not to be notified about audio changes.
|
|
virtual void | setAudioInfo (AudioInfo newInfo) override |
| Defines the input AudioInfo.
|
|
void | setNotifyActive (bool flag) |
| Deactivate/Reactivate automatic AudioInfo updates: (default is active)
|
|
void | setReceiveCallback (esp_now_recv_cb_t cb) |
|
void | setSendCallback (esp_now_send_cb_t cb) |
| Defines an alternative send callback.
|
|
size_t | write (const uint8_t *data, size_t len) override |
| Writes the data - sends it to all the peers.
|
|
virtual size_t | write (uint8_t ch) override |
|
virtual void | writeSilence (size_t len) |
| Writes len bytes of silence (=0).
|
|
ESPNow as Arduino Stream.
- Author
- Phil Schatzmann
- Copyright
- GPLv3