aqhome-tool: write response messages for ping command

This commit is contained in:
Martin Preuss
2023-04-22 12:46:33 +02:00
parent ea29e478e5
commit 317524bd0f

View File

@@ -155,6 +155,8 @@ int _doPing(GWEN_DB_NODE *dbArgs)
return 2;
}
fprintf(stdout, "Sending PING request\n");
rv=_sendPing(epTcp, nodeAddr);
if (rv<0) {
DBG_INFO(NULL, "here (%d)", rv);
@@ -168,7 +170,7 @@ int _doPing(GWEN_DB_NODE *dbArgs)
return 2;
}
DBG_INFO(NULL, "PONG response received");
fprintf(stdout, "PONG response received\n");
GWEN_MsgEndpointMgr_free(emgr);
return 0;
}