aqhome: fixed mqtt message handling

PUBLISH: the message itself is NOT preceeded by size
This commit is contained in:
Martin Preuss
2023-05-24 23:07:45 +02:00
parent 1751170940
commit f0917064af
5 changed files with 152 additions and 12 deletions

View File

@@ -24,6 +24,9 @@ AQHOME_API GWEN_MSG *GWEN_PublishMqttMsg_new(uint8_t flags, uint16_t packetId,
AQHOME_API void AQH_PublishMqttMsg_DumpToBuffer(const GWEN_MSG *msg, GWEN_BUFFER *dbuf, const char *sText);
AQHOME_API char *AQH_PublishMqttMsg_ExtractTopic(const GWEN_MSG *msg);
AQHOME_API char *AQH_PublishMqttMsg_ExtractValue(const GWEN_MSG *msg);