Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to pair devices that present a code that needs to be entered on the device to pair - BluetoothWin32Authentication. #372

Open
DamoD2001 opened this issue Dec 3, 2023 · 2 comments

Comments

@DamoD2001
Copy link

I have successfully implemented the ability to pair devices that do not require a pin, but in testing I then tried a BT keyboard and a BT barcode scanner. In Windows there is a 6 digit pin that is shown and then I enter that and it pairs, using InTheHand.NET.Bluetooth I can't seem to use the BluetoothWin32Authentication to display and receive the entered pairing pin - is this not possible with this build? My online searching seems to indicate that it was in the 32feet.NET 3.5, but since I am using .NET 6 for this project I used this one.

thanks.

@DamoD2001 DamoD2001 changed the title Trying to pair devices that present a pin than needs to be entered on the device. Trying to pair devices that present a pin that needs to be entered on the device. Dec 4, 2023
@DamoD2001 DamoD2001 changed the title Trying to pair devices that present a pin that needs to be entered on the device. Trying to pair devices that present a code that needs to be entered on the device to pair. Dec 4, 2023
@DamoD2001 DamoD2001 changed the title Trying to pair devices that present a code that needs to be entered on the device to pair. Trying to pair devices that present a code that needs to be entered on the device to pair - BluetoothWin32Authentication. Dec 6, 2023
@peterfoot
Copy link
Member

Sadly this functionality is not currently exposed in the current version. Now that these pairing mechanisms are more popular the pairing code needs a rethink. I'll tag this as an enhancement but I think it's a fairly important one.

@DamoD2001
Copy link
Author

Thanks Peter, I will eagerly watch out for that update.

Damo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants