aqhomed, aqhome: added MQTT endpoint, publish value changes via MQTT.

This commit is contained in:
Martin Preuss
2023-03-29 16:46:32 +02:00
parent 40c3a3ee4e
commit bb3d194b5a
8 changed files with 538 additions and 24 deletions

View File

@@ -15,7 +15,12 @@
typedef struct AQH_ENDPOINT_MQTTC AQH_ENDPOINT_MQTTC;
struct AQH_ENDPOINT_MQTTC {
int dummy;
char *clientId;
char *topicPrefix;
uint16_t lastPacketId;
uint16_t keepAliveTime;
GWEN_MSG_ENDPOINT_RUN_FN previousRunFn;
};