software you can take with you

How to close Bluetooth underlying connection

Last post 03-25-2009 5:48 PM by v_a. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 03-17-2009 8:57 AM

    • v_a
    • Top 500 Contributor
    • Joined on 01-29-2009
    • jordan
    • Posts 3

    How to close Bluetooth underlying connection

    hello

    Iam trying to close the bluetooth  underlying connection  

    I use

    cli.Dispose()

    cli.Close()

    even close the thread that intiate the connection but it's not work

    Plase Help and Thanks Smile


     

  • 03-19-2009 4:42 AM In reply to

    Re: How to close Bluetooth underlying connection

    Calling Close/Dispose on the BluetoothClient/NetworkStream/Socket should close the RFCOMM connection immediately.  Presumably the L2CAP/ACL connections should close thereafter.  I don't know if there is an API to force them to close.  What's the problem you are seeing?

  • 03-20-2009 7:40 AM In reply to

    • v_a
    • Top 500 Contributor
    • Joined on 01-29-2009
    • jordan
    • Posts 3

    Re: How to close Bluetooth underlying connection

    I don't know whats the problem but I solve it by Creating a new instance of BluetoothClient

    when I did that it works so ThankssssssssssSmile

  • 03-24-2009 12:55 PM In reply to

    Re: How to close Bluetooth underlying connection

    Wierd!  Don't know how that works...

  • 03-25-2009 5:48 PM In reply to

    • v_a
    • Top 500 Contributor
    • Joined on 01-29-2009
    • jordan
    • Posts 3

    Re: How to close Bluetooth underlying connection

    me too I don't know but thanksWink

Page 1 of 1 (5 items)
Copyright © 2001-2013 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting