mqtt: fixed connect issues.

no works with connectable endpoint code.
This commit is contained in:
Martin Preuss
2023-04-25 00:36:40 +02:00
parent 7c946e50e8
commit 2bc1752597
2 changed files with 73 additions and 4 deletions

View File

@@ -12,6 +12,8 @@
#include "aqhome/mqtt/endpoint_mqttc.h"
#include <gwenhywfar/endpoint_connectable.h>
typedef struct AQH_ENDPOINT_MQTTC AQH_ENDPOINT_MQTTC;
struct AQH_ENDPOINT_MQTTC {
@@ -21,6 +23,7 @@ struct AQH_ENDPOINT_MQTTC {
uint16_t keepAliveTime;
GWEN_MSG_ENDPOINT_RUN_FN previousRunFn;
GWEN_CONN_ENDPOINT_CONNECT_FN previousConnectFn;
};