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

@@ -207,6 +207,7 @@ AQH_DEVICE *_getOrCreateDeviceForDriver(AQHOME_DATA *aqh, GWEN_MSG_ENDPOINT *epD
AQH_Device_SetDriver(device, serviceName);
AQH_Device_SetNameForDriver(device, nameForDriver);
AQH_Device_SetNameForSystem(device, GWEN_Buffer_GetStart(buf));
AQH_Device_SetTimestampCreation(device, (uint64_t) time(NULL));
AQH_Storage_AddDevice(aqh->storage, device);
}
else {