Pebble: try harder to get LE address into the database, does not work
This commit is contained in:
parent
34ad088b88
commit
24752d3455
|
@ -455,6 +455,7 @@ public class DBHelper {
|
||||||
attributes.setValidFromUTC(now.getTime());
|
attributes.setValidFromUTC(now.getTime());
|
||||||
attributes.setFirmwareVersion1(gbDevice.getFirmwareVersion());
|
attributes.setFirmwareVersion1(gbDevice.getFirmwareVersion());
|
||||||
attributes.setFirmwareVersion2(gbDevice.getFirmwareVersion2());
|
attributes.setFirmwareVersion2(gbDevice.getFirmwareVersion2());
|
||||||
|
attributes.setVolatileIdentifier(gbDevice.getVolatileAddress());
|
||||||
DeviceAttributesDao attributesDao = session.getDeviceAttributesDao();
|
DeviceAttributesDao attributesDao = session.getDeviceAttributesDao();
|
||||||
attributesDao.insert(attributes);
|
attributesDao.insert(attributes);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue