Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
hello guys

I m new to Bluetooth technology . I m developing a project in windows application where i need to list the Bluetooth devices in my list view . so i need to scan for Bluetooth so can any one suggest some C# code or link or project or article any thing which is helpful to me ....

Thanks
Arun
Posted
Updated 29-Aug-11 18:42pm
v2

 
Share this answer
 
One good candidate to test on is your Bluetooth-enabled mobile phone (and modem). Most mobile phones support the AT command set, which means you can programmatically interact with the phone by issuing AT commands.
To communicate with a Bluetooth enabled handset, you first
need the following hardware:
• A Bluetooth-enabled handset, such as the Sony Ericsson T68i or the Motorola E398
• A Bluetooth adapter for your computer

Before running the application, first pair the computer with the Bluetooth-enabled handset.

Your Bluetooth driver (on your computer) will tell you which serial port is being used to connect to the handset. Suppose that COM1 is used to connect to a Sony Ericsson T68i.

Now you can use the SerialPort control available from the Visual Studio Toolbox. Use this control to send commands to the serial port COM1 which results in the command transmitted to the Bluetooth handset.

* For AT commands check Wikipedia.

I hope I was able to solve your problem.

Watch my first article posted on codeproject and comment and vote:
http://www.codeproject.com/KB/HTML/speechinputapi.aspx
or http://blog.robinrizvi.info

Drop me a mail for any comments, suggestions or questions.
mail@robinrizvi.info
 
Share this answer
 
C#
<a href=""></a><a href=""></a><a href=""></a><a href=""></a><a href=""></a><a href=""></a>
 
Share this answer
 
Comments
arunrv 30-Aug-11 0:41am    
i didn't got u

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900