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

Discussion in 'Wireless Networking' started by Chris G, Nov 13, 2008.

  1. Chris G

    Chris G Guest

    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
     
    Chris G, Nov 13, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Y29vbGtpZGNhcmxzb24=?=

    Network in range... won't detect

    =?Utf-8?B?Y29vbGtpZGNhcmxzb24=?=, Sep 22, 2005, in forum: Wireless Networking
    Replies:
    2
    Views:
    4,120
    Quaoar
    Sep 24, 2005
  2. Cloud Burst

    folder view options not remembered in windows 98se

    Cloud Burst, Feb 25, 2004, in forum: Computer Support
    Replies:
    1
    Views:
    479
    ┬░Mike┬░
    Feb 25, 2004
  3. John
    Replies:
    5
    Views:
    974
    Walter Mautner
    Jul 6, 2006
  4. Seagull
    Replies:
    5
    Views:
    363
    Seagull
    Aug 7, 2006
  5. Mike Miller
    Replies:
    2
    Views:
    3,993
    DigDug333
    Mar 8, 2008
Loading...

Share This Page