diff options
| author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-23 19:50:25 +0000 | 
|---|---|---|
| committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-23 19:50:25 +0000 | 
| commit | 93c28cc12caa9b54c101482b65f0f8a88ee0fcca (patch) | |
| tree | 55d6a56fa3b26757b61135043ced2e572d7235ad | |
| parent | 07ad6734b5859f00f4cb4fbb0bda806953339a69 (diff) | |
Updated possible errors returned by Manager methods
| -rw-r--r-- | hcid/dbus-api.txt | 36 | 
1 files changed, 36 insertions, 0 deletions
| diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index 9305deb2..95ed2f40 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -142,24 +142,38 @@ Methods		uint32 InterfaceVersion()  			Returns the current interface version. At the moment  			only version 0 is supported. +			Possible errors: org.bluez.Error.InvalidArguments +  		string DefaultAdapter()  			Returns object path for the default adapter. +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.NoSuchAdapter +  		string FindAdapter(string pattern)  			Returns object path for the specified adapter. Valid  			patterns are "hci0" or "00:11:22:33:44:55". +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.NoSuchAdapter +  		array{string} ListAdapters()  			Returns list of adapter object paths under /org/bluez +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.Failed +					 org.bluez.Error.OutOfMemory +  		array{string} ListServices()  			Returns list of object paths of registered  			service agents. +			Possible errors: org.bluez.Error.InvalidArguments +  		void RegisterService(string path, string name,  					string description) @@ -172,6 +186,10 @@ Methods		uint32 InterfaceVersion()  			provide the name of the service and a description of  			what it does or they can be empty strings. +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.AlreadyExists +					 org.bluez.Eroor.Failed +  		void UnregisterService(string path)  			This unregisters a service agent that has been @@ -179,6 +197,10 @@ Methods		uint32 InterfaceVersion()  			match the same value that has been used on  			registration. +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.NotAuthorized +					 org.bluez.Error.Failed +  		uint32 AddServiceRecord(string path, array{byte})  			Add a new service record to the service agent @@ -191,6 +213,10 @@ Methods		uint32 InterfaceVersion()  			registered, otherwise the record will be available  			when the service agent Start method is called. +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.NotAuthorized +					 org.bluez.Error.Failed +  		uint32 AddServiceRecordFromXML(string path, string record)  			Add a new service record to the service agent @@ -203,6 +229,11 @@ Methods		uint32 InterfaceVersion()  			registered, otherwise the record will be available  			when the service agent Start method is called. +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.NotAuthorized +					 org.bluez.Error.Failed + +  		void  RemoveServiceRecord(string path, uint32 handle)  			Remove a service record from the service agent @@ -211,6 +242,11 @@ Methods		uint32 InterfaceVersion()  			The path parameter is the object path of the service  			agent. The second parameter is service record handle. +			Possible errors: org.bluez.Error.InvalidArguments +					 org.bluez.Error.NotAuthorized +					 org.bluez.Error.DoesNotExist +					 org.bluez.Error.Failed +  Signals		void AdapterAdded(string path)  			Parameter is object path of added adapter. | 
