francismariano
francismariano
Travis, I see that `didStartNotification = false` is not called in [stopObservation](https://github.com/JuulLabs/kable/blob/25069f74f0f9f8ee7b89c9109d19cdc33d4aa584/core/src/commonMain/kotlin/Observation.kt#L75) Seems that `handler.stopObservation(characteristic)` hangs forever. But I didn't understand the reason. I changed the order of the call...
[@twyatt](url) the `handler.stopObservation(characteristic)` described above calls [setConfigDescriptor(platformCharacteristic, enable = false)](https://github.com/JuulLabs/kable/blob/25069f74f0f9f8ee7b89c9109d19cdc33d4aa584/core/src/androidMain/kotlin/Peripheral.kt#L390) but setConfigDescriptor never is completed. setConfigDescriptor calls [write(configDescriptor, DISABLE_NOTIFICATION_VALUE)](https://github.com/JuulLabs/kable/blob/25069f74f0f9f8ee7b89c9109d19cdc33d4aa584/core/src/androidMain/kotlin/Peripheral.kt#L435) but never is completed. the write function calls [connection.execute](https://github.com/JuulLabs/kable/blob/25069f74f0f9f8ee7b89c9109d19cdc33d4aa584/core/src/androidMain/kotlin/Peripheral.kt#L349) I unable...
There are a message in the code to fix it. `// fixme: Handle centralManager:didFailToConnectPeripheral:error:`
> Also, what is the best way to test/reproduce this error? - Connect, pair and bond IOS and BLE hardware. - Remove every bonded info (pair keys) on BLE hardware....
Hello folks. Please see https://github.com/francismariano/kable/tree/issue-334 I put PeerRemovedPairingInformation as a new State and in connectAsync I called suspendUntilOrThrow to check if State.Connecting.Services is OK. So, I can to do that:...
@twyatt Can I do a pull request replacing this line https://github.com/JuulLabs/kable/blob/3a043a0394b1d3c11ca23be8a342db1fe386ba98/core/src/appleMain/kotlin/CBPeripheralCoreBluetoothPeripheral.kt#L166 with `suspendUntilOrThrow()`???
This feature is very important for KMP ecosystem. There are others libraries with that goal but they generally have issues with kotlin and/or compose-multiplatform updates.
Hi folks. I have the same issue here. @maxgerhardt any update with the moderation of PIO team? Thanks.
The same here. I created o symbolic link in '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' but with no success ``` dyld[63161]: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib Referenced from: /Users/francis/.platformio/packages/tool-openocd-riscv-wch/bin/openocd Reason: tried: '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (mach-o file, but is...
I also tried to add platform_packages = tool-openocd-riscv-wch@https://github.com/Community-PIO-CH32V/tool-openocd-riscv-wch.git#darwin_arm ``` Uploading .pio/build/genericCH32V003F4U6/firmware.elf sh: openocd: command not found *** [upload] Error 127 ```