arduino-audio-tools
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Variables
ESPNowStream.h File Reference
#include <WiFi.h>
#include <esp_now.h>
#include <esp_wifi.h>
#include "AudioTools/Concurrency/RTOS.h"
#include "AudioTools/CoreAudio/AudioBasic/StrView.h"
#include "AudioTools/CoreAudio/BaseStream.h"

Go to the source code of this file.

Classes

class  ESPNowStream
 ESPNow as Arduino Stream. When use_send_ack is true we prevent any buffer overflows by blocking writes until the previous packet has been confirmed. When no acknowledgments are used, you might need to throttle the send speed to prevent any buffer overflow on the receiver side. More...
 
struct  ESPNowStreamConfig
 Configuration for ESP-NOW protocolö.W. More...
 

Namespaces

namespace  audio_tools
 Generic Implementation of sound input and output for desktop environments using portaudio.
 

Macros

#define MY_ESP_NOW_BUFFER_COUNT   (MY_ESP_NOW_BUFFER_SIZE / MY_ESP_NOW_MAX_LEN)
 
#define MY_ESP_NOW_BUFFER_SIZE   (240 * 400)
 
#define MY_ESP_NOW_MAX_LEN   ESP_NOW_MAX_DATA_LEN
 

Variables

static const uint8_t BROADCAST_MAC [6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}
 
static const charBROADCAST_MAC_STR = "FF:FF:FF:FF:FF:FF"
 
static ESPNowStreamESPNowStreamSelf = nullptr
 

Macro Definition Documentation

◆ MY_ESP_NOW_BUFFER_COUNT

#define MY_ESP_NOW_BUFFER_COUNT   (MY_ESP_NOW_BUFFER_SIZE / MY_ESP_NOW_MAX_LEN)

◆ MY_ESP_NOW_BUFFER_SIZE

#define MY_ESP_NOW_BUFFER_SIZE   (240 * 400)

◆ MY_ESP_NOW_MAX_LEN

#define MY_ESP_NOW_MAX_LEN   ESP_NOW_MAX_DATA_LEN