Merge branch 'feature/protocol_ver_rt_cfg' into 'master'

MQTT: Add runtime selection of mqtt protocol version

See merge request espressif/esp-mqtt!54
This commit is contained in:
David Čermák
2020-01-20 16:41:55 +08:00
5 changed files with 66 additions and 38 deletions

View File

@ -4,6 +4,7 @@
#include <stdbool.h>
#include "mqtt_config.h"
#include "mqtt_client.h"
#ifdef __cplusplus
extern "C" {
#endif
@ -87,6 +88,7 @@ typedef struct mqtt_connect_info {
int will_qos;
int will_retain;
int clean_session;
esp_mqtt_protocol_ver_t protocol_ver;
} mqtt_connect_info_t;