Author Topic: How to reset the bluetooth dongle  (Read 21883 times)

stevebarsky

  • Guest
How to reset the bluetooth dongle
« on: February 02, 2011, 05:02:59 PM »
I have an application in which I connect to a bluetooth device with a known address and password.  If for some reason my application should crash while still connected, the connection remains active for approximately 5 minutes before I can reconnect. 

I would like to reset the bluetooth dongle programmatically in this situation.  I've found one example that shows opening the "BTD0:" device as a file and sending a command, however, this doesn't work, or I can't get the example to work.

I know there is SOME way to make this happen, because I can mouse over to the Bluetooth tray icon, right click, stop the dongle, and then start it again.

Do you know of a way I can reset the dongle programmatically?  And if not, is there a way my application can regain control of the connected device when the application starts back up?

Thanks much
Steve

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to reset the bluetooth dongle
« Reply #1 on: February 02, 2011, 07:55:36 PM »
Hello,

Unfortunately there is no way to resent dongle programmaticaly.

stevebarsky

  • Guest
Re: How to reset the bluetooth dongle
« Reply #2 on: February 02, 2011, 09:05:35 PM »
Thanks Mike.  I suspected not, but I thought I'd check with you before giving up.

Cheers!

 

Sitemap 1 2 3 4 5 6 7