Correct Kconfigs according to the coding style

This commit is contained in:
Roland Dobai
2019-01-25 17:10:53 +01:00
committed by Euripedes Rocha
parent 7437dce403
commit 9726859fa3

View File

@ -1,24 +1,24 @@
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
@ -26,20 +26,20 @@ config MQTT_TRANSPORT_WEBSOCKET_SECURE
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
@ -47,7 +47,7 @@ config MQTT_SSL_DEFAULT_PORT
help help
Default MQTT over SSL port Default MQTT over SSL port
config MQTT_WS_DEFAULT_PORT config MQTT_WS_DEFAULT_PORT
int "Default MQTT over Websocket port" int "Default MQTT over Websocket port"
default 80 default 80
depends on MQTT_USE_CUSTOM_CONFIG depends on MQTT_USE_CUSTOM_CONFIG
@ -55,7 +55,7 @@ config MQTT_WS_DEFAULT_PORT
help help
Default MQTT over Websocket port Default MQTT over Websocket port
config MQTT_WSS_DEFAULT_PORT config MQTT_WSS_DEFAULT_PORT
int "Default MQTT over Websocket Secure port" int "Default MQTT over Websocket Secure port"
default 443 default 443
depends on MQTT_USE_CUSTOM_CONFIG depends on MQTT_USE_CUSTOM_CONFIG
@ -64,27 +64,27 @@ config MQTT_WSS_DEFAULT_PORT
help help
Default MQTT over Websocket Secure port Default MQTT over Websocket Secure port
config MQTT_BUFFER_SIZE config MQTT_BUFFER_SIZE
int "Default MQTT Buffer Size" int "Default MQTT Buffer Size"
default 1024 default 1024
depends on MQTT_USE_CUSTOM_CONFIG depends on MQTT_USE_CUSTOM_CONFIG
help help
This buffer size using for both transmit and receive This buffer size using for both transmit and receive
config MQTT_TASK_STACK_SIZE config MQTT_TASK_STACK_SIZE
int "MQTT task stack size" int "MQTT task stack size"
default 6144 default 6144
depends on MQTT_USE_CUSTOM_CONFIG depends on MQTT_USE_CUSTOM_CONFIG
help help
MQTT task stack size MQTT task stack size
config MQTT_TASK_CORE_SELECTION_ENABLED config MQTT_TASK_CORE_SELECTION_ENABLED
bool "Enable MQTT task core selection" bool "Enable MQTT task core selection"
default false default false
help help
This will enable core selection This will enable core selection
choice MQTT_TASK_CORE_SELECTION choice MQTT_TASK_CORE_SELECTION
depends on MQTT_TASK_CORE_SELECTION_ENABLED depends on MQTT_TASK_CORE_SELECTION_ENABLED
prompt "Core to use ?" prompt "Core to use ?"
config MQTT_USE_CORE_0 config MQTT_USE_CORE_0
@ -93,10 +93,11 @@ choice MQTT_TASK_CORE_SELECTION
bool "Core 1" bool "Core 1"
endchoice endchoice
config MQTT_CUSTOM_OUTBOX config MQTT_CUSTOM_OUTBOX
bool "Enable custom outbox implementation" bool "Enable custom outbox implementation"
default n default n
help help
Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or similar). Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or
similar).
endmenu endmenu