•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 402,884 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,101 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 46371 | Replies: 27
![]() |
•
•
Join Date: Dec 2005
Posts: 3
Reputation:
Rep Power: 0
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:
Rep Power: 0
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 want to discover devices wiht using c#, which is in my area. then store their mac addresses in a string array or whatever, can you help me about this topik.
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:
Rep Power: 0
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:
Rep Power: 0
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
[b]there is an easy way[/a]
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:
Rep Power: 0
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
Location: Egypt
Posts: 4
Reputation:
Rep Power: 0
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
Crimson K. Software _________________________________________________________________ Crimson K. Blog
•
•
Join Date: Jul 2006
Location: Egypt
Posts: 4
Reputation:
Rep Power: 0
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Previous Thread: C# code to form a calculator in asp.net
- Next Thread: hexadecimal convertions


Linear Mode