• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 603
  • Last Modified:

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.
0
mitchmiester
Asked:
mitchmiester
1 Solution
 
JohnjcesCommented:
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now