mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-29 07:04:19 +08:00
doc: Document missing errors returned by the Device1 API.
There were two groups of missing error messages in the documentation: * For org.bluez.Device1.DisconnectProfile: This method could certainly call btd_error_not_supported or btd_error_failed returning those errors. * For org.bluez.Device1.Pair: The pairing process could certainly call new_authentication_return which can return (and actualy does) five other different errors.
This commit is contained in:
parent
a7171953ac
commit
51906a8b97
@ -61,7 +61,9 @@ Methods void Connect()
|
||||
succeed.
|
||||
|
||||
Possible errors: org.bluez.Error.DoesNotExist
|
||||
org.bluez.Error.Failed
|
||||
org.bluez.Error.NotConnected
|
||||
org.bluez.Error.NotSupported
|
||||
|
||||
void Pair()
|
||||
|
||||
@ -83,6 +85,11 @@ Methods void Connect()
|
||||
|
||||
Possible errors: org.bluez.Error.InvalidArguments
|
||||
org.bluez.Error.Failed
|
||||
org.bluez.Error.AuthenticationCanceled
|
||||
org.bluez.Error.AuthenticationFailed
|
||||
org.bluez.Error.AuthenticationRejected
|
||||
org.bluez.Error.AuthenticationTimeout
|
||||
org.bluez.Error.ConnectionAttemptFailed
|
||||
|
||||
void CancelPairing()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user