Search code examples
altbeaconandroid-ble

Android Beacon Library version -- 2.3.5 not detecting TI senor tag


Mobile device model and OS version -- Nexus 5, API 23

Android Beacon Library version -- 2.3.5

I have a sensor tag from TI(Texas Instruments), and the firmware is TI provided. The same 2541 chipset is used in all beacons. I try to detect it using this library, it comes inside the didRangeBeaconsInRegion() callback but it prints beacons.size to be zero size.

Now, what changes I need to do, to get this chipset detected?

Just for further information, there are free apps in playstore named (iBeacon detector) which detects this chipset.

Any help will be highly appreciated.

Thank You


Solution

  • A few points:

    • The Android Beacon Library is designed to work with Bluetooth LE Beacons, not non-Beacon BLE devices. A beacon is a specialized BLE device that continually broadcasts a unique identifier. If you need a more general purpose BLE functionality, the library may not be a good fit.

    • The TI Sensor Tag must be loaded with specific firmware to make it broadcast as a beacon.

    • There are many beacon formats including AltBeacon, Eddystone and iBeacon. If your BLE device is transmitting as a beacon you need to know which one it is transmitting.

    • By default, the Android Beacon Library only detects beacon transmitters sending the AltBeacon format. To detect other beacon formats, you must supply a BeaconParser for that format. A Google search will easily find the Parser expression to configure based on the format the beacon is using.