Android-BLE-Library
Android-BLE-Library copied to clipboard
A library that makes working with Bluetooth LE on Android a pleasure. Seriously.
Is there a way to get the length of the current queue and whether there is a way to jump the queue? For example, I want to improve the priority...
When I run on Android 9.0 and above, the scanned device can get the name, but once I click on the device to select the connection, the device name immediately...
I've implemented a GATT-server in my application. I asks for permissions and added all necessary uses-permission tags in AndroidManifest file. When I start the application, the GATT-server starts and works...
After sending a `BleManager.connect()` request, a `ConnectionObserver.onDeviceConnected()` callback is received (after approx. 30s from calling connect) from the library but bluetooth device doesn't get connected (verified by checking the bluetooth...
I have a simple setup as follows, where I am trying to bond with a host BL device by reading encrypted characteristics. This code sometimes succeeds but fails most of...
Hi, I use a method which writes a characteristic. I added also the with/fail/done calls for logging purposes. ```java writeCharacteristic(mCharacteristic, ControlPointData.reset()) .with((device, data) -> { Log.v(TAG, "write data " +...
Hi, I noticed you now check if an error 133 while connecting is a timeout or not. You use CONNECTION_TIMEOUT_THRESHOLD set to 20 seconds. I did some testing on my...
Does anyone happen to know if there's a full list somewhere with compatible Coded PHY supported phones? I tried it on a Pixel 4 which is supposed to support it,...
In this library's documentation, it's suggested to call `BleManager#connect(BluetoothDevice device)` from `ServerObserver#onDeviceConnectedToServer(BluetoothDevice device)`. This confuses me for a few reasons. (1) AIUI, `BleManager#connect` leads to a `BluetoothDevice#connectGatt` call, which treats...
This makes it easier to use BleManager in a purely server role, as described in https://github.com/NordicSemiconductor/Android-BLE-Library/issues/229.