aqhome: completed adapting to msgio2 interface.
This commit is contained in:
@@ -305,7 +305,7 @@ GWEN_MSG *AQH_MqttEndpoint2_CreateMsgPublishString(GWEN_MSG_ENDPOINT2 *ep,
|
||||
valuePath);
|
||||
|
||||
DBG_INFO(AQH_LOGDOMAIN, "MQTT PUBLISH %s: %s", GWEN_Buffer_GetStart(bufTopic), v);
|
||||
pubMsg=GWEN_PublishMqttMsg_new(0, 0, GWEN_Buffer_GetStart(bufTopic), (const uint8_t*) v, strlen(v));
|
||||
pubMsg=AQH_PublishMqttMsg_new(0, 0, GWEN_Buffer_GetStart(bufTopic), (const uint8_t*) v, strlen(v));
|
||||
GWEN_Buffer_free(bufTopic);
|
||||
if (pubMsg==NULL) {
|
||||
DBG_INFO(AQH_LOGDOMAIN, "here");
|
||||
|
||||
Reference in New Issue
Block a user