OpenBluetoothToolbox / SimpleBLE

SimpleBLE - the all-in-one Bluetooth library for MacOS, iOS, Windows, Linux and Android.
https://www.simpleble.org
Other
619 stars 107 forks source link

Pairing to device with a connection PIN/Passkey? #295

Closed pinefin closed 4 months ago

pinefin commented 4 months ago

I cannot connect to this device, it requires a PIN/Passkey, I can connect on my Google Pixel, but I cannot with this library, wondering if there's anything to do towards this. I'm using the connecting example

kdewald commented 4 months ago

Hey @pinefin, thanks for reaching out.

What OS are you testing this on? Windows and MacOS should prompt you visually to acknowledge, but on Linux so far we're only using defaults and responding automatically.

What kind of device are you connecting to?

pinefin commented 4 months ago

Hey, I'm on Linux, this morning I connected manually and it worked just fine.

Still a little confused though as to why Ubuntu/Linux doesn't have a popup that shows