2020-05-14 06:03:56 +02:00
|
|
|
menu "ESP-NimBLE-CPP configuration"
|
|
|
|
|
2022-01-15 03:45:48 +01:00
|
|
|
choice NIMBLE_CPP_LOG_LEVEL
|
|
|
|
prompt "NimBLE CPP log verbosity"
|
|
|
|
default NIMBLE_CPP_LOG_LEVEL_NONE
|
|
|
|
help
|
|
|
|
Select NimBLE CPP log verbosity level.
|
|
|
|
|
|
|
|
config NIMBLE_CPP_LOG_LEVEL_NONE
|
|
|
|
bool "No logs"
|
|
|
|
config NIMBLE_CPP_LOG_LEVEL_ERROR
|
|
|
|
bool "Error logs"
|
|
|
|
config NIMBLE_CPP_LOG_LEVEL_WARNING
|
|
|
|
bool "Warning logs"
|
|
|
|
config NIMBLE_CPP_LOG_LEVEL_INFO
|
|
|
|
bool "Info logs"
|
|
|
|
config NIMBLE_CPP_LOG_LEVEL_DEBUG
|
|
|
|
bool "Debug logs"
|
|
|
|
endchoice #NIMBLE_CPP_LOG_LEVEL
|
|
|
|
|
|
|
|
config NIMBLE_CPP_LOG_LEVEL
|
|
|
|
int
|
|
|
|
default 0 if NIMBLE_CPP_LOG_LEVEL_NONE
|
|
|
|
default 1 if NIMBLE_CPP_LOG_LEVEL_ERROR
|
|
|
|
default 2 if NIMBLE_CPP_LOG_LEVEL_WARNING
|
|
|
|
default 3 if NIMBLE_CPP_LOG_LEVEL_INFO
|
|
|
|
default 4 if NIMBLE_CPP_LOG_LEVEL_DEBUG
|
|
|
|
|
2020-05-14 06:03:56 +02:00
|
|
|
config NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT
|
|
|
|
bool "Show NimBLE return codes as text in debug log."
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Enabling this option will display return code values as text
|
|
|
|
messages in the debug log. This will use approximately 8kB
|
|
|
|
of flash memory.
|
|
|
|
|
|
|
|
config NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT
|
|
|
|
bool "Show NimBLE gap events as text in debug log."
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Enabling this option will display gap event codes as text
|
|
|
|
messages in the debug log. This will use approximately 1kB
|
|
|
|
of flash memory.
|
|
|
|
|
|
|
|
config NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT
|
|
|
|
bool "Show advertisment types as text in debug log."
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Enabling this option will display advertisment types recieved
|
|
|
|
while scanning as text messages in the debug log.
|
|
|
|
This will use approximately 250 bytes of flash memory.
|
|
|
|
|
|
|
|
endmenu
|