2016-04-27 75 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設備。

相關問題