| | |
Scanning for bluetooth devices
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2005
Posts: 3
Reputation:
Solved Threads: 0
Hi Udara,
Hmm well first you have to understand what are u trying to achieve here.
Do you have to write a bluetooth service discovery protocol? (discovering all other bluetooth devices in the area)? I am not a expert in this area. I was just involved in some preliminary Proof of Concept hence I coded in C# which was easily to communciate with PocketPc. 1 other thing you have to understand is which USB dongle you are using, there are 2 main types of Bluetooth stack : WIDCOMM and Microsoft. Maybe you could try to search and see what other help you could get from the net. I will be pleased to assist you in any way possible if I have time to check my email.
Regards
Hmm well first you have to understand what are u trying to achieve here.
Do you have to write a bluetooth service discovery protocol? (discovering all other bluetooth devices in the area)? I am not a expert in this area. I was just involved in some preliminary Proof of Concept hence I coded in C# which was easily to communciate with PocketPc. 1 other thing you have to understand is which USB dongle you are using, there are 2 main types of Bluetooth stack : WIDCOMM and Microsoft. Maybe you could try to search and see what other help you could get from the net. I will be pleased to assist you in any way possible if I have time to check my email.
Regards
•
•
Join Date: Apr 2006
Posts: 7
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by caton
Hi Udara,
Hmm well first you have to understand what are u trying to achieve here.
Do you have to write a bluetooth service discovery protocol? (discovering all other bluetooth devices in the area)? I am not a expert in this area. I was just involved in some preliminary Proof of Concept hence I coded in C# which was easily to communciate with PocketPc. 1 other thing you have to understand is which USB dongle you are using, there are 2 main types of Bluetooth stack : WIDCOMM and Microsoft. Maybe you could try to search and see what other help you could get from the net. I will be pleased to assist you in any way possible if I have time to check my email.![]()
Regards
i working on a scurity system and i searched some Win APIs and commands for that but i cant find enoug article about that topik
if you can help me please send me a email (celikada@hotmail.com)
thanks a lot
•
•
Join Date: Apr 2006
Posts: 7
Reputation:
Solved Threads: 0
i searched a way a lot of time to reach bluetooth devices which are in my range but i cant find an easy way. but some people wrote some dll files then they used these in a namespace for .net. but it is expensive to use just device discovery. this namespace name is franson if you pay 99$, you can easily access a remote device but i have to say that i did not try , sorry
•
•
Join Date: Apr 2006
Posts: 7
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by celikada
i searched a way a lot of time to reach bluetooth devices which are in my range but i cant find an easy way. but some people wrote some dll files then they used these in a namespace for .net. but it is expensive to use just device discovery. this namespace name is franson if you pay 99$, you can easily access a remote device but i have to say that i did not try , sorry
32feet.net
free sdk for c# but but its works whit windows bluetooth stack
add your project referances InTheHand.Net.Bluetooth.dll
define libraries InTheHand.Net , InTheHand.Net.Socet
and add the code
BluetoothClient blue_client = new BluetoothClient();
BluetoothDeviceInfo[] devices = blue_client.DiscoverDevices();
bluetooth devices in the devices array
thats it
•
•
Join Date: Mar 2006
Posts: 2
Reputation:
Solved Threads: 0
Thanks for your advice. But the thing is I was trying on the microsoft bluetooth stack, with Java (using BlueCove ), but didn't get resu;ts as there were errprs and also it requires Winows XP SP2 compatible bluetooth dongles. I don't know much about WIDCOMM stack. And also I'm free to try C++ or even C# with Microsoft Bluetooth Stack or WIDCOMM stack. So what would be the best way to go, bcos I don't have much time left for the project. And what is your opinion on my way (using Java & Bluecove on Microsoft stack)... ?
Can you pls help me on this......
Can you pls help me on this......
•
•
•
•
Originally Posted by caton
Hi Udara,
Hmm well first you have to understand what are u trying to achieve here.
Do you have to write a bluetooth service discovery protocol? (discovering all other bluetooth devices in the area)? I am not a expert in this area. I was just involved in some preliminary Proof of Concept hence I coded in C# which was easily to communciate with PocketPc. 1 other thing you have to understand is which USB dongle you are using, there are 2 main types of Bluetooth stack : WIDCOMM and Microsoft. Maybe you could try to search and see what other help you could get from the net. I will be pleased to assist you in any way possible if I have time to check my email.![]()
Regards
•
•
Join Date: Jul 2006
Posts: 4
Reputation:
Solved Threads: 0
i have got something like http://www.broadcom.com/products/blu..._1_901-SDK.zip
WIDCOMM Bluetooth DK
it is c++ classes only
does microsoft stack support c# ?
is it for free ?
WIDCOMM Bluetooth DK
it is c++ classes only
does microsoft stack support c# ?
is it for free ?
Hi,
As celikada already mentioned there are different bluetooth stacks available and Microsoft hadn't provided one till XP SP2 (if I'm not mistaken) still most USB BT dongles install their own stacks either WIDCOMM or another proprietary one. I suggest too the 32feet.net 's BT classes and if it fails (in a try catch block) then this means that no MS BT stack then you check for the presence of Widcomm DLLs and use P/Invoke. Check Widcomm's site for C SDK.
Loren Soth
As celikada already mentioned there are different bluetooth stacks available and Microsoft hadn't provided one till XP SP2 (if I'm not mistaken) still most USB BT dongles install their own stacks either WIDCOMM or another proprietary one. I suggest too the 32feet.net 's BT classes and if it fails (in a try catch block) then this means that no MS BT stack then you check for the presence of Widcomm DLLs and use P/Invoke. Check Widcomm's site for C SDK.
Loren Soth
Best regards,
Loren Soth
Crimson K. Software _________________________________________________________________ Crimson K. Blog
Loren Soth
Crimson K. Software _________________________________________________________________ Crimson K. Blog
•
•
Join Date: Jul 2006
Posts: 4
Reputation:
Solved Threads: 0
i found microsoft support for bluetooth on win xp sp2 in platform sdk
http://www.microsoft.com/downloads/d...DisplayLang=en
it is a C APIs with headers and libraries
but no support on .NET anyway from microsoft
http://www.microsoft.com/downloads/d...DisplayLang=en
it is a C APIs with headers and libraries
but no support on .NET anyway from microsoft
Ahmed Samieh
![]() |
Other Threads in the C# Forum
- Previous Thread: how to get installation folder in custom installer
- Next Thread: how to name shortcuts dynamically
| Thread Tools | Search this Thread |
.net access ado.net algorithm array backup barchart bitmap box broadcast buttons c# check checkbox client clock color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing dynamiccreation encryption enum event excel file form format forms function game gdi+ httpwebrequest image index input install interface java label list listbox mandelbrot math microsystems mouseclick mysql operator password path photoshop picturebox pixelinversion post programming property radians regex remote remoting richtextbox running... serialization server sleep soap socket sql sqlserver stack statistics stream string table text textbox thread time timer update usercontrol validation visualstudio webbrowser windows winforms wpf write xml





