53 out of 88 rated this helpful Rate this topic

Bluetooth

Purpose

Bluetooth is an industry-standard protocol that enables wireless connectivity for computers, handheld devices, mobile phones, and other devices.

Where applicable

The Bluetooth application programming interface enables developers to use existing network programming knowledge to quickly develop or port applications.

Developer audience

Bluetooth is designed for use by C/C++ programmers. Some Bluetooth features are available with Windows Sockets. Familiarity with Microsoft Windows networking and Windows Sockets programming is required.

Run-time requirements

Microsoft Bluetooth support begins with Windows XP with Service Pack 1 (SP1).

Support for Bluetooth 2.1 is offered in Windows Vista SP2 and Windows 7.

In this section

TopicDescription

Overview

General information about Bluetooth.

Using

Information about using Bluetooth.

Reference

Reference documentation for Bluetooth.

 

Additional resources

Bluetooth Wireless Technology FAQInformation about Bluetooth wireless technology support for Windows operating systems, focusing primarily on Windows Vista.
Windows Vista Wireless SDK ForumDiscuss Bluetooth implementation in relation to Windows Vista.
Windows XP Wireless SDK ForumDiscuss Bluetooth implementation in relation to Windows XP.

 

 

 

Send comments about this topic to Microsoft

Build date: 9/6/2011

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
dsadas
dsadas
Bluetooth Stack Independent Library

Hi

I'd like to make communication module via blutooth.

but in some articles bluetooth has several stackes like blue soleil, MS Windows Stack, etc.

Should I consider those whole stackes when I make it in c++ library?

With bluetooth api msdn mentioned above can I communicate via bluetooth with different stackes?

where can i find c/c++ bluetooth stack independent library,

Help me.

Thank you.

Forcing "Just Works" Association model
My question is that, how can I force this model to get applied (I'm trying to simulate a device that has no in/out user interface)?$0 have a bluetooth 2.1+EDR receiver on both sides, so the ssp should work. $0 Should I just simply hardcode a passkey in both BluetoothAuthenticateDevice() and BluetoothSendAuthenticationResponse() methods?$0 Or can I just simply ignore these methods...and setup the sockets and communicate...and the connection will be automatically encrypted... as in 2.1 specification it's mandatory...Thanks for the answers.
öfff
bluetooth çalışsın istiyorum.
Install 2 Bluetooth Device in one machine in XP
I need to install 2 bluetooth dongle in XP
Please Help me
Thanks.
How to install 2 bluetooth devices in windows XP ?
Please help me to install too Bluetooth dongle in one machine
Thancks.
File transfer: WCL includes all the demos
Wireless Communication Library (www.btframework.com/wcl.htm) includes all the demos to show how to send a file to a remote device as well as how to manage files on a remote device.
File Transfer using bluetooth
Is there any sample of bluetooth file transfer ???
Source Code of an advanced Bluetooth Marketing Software
BlueICQ is an advanced Bluetooth Marketing Software using 32feet.NET implementation. If you want to develop your own Bluetooth Marketing Application, this source code will be very helpful.

BlueICQ's Key Features:

- Broadcast multimedia files to Bluetooth enabled mobile phones within 100 meters without any pairing code.

- Automatically accept file uploading from users' mobile phones. Supporting file formats: image, mp3, video, text, java application, mobile games, etc.

- Anonymously retrieve users' mobile phone numbers.

- Anonymously force users' mobile phones send a customized SMS to a specified mobile phone number.



Software Screenshot: http://www.blueicq.com/_/rsrc/1244786468275/bluetooth/BlueICQ%20Bluetooth%20Marketing%20System%201.jpg


Visit Website: www.blueicq.com
Yes, there are bluetooth samples available
There are Bluetooth samples included with the SDK. They are available in C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\NetDs\winsock\Bluetooth. The SDK is available from the Download Center. http://go.microsoft.com/fwlink/?LinkId=64674.
Well actually this doesnt work if you try to open the file on windows 7.
How can I run the sample ?
>>I have doubt of how to run the sample because there not are a microsoft visual studio .sln file. Please any can give me some instructions of how to run the sample in the Bluetooth folder.

Open project file instead of solution one.
Bluetooth SDK
Here you can find an easy in use Bluetooth SDK: http://www.btframework.com for .NET, MFC and Visual Basic 6.
Collect information of the Bluethooth devices paired...

>>How do I collect information of all the Bluetooth enabled devices that have paired with my computer (via dongle).

For Microsoft Bluetooth Stack: use BluetoothGetDeviceInfo function, if you want to be notified about authentication requests you have to register call back function with using BluetoothRegisterForAuthentication (or BluetoothRegisterForAuthenticationEx on Vista platform). There is some "hidden" thing you have to do to avoid Windows pairing dialog. This is for your own investigation.

>>Is there any software that can help me collect this information about the individual connection that have happened with my Bluetooth enabled Computer system.

It depends on what you want to do. In common case you have to run server on your PC which will offer some service for BT devices which want to connect to your PC. If you just want to be notified about pairing requests then use the functions I described above.