clarify unsupported transport modes
This commit is contained in:
parent
d6c593b722
commit
166474b9f1
|
@ -1,10 +1,12 @@
|
|||
# MQTT Module
|
||||
| Since | Origin / Contributor | Maintainer | Source |
|
||||
| :----- | :-------------------- | :---------- | :------ |
|
||||
| 2015-01-23 | [Stephen Robinson](https://github.com/esar/contiki-mqtt), [Tuan PM](https://github.com/tuanpmt/esp_mqtt) | [Vowstar](https://github.com/vowstar) | [mqtt.c](../../../app/modules/mqtt.c)|
|
||||
| 2018-10-08 | [Tuan PM](https://github.com/tuanpmt/esp_mqtt), [Espressif](https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/protocols/mqtt.html) | | [mqtt.c](../../../components/modules/mqtt.c)|
|
||||
|
||||
The client supports version 3.1 and 3.1.1 of the [MQTT](https://en.wikipedia.org/wiki/MQTT) protocol. Make sure that the correct version is set with `make menuconfig` -> "Component config" -> "ESP-MQTT Configurations" -> "Enable MQTT protocol 3.1.1".
|
||||
|
||||
The client adheres to version 3.1.1 of the [MQTT](https://en.wikipedia.org/wiki/MQTT) protocol. Make sure that your broker supports and is correctly configured for version 3.1.1. The client is backwards incompatible with brokers running MQTT 3.1.
|
||||
!!! note "Unsupported transport modes"
|
||||
Even though the MQTT configuration offers the transport modes Websocket and Websocket Secure, they are currently not supported by the `mqtt` module.
|
||||
|
||||
## mqtt.Client()
|
||||
|
||||
|
|
|
@ -22,8 +22,7 @@ CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED=y
|
|||
# Enable panic handler for task wdt to reset the firmware upon wdt timeout
|
||||
CONFIG_TASK_WDT_PANIC=y
|
||||
|
||||
# Disable the MQTT client from esp-idf, we have our own implementation atm
|
||||
CONFIG_MQTT_PROTOCOL_311=n
|
||||
# Disable advanced features by default
|
||||
CONFIG_MQTT_TRANSPORT_SSL=n
|
||||
CONFIG_MQTT_TRANSPORT_WEBSOCKET=n
|
||||
CONFIG_MQTT_USE_CUSTOM_CONFIG=n
|
||||
|
|
Loading…
Reference in New Issue