[maemo-developers] [maemo-developers] Re: Disconnect rfcomm stays between bt_disconnected and rf_disconnected

From: Johan Hedberg johan.hedberg at nokia.com
Date: Thu Apr 6 14:22:16 EEST 2006
On Thu, Apr 06, 2006, koos vriezen wrote:
> For the short term, it would be helpfull if someone could point to a
> way to disable this device, like w/ offline mode or plastic cover,
> programmaticaly.

Using the commandline:
hciconfig hci0 down
hciconfig hci0 up

Or using the HCIDEVDOWN and HCIDEVDOWN ioctl's from C code.

Johan

More information about the maemo-developers mailing list