diff options
| author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-09-29 12:54:50 +0000 | 
|---|---|---|
| committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-09-29 12:54:50 +0000 | 
| commit | f6a6dae54906e5dc8487200f4622526a50beb720 (patch) | |
| tree | 1f5103544b73099da61fb9d86ecaad2f16f1b893 | |
| parent | 4f26ef65503b76d8f6fb7cb42e09c42ddcf51b59 (diff) | |
updated errors
| -rw-r--r-- | hcid/dbus-api.txt | 20 | 
1 files changed, 11 insertions, 9 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index 957c3b2d..03e91596 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -204,7 +204,7 @@ Methods		string GetAddress()  			Example: "HCI 19.2" -			Possible errors: none +			Possible errors: org.bluez.Error.Failed  		string GetManufacturer() @@ -215,7 +215,7 @@ Methods		string GetAddress()  			Example: "Cambridge Silicon Radio" -			Possible errors: none +			Possible errors: org.bluez.Error.Failed  		string GetCompany() @@ -231,7 +231,7 @@ Methods		string GetAddress()  			Example: "Apple Computer" -			Possible errors: none +			Possible errors: org.bluez.Error.Failed  		string GetMode() @@ -246,7 +246,8 @@ Methods		string GetAddress()  			Sets mode of the adapter. See GetMode for valid strings  			for the mode parameter. -			Possible errors: org.bluez.Error.Failed +			Possible errors: org.bluez.Error.NoSuchAdapter  +					 org.bluez.Error.Failed  		uint32 GetDiscoverableTimeout() @@ -307,12 +308,13 @@ Methods		string GetAddress()  		string GetMajorClass()  			Returns the current major class value for this -			system. This value is set to "computer" for now. - -			If the major class can't be matched by a string -			the decimal value as string should be returned. +			system. Currently, only "computer" is supported. +			For the other values, unsupported major class +			error is returned. -			Possible errors: none +			Possible errors: org.bluez.Error.NoSuchAdapter +					 org.bluez.Error.UnsupportedMajorClass +					 org.bluez.Error.Failed  		array{string} ListAvailableMinorClasses()  | 
