Simplified IPC code to use less different IPC messages. Share more code. More qork on MQTT code.

This commit is contained in:
Martin Preuss
2023-10-01 21:31:02 +02:00
parent 0f896c1729
commit 1e27223dfa
50 changed files with 1326 additions and 698 deletions

View File

@@ -13,6 +13,7 @@
#include "aqhome/mqtt/msg_mqtt.h"
#include <gwenhywfar/text.h>
#include <gwenhywfar/debug.h>
#include <string.h>
@@ -84,6 +85,10 @@ int AQH_MqttMsg_IsMsgComplete(const GWEN_MSG *msg)
void AQH_MqttMsg_DumpToBuffer(const GWEN_MSG *msg, GWEN_BUFFER *dbuf, const char *sText)
{
GWEN_Text_DumpString2Buffer((const char*) GWEN_Msg_GetConstBuffer(msg),
GWEN_Msg_GetBytesInBuffer(msg),
dbuf,
2);
}