esp_now_params.h File Reference

Parameters for the netdev interface for ESP-NOW WiFi P2P. More...

Detailed Description

Parameters for the netdev interface for ESP-NOW WiFi P2P.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file esp_now_params.h.

Go to the source code of this file.

Data Structures

struct  esp_now_params_t
 Struct holding all parameters needed for device initialization. More...
 

Macros

#define ESP_NOW_PARAMS
 Initializer for default configuration parameters. More...
 

Variables

static const esp_now_params_t esp_now_params = ESP_NOW_PARAMS
 Static configuration structure.
 

Set default configuration parameters for the ESP-NOW netdev driver

#define ESP_NOW_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)
 The size of the stack used for the ESP-NOW netdev driver thread.
 
#define ESP_NOW_PRIO   (GNRC_NETIF_PRIO)
 The priority of the ESP-NOW netdev driver thread. More...
 
#define ESP_NOW_SCAN_PERIOD   (10000000UL)
 Period in microseconds at which an ESP-NOW node scans for other ESP-NOW nodes in its range.
 
#define ESP_NOW_SOFT_AP_PASS   "ThisistheRIOTporttoESP"
 Passphrase used for the SoftAP interface of for all ESP-NOW nodes.
 
#define ESP_NOW_CHANNEL   (6)
 Channel used as broadcast medium by all ESP-NOW nodes together.
 
#define ESP_NOW_KEY   (NULL)
 Key used for the communication between ESP-NOW nodes. More...
 

Macro Definition Documentation

◆ ESP_NOW_PARAMS

#define ESP_NOW_PARAMS
Value:
{ .key = ESP_NOW_KEY, \
.scan_period = ESP_NOW_SCAN_PERIOD, \
.softap_pass = ESP_NOW_SOFT_AP_PASS, \
.channel = ESP_NOW_CHANNEL \
}

Initializer for default configuration parameters.

Definition at line 94 of file esp_now_params.h.

ESP_NOW_CHANNEL
#define ESP_NOW_CHANNEL
Channel used as broadcast medium by all ESP-NOW nodes together.
Definition: esp_now_params.h:68
ESP_NOW_SCAN_PERIOD
#define ESP_NOW_SCAN_PERIOD
Period in microseconds at which an ESP-NOW node scans for other ESP-NOW nodes in its range.
Definition: esp_now_params.h:52
ESP_NOW_KEY
#define ESP_NOW_KEY
Key used for the communication between ESP-NOW nodes.
Definition: esp_now_params.h:85
ESP_NOW_SOFT_AP_PASS
#define ESP_NOW_SOFT_AP_PASS
Passphrase used for the SoftAP interface of for all ESP-NOW nodes.
Definition: esp_now_params.h:60