小编heb*_*eha的帖子

Android BLE:将 ScanResult timestampNanos 转换为 System nanoTime

扫描低功耗蓝牙数据包时,我收到 ScanCallback 并设置了 ScanResult。我可以通过 result.getTimestampNanos() 获得“观察到扫描结果时的设备时间戳”,但这次与 Systems.nanoTime() 不一致。有没有办法从一种转换到另一种?

android timestamp bluetooth bluetooth-lowenergy

3
推荐指数
1
解决办法
1813
查看次数