Reputation: 130
I have GATT server on iOS device (and the same on Android) which has 2 characteristics - one for read and one for write. How can I find this device with AltBeacon on Android? I don't know should I use special parser layout or it isn't possible to do that? Thanks.
Upvotes: 1
Views: 907
Reputation: 64916
AltBeacon is an open specification for a Bluetooth LE beacon -- it actually doesn't use GATT at all, and operates at a lower level of raw manufacturer Bluetooth LE advertisements. The Android Beacon Library, which is hosted at AltBeacon.org can be used to detect a wide variety of Bluetooth LE beacons and transmit these beacon types.
While the Android Beacon Library will detect certain beacon types that are based on GATT service advertisements like Eddystone, it is not designed as a general purpose GATT service detector. Using the library to try and detect a GATT service will probably not prove very useful. Instead, it is better to use Android's built-in Bluetooth LE scanning APIs. You can see an example of how to do that in the "Finding BLE Devices" section of this page.
Full Disclosure: I am the lead developer of the Android Beacon Library open source project.
Upvotes: 3