Files
esp-mqtt/Kconfig
T
2016-09-11 21:42:34 +07:00

80 lines
1.8 KiB
Plaintext

menu "MQTT"
# This is actually also handled in the ESP32 startup code, not only in FreeRTOS.
config MQTT_PROTOCOL_311
bool "MQTT Protocol version 3.1.1"
default y
help
If disable, it will use MQTT protocol version 3.1
config MQTT_SECURITY_ON
bool "Enable MQTT over SSL"
default n
help
Enable MQTT Over SSL
config MQTT_PRIORITY
int "MQTT Task Priority"
range 1 15
default 5
config CONFIG_MQTT_LOG_ERROR_ON
bool "Enable MQTT Debug message"
default y
help
Disable it will redurce memory and run faster
config CONFIG_MQTT_LOG_WARN_ON
bool "Enable MQTT Warning message"
default y
help
Disable it will redurce memory and run faster
config CONFIG_MQTT_LOG_INFO_ON
bool "Enable MQTT Info message"
default y
help
Disable it will redurce memory and run faster
config MQTT_RECONNECT_TIMEOUT
int "Reconnect timeout (in second)"
range 10 16535
default 60
config MQTT_QUEUE_BUFFER_SIZE_WORD
int "Outbox queue buffer size in word (4 bytes)"
range 256 4096
default 1024
config MQTT_BUFFER_SIZE_BYTE
int "Network buffer size for MQTT in byte"
range 128 4096
default 1024
config MQTT_MAX_HOST_LEN
int "Maximum host name len - in byte"
range 32 256
default 64
config MQTT_MAX_CLIENT_LEN
int "Maximum client id len - in byte"
range 4 128
default 32
config MQTT_MAX_USERNAME_LEN
int "Maximum mqtt username len - in byte"
range 4 128
default 32
config MQTT_MAX_PASSWORD_LEN
int "Maximum mqtt password len - in byte"
range 4 128
default 32
config MQTT_MAX_LWT_TOPIC
int "Maximum mqtt lwt topic len - in byte"
range 4 128
default 32
config MQTT_MAX_LWT_MSG
int "Maximum mqtt lwt message len - in byte"
range 4 128
default 32
endmenu