Capturing a new Bluetooth connection
Posted on 2008-06-11
I can access all the information about a bluetooth device or radio. But what I have not figured out is when a bluetooth device comes on and sends a request for authentication, how do I capture the Device_Info to send to the BluetoothRegisterForAuthentication before the authentication happens?
The device that will ask for the passkey will never be discoverable. On the device the user will tell the system to find a bluetooth radio in the area, then ask for a passkey then connect and request pairing. I need the system to check the device for who it is then send back the passkey they user will enter.
In side the PFN_AUTHENTICATION_CALLBACK procedure I need to be able to check the device information to verify who is making the request.
Help would be appreciated on this.