How do I make a BLE connection in compose multiplateform App. using kable Library #847
Unanswered
mukeshkibbcom
asked this question in
General
Replies: 1 comment 4 replies
-
|
It looks like you're acquiring an In newer versions of Kable, that would look something like: val peripheral = Peripheral(advertisement) {
// todo: configure peripheral
// see https://github.com/JuulLabs/kable?tab=readme-ov-file#peripheral for more details
}
peripheral.connect()In older versions, you can use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the Kable library for BLE scanning and connection in a Compose Multiplatform (KMP) app for Android and iOS. Scanning works perfectly in both
platforms,but I am unable to establish a connection with the BLE device. What could be the possible reasons, and how can I fix this issue?Note : Connect methos is available in Peripheral object.
Expecting : Peripheral object because it has connect method
I tried with all possible version of kable lib
Beta Was this translation helpful? Give feedback.
All reactions