mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
50b6b674cf
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.
24 lines
656 B
Plaintext
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
|