User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Dec 2005
Posts: 3
Reputation: caton is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
caton caton is offline Offline
Newbie Poster

Re: Scanning for bluetooth devices

  #11  
Mar 5th, 2006
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
Reply With Quote  
Join Date: Apr 2006
Posts: 7
Reputation: celikada is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
celikada celikada is offline Offline
Newbie Poster

Re: Scanning for bluetooth devices

  #12  
Apr 16th, 2006
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
Reply With Quote  
Join Date: Apr 2006
Posts: 7
Reputation: celikada is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
celikada celikada is offline Offline
Newbie Poster

Re: Scanning for bluetooth devices

  #13  
Apr 17th, 2006
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
Reply With Quote  
Join Date: Apr 2006
Posts: 7
Reputation: celikada is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
celikada celikada is offline Offline
Newbie Poster

Re: Scanning for bluetooth devices

  #14  
Apr 21st, 2006
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
Reply With Quote  
Join Date: Mar 2006
Posts: 2
Reputation: Udara is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Udara Udara is offline Offline
Newbie Poster

Help Re: Scanning for bluetooth devices

  #15  
Jul 5th, 2006
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......



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
Reply With Quote  
Join Date: Jul 2006
Location: Egypt
Posts: 4
Reputation: asm4pic is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
asm4pic asm4pic is offline Offline
Newbie Poster

Re: Scanning for bluetooth devices

  #16  
Jul 27th, 2006
hello
where to get WIDCOMM bluetooth SDK ?
does it implemented as c# class's or as VC++ API's ?
Reply With Quote  
Join Date: Apr 2006
Posts: 7
Reputation: celikada is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
celikada celikada is offline Offline
Newbie Poster

Re: Scanning for bluetooth devices

  #17  
Jul 27th, 2006
if you want to pay you can find
i cant find a free one
Reply With Quote  
Join Date: Jul 2006
Location: Egypt
Posts: 4
Reputation: asm4pic is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
asm4pic asm4pic is offline Offline
Newbie Poster

Re: Scanning for bluetooth devices

  #18  
Jul 28th, 2006
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 ?
Reply With Quote  
Join Date: Mar 2006
Posts: 219
Reputation: Lord Soth is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
Lord Soth's Avatar
Lord Soth Lord Soth is offline Offline
Posting Whiz in Training

Re: Scanning for bluetooth devices

  #19  
Aug 5th, 2006
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
Crimson K. Software _________________________________________________________________ Crimson K. Blog
Reply With Quote  
Join Date: Jul 2006
Location: Egypt
Posts: 4
Reputation: asm4pic is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
asm4pic asm4pic is offline Offline
Newbie Poster

Re: Scanning for bluetooth devices

  #20  
Aug 5th, 2006
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
Ahmed Samieh
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C# Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the C# Forum

All times are GMT -4. The time now is 2:35 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC