mqtt: fixed connect issues.
no works with connectable endpoint code.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user