mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-30 02:38:19 +02:00
Correct Kconfigs according to the coding style
This commit is contained in:
committed by
Euripedes Rocha
parent
7437dce403
commit
9726859fa3
@ -1,102 +1,103 @@
|
|||||||
menu "ESP-MQTT Configurations"
|
menu "ESP-MQTT Configurations"
|
||||||
|
|
||||||
config MQTT_PROTOCOL_311
|
config MQTT_PROTOCOL_311
|
||||||
bool "Enable MQTT protocol 3.1.1"
|
bool "Enable MQTT protocol 3.1.1"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
If not, this library will use MQTT protocol 3.1
|
If not, this library will use MQTT protocol 3.1
|
||||||
|
|
||||||
config MQTT_TRANSPORT_SSL
|
config MQTT_TRANSPORT_SSL
|
||||||
bool "Enable MQTT over SSL"
|
bool "Enable MQTT over SSL"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable MQTT transport over SSL with mbedtls
|
Enable MQTT transport over SSL with mbedtls
|
||||||
|
|
||||||
config MQTT_TRANSPORT_WEBSOCKET
|
config MQTT_TRANSPORT_WEBSOCKET
|
||||||
bool "Enable MQTT over Websocket"
|
bool "Enable MQTT over Websocket"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable MQTT transport over Websocket.
|
Enable MQTT transport over Websocket.
|
||||||
|
|
||||||
config MQTT_TRANSPORT_WEBSOCKET_SECURE
|
config MQTT_TRANSPORT_WEBSOCKET_SECURE
|
||||||
bool "Enable MQTT over Websocket Secure"
|
bool "Enable MQTT over Websocket Secure"
|
||||||
default y
|
default y
|
||||||
depends on MQTT_TRANSPORT_WEBSOCKET
|
depends on MQTT_TRANSPORT_WEBSOCKET
|
||||||
depends on MQTT_TRANSPORT_SSL
|
depends on MQTT_TRANSPORT_SSL
|
||||||
help
|
help
|
||||||
Enable MQTT transport over Websocket Secure.
|
Enable MQTT transport over Websocket Secure.
|
||||||
|
|
||||||
config MQTT_USE_CUSTOM_CONFIG
|
config MQTT_USE_CUSTOM_CONFIG
|
||||||
bool "MQTT Using custom configurations"
|
bool "MQTT Using custom configurations"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Custom MQTT configurations.
|
Custom MQTT configurations.
|
||||||
|
|
||||||
config MQTT_TCP_DEFAULT_PORT
|
config MQTT_TCP_DEFAULT_PORT
|
||||||
int "Default MQTT over TCP port"
|
int "Default MQTT over TCP port"
|
||||||
default 1883
|
default 1883
|
||||||
depends on MQTT_USE_CUSTOM_CONFIG
|
depends on MQTT_USE_CUSTOM_CONFIG
|
||||||
help
|
help
|
||||||
Default MQTT over TCP port
|
Default MQTT over TCP port
|
||||||
|
|
||||||
config MQTT_SSL_DEFAULT_PORT
|
config MQTT_SSL_DEFAULT_PORT
|
||||||
int "Default MQTT over SSL port"
|
int "Default MQTT over SSL port"
|
||||||
default 8883
|
default 8883
|
||||||
depends on MQTT_USE_CUSTOM_CONFIG
|
depends on MQTT_USE_CUSTOM_CONFIG
|
||||||
depends on MQTT_TRANSPORT_SSL
|
depends on MQTT_TRANSPORT_SSL
|
||||||
help
|
help
|
||||||
Default MQTT over SSL port
|
Default MQTT over SSL port
|
||||||
|
|
||||||
config MQTT_WS_DEFAULT_PORT
|
|
||||||
int "Default MQTT over Websocket port"
|
|
||||||
default 80
|
|
||||||
depends on MQTT_USE_CUSTOM_CONFIG
|
|
||||||
depends on MQTT_TRANSPORT_WEBSOCKET
|
|
||||||
help
|
|
||||||
Default MQTT over Websocket port
|
|
||||||
|
|
||||||
config MQTT_WSS_DEFAULT_PORT
|
config MQTT_WS_DEFAULT_PORT
|
||||||
int "Default MQTT over Websocket Secure port"
|
int "Default MQTT over Websocket port"
|
||||||
default 443
|
default 80
|
||||||
depends on MQTT_USE_CUSTOM_CONFIG
|
depends on MQTT_USE_CUSTOM_CONFIG
|
||||||
depends on MQTT_TRANSPORT_WEBSOCKET
|
depends on MQTT_TRANSPORT_WEBSOCKET
|
||||||
depends on MQTT_TRANSPORT_WEBSOCKET_SECURE
|
help
|
||||||
help
|
Default MQTT over Websocket port
|
||||||
Default MQTT over Websocket Secure port
|
|
||||||
|
|
||||||
config MQTT_BUFFER_SIZE
|
config MQTT_WSS_DEFAULT_PORT
|
||||||
int "Default MQTT Buffer Size"
|
int "Default MQTT over Websocket Secure port"
|
||||||
default 1024
|
default 443
|
||||||
depends on MQTT_USE_CUSTOM_CONFIG
|
depends on MQTT_USE_CUSTOM_CONFIG
|
||||||
help
|
depends on MQTT_TRANSPORT_WEBSOCKET
|
||||||
This buffer size using for both transmit and receive
|
depends on MQTT_TRANSPORT_WEBSOCKET_SECURE
|
||||||
|
help
|
||||||
|
Default MQTT over Websocket Secure port
|
||||||
|
|
||||||
config MQTT_TASK_STACK_SIZE
|
config MQTT_BUFFER_SIZE
|
||||||
int "MQTT task stack size"
|
int "Default MQTT Buffer Size"
|
||||||
default 6144
|
default 1024
|
||||||
depends on MQTT_USE_CUSTOM_CONFIG
|
depends on MQTT_USE_CUSTOM_CONFIG
|
||||||
help
|
help
|
||||||
MQTT task stack size
|
This buffer size using for both transmit and receive
|
||||||
|
|
||||||
config MQTT_TASK_CORE_SELECTION_ENABLED
|
config MQTT_TASK_STACK_SIZE
|
||||||
bool "Enable MQTT task core selection"
|
int "MQTT task stack size"
|
||||||
default false
|
default 6144
|
||||||
help
|
depends on MQTT_USE_CUSTOM_CONFIG
|
||||||
This will enable core selection
|
help
|
||||||
|
MQTT task stack size
|
||||||
|
|
||||||
choice MQTT_TASK_CORE_SELECTION
|
config MQTT_TASK_CORE_SELECTION_ENABLED
|
||||||
depends on MQTT_TASK_CORE_SELECTION_ENABLED
|
bool "Enable MQTT task core selection"
|
||||||
prompt "Core to use ?"
|
default false
|
||||||
config MQTT_USE_CORE_0
|
help
|
||||||
bool "Core 0"
|
This will enable core selection
|
||||||
config MQTT_USE_CORE_1
|
|
||||||
bool "Core 1"
|
|
||||||
endchoice
|
|
||||||
|
|
||||||
config MQTT_CUSTOM_OUTBOX
|
choice MQTT_TASK_CORE_SELECTION
|
||||||
bool "Enable custom outbox implementation"
|
depends on MQTT_TASK_CORE_SELECTION_ENABLED
|
||||||
default n
|
prompt "Core to use ?"
|
||||||
help
|
config MQTT_USE_CORE_0
|
||||||
Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or similar).
|
bool "Core 0"
|
||||||
|
config MQTT_USE_CORE_1
|
||||||
|
bool "Core 1"
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config MQTT_CUSTOM_OUTBOX
|
||||||
|
bool "Enable custom outbox implementation"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or
|
||||||
|
similar).
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
Reference in New Issue
Block a user