Networking Forums

Networking Forums > Wireless Networking > Wireless Networks > How to detect bluetooth devices in range with WSALookupServiceBegin/Next (and not all remembered deveices)

Reply
Thread Tools Display Modes

How to detect bluetooth devices in range with WSALookupServiceBegin/Next (and not all remembered deveices)

 
 
Chris G
Guest
Posts: n/a

 
      11-13-2008, 09:22 AM
Hi,

My Problem:
WSALookupServiceNext returns all remembered devices and not only the ones
that are in range.

I use
WSALookupServiceBegin
and
WSALookupServiceNext
to retrieve the bluetooth devices.

This works fine. I see all devices that have already been paired with my
computer (WinXP, Microsoft BT stack) and all devices in range that are not
paired.

But how can I see, whether a device that has been paired and is in range or
not?

WSALookupServiceNext returns all remembered devices, though I cannot see
whether any of these devices is in range or not.

I tried a many different flag settings, e.g. LUP_CONTAINERS or
LUP_CONTAINERS | LUP_FLUSHCACHE or LUP_CONTAINERS | LUP_RETURN_ALL |
LUP_FLUSHCACHE

But no success. Always all remembered devices are returned ragardless they
are in range or not, and I did not see any flag in WSAQuerySet or
dwOutputFlags or lpBlob that might indicated that.

any idea?
thank you, Chris


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth Places vs. Bluetooth Devices - Radio not plugged in? Mike Miller Wireless Networks 2 03-08-2008 07:41 PM
Bluetooth Devices Jean Wireless Networks 0 09-02-2007 12:14 AM
bluetooth devices stephenkreppel Wireless Networks 4 01-25-2006 09:00 AM
Network in range... won't detect coolkidcarlson Wireless Networks 2 09-24-2005 05:31 AM
Bluetooth Devices Alebar Wireless Networks 3 02-08-2005 03:29 PM



1 2 3 4 5 6 7 8 9 10 11