mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-08-02 12:15:11 +02:00
fixed default protocol is 3.11
This commit is contained in:
@@ -49,7 +49,7 @@ struct __attribute((__packed__)) mqtt_connect_variable_header
|
|||||||
{
|
{
|
||||||
uint8_t lengthMsb;
|
uint8_t lengthMsb;
|
||||||
uint8_t lengthLsb;
|
uint8_t lengthLsb;
|
||||||
#if defined(CONFIG_MQTT_PROTOCOL_311)
|
#if defined(MQTT_PROTOCOL_311)
|
||||||
uint8_t magic[4];
|
uint8_t magic[4];
|
||||||
#else
|
#else
|
||||||
uint8_t magic[6];
|
uint8_t magic[6];
|
||||||
|
Reference in New Issue
Block a user