improved output.
This commit is contained in:
@@ -170,7 +170,13 @@ void _printNode(const AQH_NODE_INFO *ni, int printAll)
|
||||
fprintf(stdout, ", firmware=%d.%d.%d (%d), ",
|
||||
(u>>16) & 0xff, (u>>8) & 0xff, u & 0xff, (u>>24) & 0xff);
|
||||
if (ts)
|
||||
fprintf(stdout, "last seen %s, ", GWEN_Timestamp_GetString(ts));
|
||||
fprintf(stdout, "last seen %04d/%02d/%02d-%02d:%02d:%02d, ",
|
||||
GWEN_Timestamp_GetYear(ts),
|
||||
GWEN_Timestamp_GetMonth(ts),
|
||||
GWEN_Timestamp_GetDay(ts),
|
||||
GWEN_Timestamp_GetHour(ts),
|
||||
GWEN_Timestamp_GetMinute(ts),
|
||||
GWEN_Timestamp_GetSecond(ts));
|
||||
fprintf(stdout, "pkg out: %d, pkg in: %d, collisions: %d, busy: %d, crc: %d, io: %d\n",
|
||||
AQH_NodeInfo_GetStatsPacketsOut(ni),
|
||||
AQH_NodeInfo_GetStatsPacketsIn(ni),
|
||||
|
||||
Reference in New Issue
Block a user