Loading...
Searching...
No Matches
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.
 

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.
 
#define ESP_NOW_SCAN_PERIOD_MS   (10000UL)
 Period in milliseconds 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.
 

Macro Definition Documentation

◆ ESP_NOW_PARAMS

#define ESP_NOW_PARAMS
Value:
{ .key = ESP_NOW_KEY, \
.scan_period = ESP_NOW_SCAN_PERIOD_MS, \
.softap_pass = ESP_NOW_SOFT_AP_PASS, \
.channel = ESP_NOW_CHANNEL \
}
#define ESP_NOW_SOFT_AP_PASS
Passphrase used for the SoftAP interface of for all ESP-NOW nodes.
#define ESP_NOW_SCAN_PERIOD_MS
Period in milliseconds at which an ESP-NOW node scans for other ESP-NOW nodes in its range.
#define ESP_NOW_CHANNEL
Channel used as broadcast medium by all ESP-NOW nodes together.
#define ESP_NOW_KEY
Key used for the communication between ESP-NOW nodes.

Initializer for default configuration parameters.

Definition at line 94 of file esp_now_params.h.

Variable Documentation

◆ esp_now_params

const esp_now_params_t esp_now_params = ESP_NOW_PARAMS
static

Static configuration structure.

Definition at line 120 of file esp_now_params.h.