* [PATCH 1/2] doc/device-api: Update possible errors for ConnectProfile
@ 2015-01-27 7:49 Jakub Sitnicki
2015-01-27 7:49 ` [PATCH 2/2] doc/device-api: Update possible errors for DisconnectProfile Jakub Sitnicki
2015-01-27 13:40 ` [PATCH 1/2] doc/device-api: Update possible errors for ConnectProfile Luiz Augusto von Dentz
0 siblings, 2 replies; 3+ messages in thread
From: Jakub Sitnicki @ 2015-01-27 7:49 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Jakub Sitnicki
Make API documentation reflect the current implementation.
---
doc/device-api.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 86d8af8..4f5e1d9 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -46,9 +46,11 @@ Methods void Connect()
device. The UUID provided is the remote service
UUID for the profile.
- Possible errors: org.bluez.Error.DoesNotExist
- org.bluez.Error.AlreadyConnected
- org.bluez.Error.ConnectFailed
+ Possible errors: org.bluez.Error.Failed
+ org.bluez.Error.InProgress
+ org.bluez.Error.InvalidArguments
+ org.bluez.Error.NotAvailable
+ org.bluez.Error.NotReady
void DisconnectProfile(string uuid)
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] doc/device-api: Update possible errors for DisconnectProfile
2015-01-27 7:49 [PATCH 1/2] doc/device-api: Update possible errors for ConnectProfile Jakub Sitnicki
@ 2015-01-27 7:49 ` Jakub Sitnicki
2015-01-27 13:40 ` [PATCH 1/2] doc/device-api: Update possible errors for ConnectProfile Luiz Augusto von Dentz
1 sibling, 0 replies; 3+ messages in thread
From: Jakub Sitnicki @ 2015-01-27 7:49 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Jakub Sitnicki
Make API documentation reflect the current implementation.
---
doc/device-api.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 4f5e1d9..eec0024 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -62,9 +62,9 @@ Methods void Connect()
as long as the profile is registered this will always
succeed.
- Possible errors: org.bluez.Error.DoesNotExist
- org.bluez.Error.Failed
- org.bluez.Error.NotConnected
+ Possible errors: org.bluez.Error.Failed
+ org.bluez.Error.InProgress
+ org.bluez.Error.InvalidArguments
org.bluez.Error.NotSupported
void Pair()
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] doc/device-api: Update possible errors for ConnectProfile
2015-01-27 7:49 [PATCH 1/2] doc/device-api: Update possible errors for ConnectProfile Jakub Sitnicki
2015-01-27 7:49 ` [PATCH 2/2] doc/device-api: Update possible errors for DisconnectProfile Jakub Sitnicki
@ 2015-01-27 13:40 ` Luiz Augusto von Dentz
1 sibling, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2015-01-27 13:40 UTC (permalink / raw)
To: Jakub Sitnicki; +Cc: linux-bluetooth@vger.kernel.org
Hi Jakub,
On Tue, Jan 27, 2015 at 9:49 AM, Jakub Sitnicki <jsitnicki@gmail.com> wrote:
> Make API documentation reflect the current implementation.
> ---
> doc/device-api.txt | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/doc/device-api.txt b/doc/device-api.txt
> index 86d8af8..4f5e1d9 100644
> --- a/doc/device-api.txt
> +++ b/doc/device-api.txt
> @@ -46,9 +46,11 @@ Methods void Connect()
> device. The UUID provided is the remote service
> UUID for the profile.
>
> - Possible errors: org.bluez.Error.DoesNotExist
> - org.bluez.Error.AlreadyConnected
> - org.bluez.Error.ConnectFailed
> + Possible errors: org.bluez.Error.Failed
> + org.bluez.Error.InProgress
> + org.bluez.Error.InvalidArguments
> + org.bluez.Error.NotAvailable
> + org.bluez.Error.NotReady
>
> void DisconnectProfile(string uuid)
>
> --
> 1.9.3
Applied, thanks.
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-27 13:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-27 7:49 [PATCH 1/2] doc/device-api: Update possible errors for ConnectProfile Jakub Sitnicki
2015-01-27 7:49 ` [PATCH 2/2] doc/device-api: Update possible errors for DisconnectProfile Jakub Sitnicki
2015-01-27 13:40 ` [PATCH 1/2] doc/device-api: Update possible errors for ConnectProfile Luiz Augusto von Dentz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).