Simplified IPC code to use less different IPC messages. Share more code. More qork on MQTT code.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user