[英]Find StickNFind beacon in altbeacon library in android
I am using altbeacon library for android, but can't detect any StickNfind beacons.我正在为 android 使用 altbeacon 库,但无法检测到任何 StickNfind 信标。
settings of beacon layout I tried:我尝试过的信标布局设置:
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"));
My understanding of Stick n' Find devices is that they are not really beacons .我对 Stick n' Find 设备的理解是它们并不是真正的信标。 They are Bluetooth LE peripherals that advertise a connectable GATT service.
它们是蓝牙 LE 外围设备,用于宣传可连接的 GATT 服务。 It is necessary to connect to the BLE GATT service to identify the device.
需要连接到 BLE GATT 服务来识别设备。
For this reason, they can't be used as beacons, which require that the unique identifier be transmitted in the Bluetooth LE advertisement.出于这个原因,它们不能用作信标,这要求在蓝牙 LE 广告中传输唯一标识符。 For this reason, the Android Beacon Library will not work well for detecting Stick n' Find devices.
因此,Android Beacon 库无法很好地检测 Stick n' Find 设备。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.