2016-04-27 63 views
1

我正在使用android的altbeacon库,但无法检测到任何StickNfind信标。灯塔布局在Android的altbeacon库中查找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")); 

回答

1

我棒的理解N”查找设备是他们是不是真的。它们是宣传可连接的GATT服务的Bluetooth LE外围设备。有必要连接到BLE GATT服务以识别设备。

由于这个原因,它们不能被用作信标,这要求该唯一标识符在蓝牙LE广告被发送。出于这个原因,Android Beacon库不适合检测Stick n'Find设备。

相关问题