Add mqtt connect msg

This commit is contained in:
Tuan PM
2016-09-11 21:42:34 +07:00
parent 89479c5734
commit eb1595f1e8
4 changed files with 189 additions and 9 deletions
+12 -2
View File
@@ -9,10 +9,15 @@ config MQTT_PROTOCOL_311
config MQTT_SECURITY_ON
bool "Enable MQTT over SSL"
default y
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
@@ -29,7 +34,7 @@ config CONFIG_MQTT_LOG_INFO_ON
help
Disable it will redurce memory and run faster
config MQTT_RECONNECT_TIMEOUT
int "Reconnect timeout"
int "Reconnect timeout (in second)"
range 10 16535
default 60
@@ -38,6 +43,11 @@ config MQTT_QUEUE_BUFFER_SIZE_WORD
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