You Are Here:

Community: Developer Discussion Boards

#1 Old Device discovery for connected device - 2004-07-19, 17:00

Join Date: Mar 2003
Posts: 2
ilotsala
Offline
Registered User
Hi,

Is it possible to find a connected device by device discovery? E.g. if device #1 is connected to the device #2, device #3 makes a device discovery, and finds both devices (#1 and #2)?

Is there any implemantation possibility to create situation described above?

Thanks.
Reply With Quote

#2 Old 2004-07-20, 09:06

Join Date: Jun 2004
Posts: 10
Killer_2001
Offline
Registered User
Yes and no. If #1 and #2 are in range of #3, it will find both. If #1 is out of range but connected to #2 which is in range, #3 will find only #2. #3 must not find #1 because it is not in range and cannot be contacted. To contact devices over multiple hops, a multihop routing algorithm is needed, which is still very hard to realize.

And if this would be possible, where are the boundaries? You would be able to find hundreds of devices because they are all connected in some way to each other!

If you want to do something like this, you have to do this on application layer. There you have also to do the multihop routing and network topology and everything the bluetooth layer does normally on its own.

Killer_2001
Reply With Quote

#3 Old 2004-07-20, 16:04

Join Date: Mar 2003
Posts: 2
ilotsala
Offline
Registered User
I mean that all the devices are in range and #1 and #2 are having a bluetooth session ongoing. Then #3 does a device discovery.

So, as far as I know, the #3 cannot find the either #1 or #2.

The question is: is it possible somehow to implement a Bluetooth connection between two devices so, that the third device can find the either connected device through device discovery?
Reply With Quote

#4 Old 2004-07-21, 09:03

Join Date: Jun 2004
Posts: 10
Killer_2001
Offline
Registered User
Ahhh, now I know what you mean ;-)

I think, that depends on the device, which has the connection. Some will inquire scan during connection, some will not.

In Java, you should check

LocalDevice.getLocalDevice().getProperty("bluetooth.connected.inquiry.scan");

DOC: Is Inquiry scanning allowed during connection? Valid values are either "true" or "false".

For C++ I cannot tell, I am using Java ;-) but I think there is something equivalent.

hth

Killer_2001
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia