diff --git a/apps/aqhome-nodes/loop_ipc.c b/apps/aqhome-nodes/loop_ipc.c index cab159a..a20a889 100644 --- a/apps/aqhome-nodes/loop_ipc.c +++ b/apps/aqhome-nodes/loop_ipc.c @@ -99,7 +99,7 @@ void _handleIpcMsg(AQHOMED *aqh, GWEN_MSG_ENDPOINT *ep, const GWEN_MSG *msg) /* exec IPC message */ code=GWEN_IpcMsg_GetCode(msg); - DBG_ERROR(AQH_LOGDOMAIN, "Received IPC packet"); + DBG_DEBUG(AQH_LOGDOMAIN, "Received IPC packet"); switch(code) { case AQH_MSGTYPE_IPC_NODES_PING: _handleIpcMsgPing(aqh, ep, msg); break; case AQH_MSGTYPE_IPC_NODES_SETACCMSGGRPS: _handleIpcMsgSetAccMsgGrps(aqh, ep, msg); break; @@ -116,7 +116,7 @@ void _handleIpcMsgPing(AQHOMED *aqh, GWEN_MSG_ENDPOINT *ep, const GWEN_MSG *msg) if (aqh->ttyEndpoint && GWEN_MsgEndpoint_GetState(aqh->ttyEndpoint)==GWEN_MSG_ENDPOINT_STATE_CONNECTED) { GWEN_MSG *msgOut; - DBG_ERROR(AQH_LOGDOMAIN, "Received IPC PING message"); + DBG_DEBUG(AQH_LOGDOMAIN, "Received IPC PING message"); msgOut=AQH_PingMsg_new(aqh->nodeAddress, AQH_PingIpcMsg_GetDestAddr(msg), AQH_MSG_TYPE_PING); GWEN_MsgEndpoint_AddSendMessage(aqh->ttyEndpoint, msgOut); } @@ -128,7 +128,7 @@ void _handleIpcMsgSetAccMsgGrps(AQHOMED *aqh, GWEN_MSG_ENDPOINT *ep, const GWEN_ { uint32_t groups; - DBG_ERROR(AQH_LOGDOMAIN, "Received IPC SET_ACCEPTED_MSG_GROUPS message"); + DBG_DEBUG(AQH_LOGDOMAIN, "Received IPC SET_ACCEPTED_MSG_GROUPS message"); groups=AQH_SetAcceptedMsgGroupsIpcMsg_GetMsgGroups(msg); AQH_IpcEndpoint_SetAcceptedMsgGroups(ep, groups); // TODO: send response? @@ -141,7 +141,7 @@ void _handleIpcMsgForward(AQHOMED *aqh, GWEN_MSG_ENDPOINT *ep, const GWEN_MSG *m if (aqh->ttyEndpoint && GWEN_MsgEndpoint_GetState(aqh->ttyEndpoint)==GWEN_MSG_ENDPOINT_STATE_CONNECTED) { GWEN_MSG *msgOut; - DBG_ERROR(AQH_LOGDOMAIN, "Received IPC FORWARD message"); + DBG_DEBUG(AQH_LOGDOMAIN, "Received IPC FORWARD message"); msgOut=AQH_ForwardIpcMsg_GetCopyOfNodeMsg(msg); if (msgOut) GWEN_MsgEndpoint_AddSendMessage(aqh->ttyEndpoint, msgOut); @@ -154,7 +154,7 @@ void _handleIpcMsgGetDevicesReq(AQHOMED *aqh, GWEN_MSG_ENDPOINT *ep, const GWEN_ { AQH_NODE_INFO_LIST *nodeInfoList; - DBG_ERROR(AQH_LOGDOMAIN, "Received IPC GetDevicesRequest message"); + DBG_DEBUG(AQH_LOGDOMAIN, "Received IPC GetDevicesRequest message"); nodeInfoList=AQH_NodeDb_GetAllNodeInfos(aqh->nodeDb); if (nodeInfoList && AQH_NodeInfo_List_GetCount(nodeInfoList)) { const AQH_NODE_INFO *ni;