Set timestampCreation on created devices, show that in aqhome-tool.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user