diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-10-02 12:03:39 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-10-02 12:03:39 +0000 |
commit | 07021baf7a9e81f75776c99d65b774204b11422e (patch) | |
tree | d9c5c5136c82bf3a95c57be30fbdd8821bfa357b /hcid/dbus-api.txt | |
parent | ecb771f7006daf7bdb2c32ac01c435d97cb5bd9d (diff) |
Implement support for SetMode("on")
Diffstat (limited to 'hcid/dbus-api.txt')
-rw-r--r-- | hcid/dbus-api.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index de604302..9a29916d 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -380,7 +380,11 @@ Methods dict GetInfo() void SetMode(string mode) Sets mode of the adapter. See GetMode for valid strings - for the mode parameter. + for the mode parameter. In addition to the valid strings + for GetMode, this method also supports a special + parameter value "on" which will change the mode to the + previous non-off mode (or do nothing if the current + mode isn't "off"). Possible errors: org.bluez.Error.NoSuchAdapter org.bluez.Error.Failed |