Linux.Bluetooth icon indicating copy to clipboard operation
Linux.Bluetooth copied to clipboard

[Enhancement] [vNext] Pairing with pin

Open mitotomi opened this issue 1 year ago • 4 comments

I use this library to connect my application to devices. My devices have pin required for connection. It would be great if we could have one more overload of method Pair on device that takes pin code in string and does the pairing.

var device = await adapter.GetDeviceAsync(address); bool result = await device.PairAsync(pincode);

mitotomi avatar Sep 03 '24 12:09 mitotomi

Thank you for using the library, it's good to hear from the users to keep this going.

That sounds like a great idea, let's make it happen!

DamianSuess avatar Sep 03 '24 23:09 DamianSuess

Probably one stupid question, but do you maybe know when could this happen? Thank you very much in advance.

mitotomi avatar Sep 04 '24 07:09 mitotomi

@mitotomi, it's on the backlog for the upcoming 6.0 release spec'd for sometime in 2024-Q4.

If you'd like it in sooner, feel free to open a PR and I can get it in sooner

DamianSuess avatar Sep 04 '24 21:09 DamianSuess

Thank you very much. If I manage to do that will make a PR .

mitotomi avatar Sep 06 '24 09:09 mitotomi