Results 192 comments of Travis Wyatt

Unfortunately I've been really busy with projects at work, and we don't have an immediate need for bonding so I haven't been able to prioritize this effort. I know this...

Thanks for reporting. Currently on vacation but I'll be back next week and I'll try to find time to look into this.

Can you provide logs using the `Data` log `level` (if you don't have sensitive data being transferred), or `Events` log `level` if you do? See https://github.com/JuulLabs/kable#logging for details on setting...

> It is mandatory to forget the peripheral in Bluetooth settings if the pairing keys was removed Do you happen to have a code example of how that is done?...

Sorry, I don't know what might be causing your issue. Recent versions of Kable are compiled with Kotlin 1.7.0; I assume it'd be compatible (and unlikely to cause the issue...

On Android, is [`scanRecord.deviceName`](https://developer.android.com/reference/android/bluetooth/le/ScanRecord#getDeviceName()) more accurate than [`BluetoothDevice.name`](https://developer.android.com/reference/android/bluetooth/BluetoothDevice#getName())? Is that what you're saying? If so, then perhaps it would make sense to change the following: https://github.com/JuulLabs/kable/blob/f34f54e0a9125a637f6ea4615b4028ccf0a1f3b8/core/src/androidMain/kotlin/Advertisement.kt#L24-L25 ...to be written as?:...

It appears that the phone's bluetooth is turned off. This is checked via: https://github.com/JuulLabs/kable/blob/fe8ee147df2f282c9defcf1c761296c474991ab5/core/src/androidMain/kotlin/Peripheral.kt#L480-L501 Does this happen on all devices you've tried, or is it specific to certain manufactures or...

> Should scanner also be considered? Interesting idea, although with `advertisements` being a `Flow` it would be a bit more difficult to internally provide a timeout (as apposed to the...

> I think that I found the cause of the problem. The `connect()` method was called two times in parallel. Depending of the execution speed and order, the call sometimes...

That is definitely an oversight, Kable should throw an exception if it does not have the proper permissions. Thanks for reporting the issue!