aqhome-nodes: re-implemented setdata request received via broker.
This commit is contained in:
@@ -264,12 +264,14 @@ GWEN_MSG_ENDPOINT *AQH_IpcEndpoint_CreateIpcTcpServiceForSocket(GWEN_SOCKET *sk,
|
||||
|
||||
void AQH_IpcEndpoint_SendResponseResult(GWEN_MSG_ENDPOINT *ep, uint32_t refMsgId, uint16_t code, uint32_t resultCode)
|
||||
{
|
||||
GWEN_MSG *msgOut;
|
||||
uint32_t msgId;
|
||||
if (ep) {
|
||||
GWEN_MSG *msgOut;
|
||||
uint32_t msgId;
|
||||
|
||||
msgId=GWEN_MsgEndpoint_GetNextMessageId(ep);
|
||||
msgOut=AQH_ResultIpcMsg_new(code, msgId, refMsgId, resultCode);
|
||||
GWEN_MsgEndpoint_AddSendMessage(ep, msgOut);
|
||||
msgId=GWEN_MsgEndpoint_GetNextMessageId(ep);
|
||||
msgOut=AQH_ResultIpcMsg_new(code, msgId, refMsgId, resultCode);
|
||||
GWEN_MsgEndpoint_AddSendMessage(ep, msgOut);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user