Kotlin-BLE-Library icon indicating copy to clipboard operation
Kotlin-BLE-Library copied to clipboard

Results 37 Kotlin-BLE-Library issues
Sort by recently updated
recently updated
newest added

In the tutorial, you say that the `connect` function is suspended and waits until device is in connected state, but it's not true. I've got the exception STATE_DISCONNECTED when calling...

bug

I'm using `autoconnect=true` and a clientside timeout of 15sec. The connect() method is suspending and returns the gatt instance only when a connection has been established. Without the gatt reference,...

`ClientBleGattCharacteristic.getNotifications` shall have `@throws GattOperationException` in its KDoc. Indeed, `ClientBleGattCharacteristic.getNotifications` is calling methods themselves calling `ClientBleGattDescriptor.write`.

Hello, I filed [this issue](https://github.com/NordicSemiconductor/Kotlin-BLE-Library/issues/68) back in November but I'm only now updating the library and trying out the fix. After undoing a workaround for the issue on my end...

bug

I'm getting trouble connecting to an ESP32 running Nimble. All the time I'm getting the status 133 error and get disconnected during the `ClientBleGatt.connect(context, device, scope)` function. After some time...

In my testing, once connected - client.bondState never changes and remains null when collecting on its state flow. Is there a documented way to handle collecting or observing bonding state?

bug

As title, if we use client or server's characteristic, call write(data) and immediately call scope.cancel, the _event will never receive event, and then, the write will never complete, which means...

bug

In my current project I am trying to use your [Android-nRF-Mesh-Library](https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library) together with this library to implement BLE Mesh node provisioning in an Android project. While my implementation mostly works...

bug

I am using the client sdk with the latest version 1.0.10. After calling the connect and discoverService function as below: `val client = ClientBleGatt.Companion.connect(context, device.address, scope)` `val service = client.discoverServices()`...

https://github.com/NordicSemiconductor/Kotlin-BLE-Library/blob/39923df355c4a6d43553e489f43caddbbb3537cb/mock/src/main/java/no/nordicsemi/android/kotlin/ble/mock/Mapper.kt#L63-L67 The above could just default to `PHY_LE_M1` if not set.

enhancement