Controling connections to Bluetooth using Delphi

I have an application that needs to have the following functionality:

1. User tells system to connect to new bluetooth device
2. Application will turn on discovery and wait for a request for authentication
3. When request arrives appilcation will do the authenticate and setup a COM port with the pairing
4. Return application back to user for connitued use

The application is locked down to the point of not allowing the user to access anything else. So I need this to work with as little user input as possible.

I have most of the idea down of how todo this but there are still gaps in my understanding. I am new to API and core system developement, so I need a little help with this.

Mostly I just need some help pointing me in the right direction.

I do know to use BluetoothRegisterForAuthentication to capture the authentication message. But it requires a known device to be passed as a parameter, how do I capture that device when it becomes available?

The device I am connecting too is nondiscoverable, I have to make my computer discoverable and it will initiate the authentication.

I hope this is clear enough.

Thank you.

mitchmiesterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steven-FernandezCommented:
Here is a starting place.

Try out the Bluetooth Framework Developer. It gives you the full control above the device.

Here is the URL:

http://www.download3k.com/Software-Development/Components-Libraries/Download-Bluetooth-Framework-Developer.html

0
developmentguruPresidentCommented:
Here is some shareware that I found while researching this:

http://bluetooth-framework-personal.soft-service-company.alienpicks.com/
http://www.filedudes.com/files/Delphi_Bluetooth.html

I'm sorry to say, but I do not have the time (or the equipment) to do this myself.  I hope the links help.
0
mitchmiesterAuthor Commented:
This is a good starting place. Thank you for the links.

But are there any tutorials or something that I can referance?
0
Webinar: What were the top threats in Q2 2018?

Every quarter, the WatchGuard Threat Lab releases an Internet Security Report that describes and analyzes the top threat trends impacting companies around the world. Are you ready to learn more about the top threats of Q2 2018? Register for our Sept. 26th webinar to learn more!

Steven-FernandezCommented:
Have a look here:

There are demos available and documentation too.

Hope this helps.
0
Steven-FernandezCommented:
0
mitchmiesterAuthor Commented:
Everone has sent me to the same place. Bluetooth Framework, but this still does not answer my question. This is for a product that has more capabilities than what I need.

Can some one point me to tutorials or give me directions on what I need to look for, even if it's C or C++ code samples that I have to translate.

Thank you.
0
developmentguruPresidentCommented:
If you need a good link to a TON of information on the technology behind bluetooth (and some links that claim to contain info on development) check these out.

http://www.palowireless.com/infotooth/tutorial.asp
http://www.cs.umu.se/kurser/TDBD16/VT07/Bluetooth-Tutorial-2001.pdf

Unfortunately I have found tutorials in French, German and Chinese and, since I speak none of those languages, I was unable to evaluate them.  As near as I have been able to tell with my limted time there are no english tutorials for Delphi and BlueTooth.  I found some for Python, but they would seem to be no help since they do not relate well to the windows api.  If it were my project I would start on MSDN:

http://msdn2.microsoft.com/en-us/library/aa362932(VS.85).aspx

Perhaps you are the one to write the first Endglish Delphi BlueTooth tutorial...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mitchmiesterAuthor Commented:
It seems that tutorials for bluetooth is very scarce or non-existant. But the final post gave me the information I need to get started.

Thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Wireless Networking

From novice to tech pro — start learning today.