问题
I have been trying to connect to a Jaalee beacon using altbeacon library without success. The service UUID is 0x00001532-1212-EFDE-1523-785FEABCD123 What is the correct setting for setBeaconLayout in altbeacon? For example for another type of beacons that is
beaconManager.getBeaconParsers().clear();
beaconManager.getBeaconParsers().add(new BeaconParser().
setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24,d:25-25"));
I have searched everywhere and I cannot find it. Thanks
** UPDATE ** I have checked using a program scanning for bluetooth devices and indeed it is a Jaalee device. The bluetooth device has name "jaalee"; ScanRecord is
[mAdvertiseFlags=4, mServiceUuids=[0000fff0-0000-1000-8000-00805f9b34fb], mManufacturerSpecificData={}, mServiceData={}, mTxPowerLevel=0, mDeviceName=jaalee]
回答1:
The fact that you can detect the device transmitting a Bluetooth LE Service UUID, but cannot detect it with the Locate App means that:
The Jalee device is not transmitting a standard AltBeacon or iBeacon frame, both of which are detected by the Locate app.
The Jalee device is connectable, and might be configurable if you can find a Jalee configuration app. This may allow you to configure it to transmit the standard bracon frames described above.
来源:https://stackoverflow.com/questions/35257246/jaalee-beacon-with-altbeacon