Parent: ed4c79e6fd8f4e4cb8e1c9b784367c7214cfa1d7
Author: David Lechner <david@lechnology.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-04-29 03:00:59
Tree: f3aca1788cb775e07593313e3662c21da6b2140d
src/gatt-client: allow "command" even when property not set This modifies the GATT client characteristic WriteValue D-Bus method to not check that the characteristic supports the requested type of write when the "type" option is set to "command". Before this change, if the "type" option was used and it was set to "reliable" or "request", then BlueZ would attempt the write even if the characteristic does not support that write type. On the other hand, if "type" was set to "command" or was not specified, the method would return a org.bluez.Error.NotSupported error without attempting to write. After this change, the WriteValue method will consistently always ignore the characteristic properties and attempt to write when the "type" option is used instead of having a different behavior for the "command" type.
Diffstat
| M | src/gatt-client.c | | | 4 | ++- - |
1 files changed, 2 insertions(+), 2 deletions(-)