BleGattCoroutines
BleGattCoroutines copied to clipboard
Functional Bluetooth GATT for Android (all the meanings)
I got lint check error due to the annotation `@RequiresPermission(Manifest.permission.BLUETOOTH_CONNECT)` which you added for Android 12. I have to write some boilerplate code generated from the IDE smart suggestion to...
Some values (usually the first one) that arrive at [`onCharacteristicChanged`](https://github.com/Beepiz/BleGattCoroutines/blob/4a61774d1d8a40de10c186daf2dcf645f76164c2/core/src/androidMain/kotlin/com/beepiz/bluetooth/gattcoroutines/GattConnectionImpl.kt#L278) never gets to be received from [`openNotificationSubscription`](https://github.com/Beepiz/BleGattCoroutines/blob/4a61774d1d8a40de10c186daf2dcf645f76164c2/core/src/androidMain/kotlin/com/beepiz/bluetooth/gattcoroutines/GattConnectionImpl.kt#L188). **I never seen this, why you're saying that?** Take a quick look in...
Thanks for the awesome work. Currently the lib only support notification through Notify (check [`setCharacteristicNotificationsEnabledOnRemoteDevice`](https://github.com/Beepiz/BleGattCoroutines/blob/3a660829a476ea2727eecc392bad41c9b9f0246d/core/src/androidMain/kotlin/com/beepiz/bluetooth/gattcoroutines/GattConnectionImpl.kt#L171)). There is a second way of doing notification through [Indicate](https://developer.android.com/reference/android/bluetooth/BluetoothGattDescriptor#ENABLE_INDICATION_VALUE). From Android perspective it mostly...
Hi, I found bug with receiving multiple consecutive notifications from same characteristic. I'm expecting 6 consecutive notifications from my bluetooth device with different values but getting 6 notifications with some...
When we call our device's `deviceConnection.discoverServices()` it calls the method written at line 317 of `com/beepiz/bluetooth/gattcoroutines/GattConnectionImpl.kt`, `gattRequest`. This method receives a channel (`ch: ReceiveChannel`) for the request purpose and after...
`GattConnection` is not the ideal name for 3 reasons: - `Bluetooth` or `Ble` is missing from its name, while it's exclusively for Bluetooth General ATTribute. - There's "Connection" in the...
This library can be inspiring: https://github.com/Reedyuk/blue-falcon as it uses Apple's CoreBluetooth API with Kotlin/Native. This can help understanding how the API can be used, which is needed to provide a...
Hello! I have a weird issue with one of my test phones (it's Huawei P Smart 2017) I don't know how, but it looks like cache corrupts somehow and I...
When my ble device disconnects me i get the gatt status 133. BleGattCoroutine throws an exception `com.beepiz.bluetooth.gattcoroutines.OperationFailedException` as expected, and then i want to check BLE status with `isConnected()` method....