Files
aqhomecontrol/aqhome/mqtt/endpoint_mqttc_p.h
Martin Preuss 2bc1752597 mqtt: fixed connect issues.
no works with connectable endpoint code.
2023-04-25 00:36:40 +02:00

35 lines
815 B
C

/****************************************************************************
* This file is part of the project AqHome.
* AqHome (c) by 2023 Martin Preuss, all rights reserved.
*
* The license for this file can be found in the file COPYING which you
* should have received along with this file.
****************************************************************************/
#ifndef AQH_ENDPOINT_MQTTC_P_H
#define AQH_ENDPOINT_MQTTC_P_H
#include "aqhome/mqtt/endpoint_mqttc.h"
#include <gwenhywfar/endpoint_connectable.h>
typedef struct AQH_ENDPOINT_MQTTC AQH_ENDPOINT_MQTTC;
struct AQH_ENDPOINT_MQTTC {
char *clientId;
char *topicPrefix;
uint16_t lastPacketId;
uint16_t keepAliveTime;
GWEN_MSG_ENDPOINT_RUN_FN previousRunFn;
GWEN_CONN_ENDPOINT_CONNECT_FN previousConnectFn;
};
#endif