Android-BLE-Library
Android-BLE-Library copied to clipboard
A library that makes working with Bluetooth LE on Android a pleasure. Seriously.
Hello, I'm writing an android application, using `no.nordicsemi.android:ble:2.3.1`. I connect to the sensor and write 49KB data to it. Before recording, I set the desired interval (CONNECTION_PRIORITY_HIGH 11.25 - 15ms)...
```kotlin class MyBleManager( @ApplicationContext context: Context ) : BleManager(context), AltaBLE { override val firmwareVersion: MutableStateFlow = MutableStateFlow(EMPTY_STRING) override val serialNumber: MutableStateFlow = MutableStateFlow(EMPTY_STRING) override val pubKeyValue: MutableStateFlow = MutableStateFlow(EMPTY_STRING) override...
This happens when switching connections between multiple heartbeat devices. Please help me take a look, thank you! I'm using `implementation("no.nordicsemi.android:ble:2.7.4")` This is my error log: ``` 2024-04-18 10:50:02.891 BluetoothGatt D...
Hi, I think I found a bug in `writeCharacteristic` method. If BLE device disconnects right before the call to writeCharacteristic, then it never returns success or failure. Example to reproduce:...
environment no.nordicsemi.android:ble:2.7.5 Mobile phone: Huawei P30, Redmi Note 7 I have bound multiple Bluetooth devices and switched between them in the list. To ensure that only one can be connected...
When using autoConnect(true) on the connect request sometimes it does not auto-connect, even though the devices are near and the OS is connected.
Hi, We are using the Nordic SDK and getting the following exception in the Crashlytics: ``` Non-fatal Exception: android.os.DeadSystemRuntimeException android.os.DeadSystemException android.bluetooth.BluetoothGatt.writeCharacteristic (BluetoothGatt.java:1501) no.nordicsemi.android.ble.BleManagerHandler.internalWriteCharacteristic (BleManagerHandler.java:50) no.nordicsemi.android.ble.BleManagerHandler.nextRequest (BleManagerHandler.java:774) no.nordicsemi.android.ble.BleManagerHandler.enqueue (BleManagerHandler.java:22) no.nordicsemi.android.ble.Request.enqueue (Request.java:2)...
Hello. First of all, thank you for the library, I have been using it for a long time and it works better and better. I have a problem with a...
I'm having the same issue as #438 where I am getting: ``` java.lang.IllegalStateException: Too many receivers, total of 1000 ``` presumably after my app has made 1000 connections. Once it...
It appears that when a service discovery is in progress and `onConnectionUpdated` is called, the service discovery callback `onServicesDiscovered` is never invoked. By checking to see `serviceDiscoverRequested` is set, we...