19#ifndef ESP_NOW_PARAMS_H
20#define ESP_NOW_PARAMS_H
22#if defined(MODULE_ESP_NOW) || defined(DOXYGEN)
33#ifndef ESP_NOW_STACKSIZE
34#define ESP_NOW_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
43#define ESP_NOW_PRIO (GNRC_NETIF_PRIO)
51#ifndef ESP_NOW_SCAN_PERIOD_MS
52#define ESP_NOW_SCAN_PERIOD_MS (10000UL)
59#ifndef ESP_NOW_SOFT_AP_PASS
60#define ESP_NOW_SOFT_AP_PASS "ThisistheRIOTporttoESP"
67#ifndef ESP_NOW_CHANNEL
68#define ESP_NOW_CHANNEL (6)
85#define ESP_NOW_KEY (NULL)
94#define ESP_NOW_PARAMS { .key = ESP_NOW_KEY, \
95 .scan_period = ESP_NOW_SCAN_PERIOD_MS, \
96 .softap_pass = ESP_NOW_SOFT_AP_PASS, \
97 .channel = ESP_NOW_CHANNEL \
#define ESP_NOW_PARAMS
Initializer for default configuration parameters.
static const esp_now_params_t esp_now_params
Static configuration structure.
Struct holding all parameters needed for device initialization.
const uint8_t * key
key of type uint8_t [16] or NULL (no encryption)
const char * softap_pass
Passphrase used for the SoftAP interface.
uint8_t channel
Channel used for ESP-NOW nodes.
uint32_t scan_period
Period at which the node scans for other nodes.