Set timestampCreation on created devices, show that in aqhome-tool.

This commit is contained in:
Martin Preuss
2023-10-01 23:58:19 +02:00
parent 45da38b64a
commit 043541f936
4 changed files with 33 additions and 8 deletions

View File

@@ -185,14 +185,7 @@ int _doGetDevices(GWEN_DB_NODE *dbArgs)
device=AQH_Device_List_First(deviceList);
while(device) {
uint64_t deviceId;
const char *deviceName;
deviceId=AQH_Device_GetId(device);
deviceName=AQH_Device_GetNameForSystem(device);
fprintf(stdout, "%lu\t%s\n", (unsigned long int) deviceId, deviceName?deviceName:"");
Utils_PrintDevice(device);
device=AQH_Device_List_Next(device);
}
AQH_Device_List_free(deviceList);