The Win32 call BluetoothAuthenticateDevice doesn't seem to function properly since Vista SP2. If you pass in null for the PIN code, the Bluetooth Connection Wizard is supposed to be displayed, allowing the user to enter the pin code and pair the device.
This was working fine until I installed SP2. Now, BluetoothAuthenticateDevice is failing if I pass in null for the PIN, but if I specify the PIN the device gets paired. Any idea why the Bluetooth Connection Wizard doesn't get displayed?
The problem seems to stem from the fact that as of Vista SP2, the Bluetooth stack has been upgraded to support Bluetooth 2.1+EDR. This is supposed to be backwards compatible with Bluetooth 1.2, but what about security.
I also notice that on an iPaq 110 using Windows Mobile 6.0, the Broadcom API also has problems pairing. I believe the iPaq 110 WM 6.0 uses Bluetooth 2.0. Could both issues be related?