dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: bluetooth event trace for inrange and out range of the registered device in windows7.

  1. #1
    Join Date
    Jun 2011
    Posts
    4

    bluetooth event trace for inrange and out range of the registered device in windows7.

    Hi All,

    I want to trap inRange and outRange event of the bluetooth device i.e. paired with my windows7 machine.

    Thanks in advance.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,545

    Re: bluetooth event trace for inrange and out range of the registered device in windo

    1. What are "inRange and outRange event of the bluetooth device"?
    2. Did you look at any bluetooth library available on your windows7 machine?
    Victor Nijegorodov

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,554

    Re: bluetooth event trace for inrange and out range of the registered device in windo

    Quote Originally Posted by mdheerajgupta View Post
    Hi All,

    I want to trap inRange and outRange event of the bluetooth device i.e. paired with my windows7 machine.

    Thanks in advance.
    That's nice. Looks like a good day for it. Did you have a Visual C++ question?

  4. #4
    Join Date
    Jun 2011
    Posts
    4

    Re: bluetooth event trace for inrange and out range of the registered device in windo

    Quote Originally Posted by VictorN View Post
    1. What are "inRange and outRange event of the bluetooth device"?
    2. Did you look at any bluetooth library available on your windows7 machine?
    Hi VictorN,
    thanks for your interest.

    inRange means that windows7 machine equiped with bluetooth can search the device and outRange means that machine cant search the device.

    I am using the various bluetooth api's of windows7.
    like BluetoothAPIs.h, bthdef.h,winsock2,Ws2bth etc.

    i am able to trap the event when any new device is getting ad to my machine or removed from machine.

    but not able to trap the situation once the authenticated device is getting out side the range of my machine. or comes inrange of my windows machines bluetooth.

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,545

    Re: bluetooth event trace for inrange and out range of the registered device in windo

    If you are "using the various bluetooth api's of windows7" you must have a documentation about these APIs. Don't you?

    And sorry, I cannot help you more because I have neither bluetooth api's nor any documentation about them.
    Victor Nijegorodov

  6. #6
    Join Date
    Jun 2011
    Posts
    4

    Re: bluetooth event trace for inrange and out range of the registered device in windo

    Quote Originally Posted by VictorN View Post
    If you are "using the various bluetooth api's of windows7" you must have a documentation about these APIs. Don't you?

    And sorry, I cannot help you more because I have neither bluetooth api's nor any documentation about them.
    hey Victor,

    these apis are available while u install the windows7 OS by default.

    i have already performed the bluetooth communication with black berry.
    but i am not able to get the inRange or outrange event when i m taking my device apart from my machine (i.e. outRange) or bringing near by (i.e. inRange) event else i am able to get the connect and disconnect event.

    for inrange and outRange now i am performing the timely check for avaibility of the device by communicate with it.

    to get rid out of it i want to get these events.

  7. #7
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,545

    Re: bluetooth event trace for inrange and out range of the registered device in windo

    Quote Originally Posted by mdheerajgupta View Post
    hey Victor,

    these apis are available while u install the windows7 OS by default.
    Unfortunately I don't have any Bluetooth port/adapter/dongle on my virtual Windows 7 machine. So I cannot test those APIs.
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)