Capturing a new Bluetooth connection

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.
Thank you.
mitchmiesterAsked:
Who is Participating?
 
JohnjcesConnect With a Mentor Commented:
This is not an answer, but might help you on your way.. I do not know as I just stumbled upon it.

Download...

http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=270335&release_id=589293

This is a FreePascal unit for BlueTooth "stuff". Being FreePascal, it is very Dlephi like and might just work for you or head you in a correct direction.

John
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.