我使用的是安卓系统的Alt信标库,但无法检测到任何StickNfind信标。
我试过的信标布局设置:
beaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("m:0-3=4c000215,i:4-19,i:20-21,i:22-23,p:24-24"));
beaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("x,s:0-1=feaa,m:2-2=20,d:3-3,d:4-5,d:6-7,d:8-11,d:12-15"));
beaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("s:0-1=feaa,m:2-2=00,p:3-3:-41,i:4-13,i:14-19"));
beaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("s:0-1=feaa,m:2-2=10,p:3-3:-41,i:4-20v"));
beaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("s:0-1=fed8,m:2-2=00,p:3-3:-41,i:4-21v"));发布于 2016-04-27 13:07:53
我对“找到”装置的理解是,它们不是真正的信标。它们是蓝牙电子外围设备,为可连接的GATT服务做广告。有必要连接到BLE GATT服务来识别设备。
由于这个原因,它们不能用作信标,这需要在蓝牙LE广告中传输唯一的标识符。由于这个原因,Android信标库将无法很好地检测Find n‘Find设备。
https://stackoverflow.com/questions/36882452
复制相似问题