2017-09-13 08:38:04 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
choice ESPNOW_WIFI_MODE
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "WiFi mode"
|
2019-05-09 10:43:06 -04:00
|
|
|
default ESPNOW_WIFI_MODE_STATION
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
WiFi mode(station or softap).
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config ESPNOW_WIFI_MODE_STATION
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Station"
|
2019-05-09 10:43:06 -04:00
|
|
|
config ESPNOW_WIFI_MODE_STATION_SOFTAP
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Softap"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ESPNOW_PMK
|
|
|
|
string "ESPNOW primary master key"
|
|
|
|
default "pmk1234567890123"
|
|
|
|
help
|
|
|
|
ESPNOW primary master for the example to use. The length of ESPNOW primary master must be 16 bytes.
|
|
|
|
|
|
|
|
config ESPNOW_LMK
|
|
|
|
string "ESPNOW local master key"
|
|
|
|
default "lmk1234567890123"
|
|
|
|
help
|
|
|
|
ESPNOW local master for the example to use. The length of ESPNOW local master must be 16 bytes.
|
|
|
|
|
|
|
|
config ESPNOW_CHANNEL
|
|
|
|
int "Channel"
|
|
|
|
default 1
|
2020-12-16 21:54:06 -05:00
|
|
|
range 0 14
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
The channel on which sending and receiving ESPNOW data.
|
|
|
|
|
|
|
|
config ESPNOW_SEND_COUNT
|
|
|
|
int "Send count"
|
|
|
|
default 100
|
|
|
|
range 1 65535
|
|
|
|
help
|
|
|
|
Total count of unicast ESPNOW data to be sent.
|
|
|
|
|
|
|
|
config ESPNOW_SEND_DELAY
|
|
|
|
int "Send delay"
|
|
|
|
default 1000
|
|
|
|
range 0 65535
|
|
|
|
help
|
|
|
|
Delay between sending two ESPNOW data, unit: ms.
|
|
|
|
|
|
|
|
config ESPNOW_SEND_LEN
|
|
|
|
int "Send len"
|
|
|
|
range 10 250
|
|
|
|
default 10
|
|
|
|
help
|
|
|
|
Length of ESPNOW data to be sent, unit: byte.
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config ESPNOW_ENABLE_LONG_RANGE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Enable Long Range"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
When enable long range, the PHY rate of ESP32 will be 512Kbps or 256Kbps
|
2018-10-23 22:31:58 -04:00
|
|
|
|
2023-05-16 05:56:34 -04:00
|
|
|
config ESPNOW_ENABLE_POWER_SAVE
|
|
|
|
bool "Enable ESPNOW Power Save"
|
|
|
|
default "n"
|
|
|
|
select ESP_WIFI_STA_DISCONNECTED_PM_ENABLE
|
|
|
|
depends on ESPNOW_WIFI_MODE_STATION
|
|
|
|
help
|
|
|
|
With ESPNOW power save enabled, chip would be able to wakeup and sleep periodically
|
|
|
|
Notice ESP_WIFI_STA_DISCONNECTED_PM_ENABLE is essential at Wi-Fi disconnected
|
|
|
|
|
|
|
|
config ESPNOW_WAKE_WINDOW
|
|
|
|
int "ESPNOW wake window, unit in millisecond"
|
|
|
|
range 0 65535
|
|
|
|
default 50
|
|
|
|
depends on ESPNOW_ENABLE_POWER_SAVE
|
|
|
|
help
|
|
|
|
ESPNOW wake window
|
|
|
|
|
|
|
|
config ESPNOW_WAKE_INTERVAL
|
|
|
|
int "ESPNOW wake interval, unit in millisecond"
|
|
|
|
range 1 65535
|
|
|
|
default 100
|
|
|
|
depends on ESPNOW_ENABLE_POWER_SAVE
|
|
|
|
help
|
|
|
|
ESPNOW wake interval
|
|
|
|
|
2017-09-13 08:38:04 -04:00
|
|
|
endmenu
|