Message ID | 20240426144826.2608852-1-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ,v1,1/2] org.bluez.Gatt: Add org.bluez.Error.ImproperlyConfigured error to WriteValue | expand |
diff --git a/doc/org.bluez.GattCharacteristic.rst b/doc/org.bluez.GattCharacteristic.rst index cd5a0d0c788f..b7e4a7b69c9e 100644 --- a/doc/org.bluez.GattCharacteristic.rst +++ b/doc/org.bluez.GattCharacteristic.rst @@ -133,6 +133,7 @@ void WriteValue(array{byte} value, dict options) :org.bluez.Error.InvalidValueLength: :org.bluez.Error.NotAuthorized: :org.bluez.Error.NotSupported: + :org.bluez.Error.ImproperlyConfigured: fd, uint16 AcquireWrite(dict options) [optional] ```````````````````````````````````````````````` diff --git a/doc/org.bluez.GattDescriptor.rst b/doc/org.bluez.GattDescriptor.rst index 94cc8b26af29..f4497c6d5b15 100644 --- a/doc/org.bluez.GattDescriptor.rst +++ b/doc/org.bluez.GattDescriptor.rst @@ -115,6 +115,7 @@ void WriteValue(array{byte} value, dict flags) :org.bluez.Error.InvalidValueLength: :org.bluez.Error.NotAuthorized: :org.bluez.Error.NotSupported: + :org.bluez.Error.ImproperlyConfigured: Properties ----------
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Some attributes may require to generate BT_ERROR_CCC_IMPROPERLY_CONFIGURED when its CCC is not properly configured so this adds the possibility to generate it by replying with org.bluez.Error.ImproperlyConfigured error to WriteValue. --- doc/org.bluez.GattCharacteristic.rst | 1 + doc/org.bluez.GattDescriptor.rst | 1 + 2 files changed, 2 insertions(+)