esp-idf/examples/openthread/ot_cli/main/Kconfig.projbuild
Shu Chen 50b6b674cf openthread: simplify ot_cli example configuration
Use single ESP_EXTENSION_IN_OPENTHREAD_CLI config option to enable/disable
extended features. It will be pure ot_cli example if it's disabled.
2021-07-19 19:37:49 +08:00

24 lines
656 B
Plaintext

menu "OpenThread CLI Example"
config OPENTHREAD_CLI_ESP_EXTENSION
bool "Enable Espressif's extended features"
default y
help
Enable Espressif's extended features include TCP socket, UDP socket.
config OPENTHREAD_CLI_TCP_SERVER_PORT
int "the port of TCP server"
default 12345
depends on OPENTHREAD_CLI_ESP_EXTENSION
help
Set the connect port of socket
config OPENTHREAD_CLI_UDP_SERVER_PORT
int "the port of UDP server"
default 54321
depends on OPENTHREAD_CLI_ESP_EXTENSION
help
Set the connect port of socket
endmenu