mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-06-25 17:31:33 +02:00
fix(mqtt_cxx): Removes unused type for configuration
Event type was introduced in the original version and wasn't used in the code. In 5.1 the leftover type was removed from esp_mqtt breaking this wrapper.
This commit is contained in:
@ -166,11 +166,6 @@ struct ClientCredentials {
|
|||||||
std::optional<std::string > client_id = std::nullopt;
|
std::optional<std::string > client_id = std::nullopt;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Event {
|
|
||||||
mqtt_event_callback_t event_handle; /*!< handle for MQTT events as a callback in legacy mode */
|
|
||||||
esp_event_loop_handle_t event_loop_handle; /*!< handle for MQTT event loop library */
|
|
||||||
};
|
|
||||||
|
|
||||||
struct LastWill {
|
struct LastWill {
|
||||||
const char *lwt_topic; /*!< LWT (Last Will and Testament) message topic (NULL by default) */
|
const char *lwt_topic; /*!< LWT (Last Will and Testament) message topic (NULL by default) */
|
||||||
const char *lwt_msg; /*!< LWT message (NULL by default) */
|
const char *lwt_msg; /*!< LWT message (NULL by default) */
|
||||||
@ -201,7 +196,6 @@ struct Connection {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct Configuration {
|
struct Configuration {
|
||||||
Event event;
|
|
||||||
Task task;
|
Task task;
|
||||||
Session session;
|
Session session;
|
||||||
Connection connection;
|
Connection connection;
|
||||||
|
Reference in New Issue
Block a user