summaryrefslogtreecommitdiff
path: root/src/gatt-client.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-09-18 15:29:38 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-09-22 13:50:17 +0300
commit8090f7a6c873955a85d2268eef192c4e1b444095 (patch)
tree1ce2b2ec67af6ae77708fee6125ed62cda4c8218 /src/gatt-client.c
parent0f3e810258e0f97a1e941a22f44f42fd46020a0b (diff)
downloadbluez-8090f7a6c873955a85d2268eef192c4e1b444095.tar.gz
gatt: Update signature of AcquireWrite and AcquireNotify
It should now contain an argument for the options even though there are not options defined for clients.
Diffstat (limited to 'src/gatt-client.c')
-rw-r--r--src/gatt-client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gatt-client.c b/src/gatt-client.c
index d523b883a..32b3a8783 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -1624,11 +1624,13 @@ static const GDBusMethodTable characteristic_methods[] = {
{ "options", "a{sv}" }),
NULL,
characteristic_write_value) },
- { GDBUS_EXPERIMENTAL_ASYNC_METHOD("AcquireWrite", NULL,
+ { GDBUS_EXPERIMENTAL_ASYNC_METHOD("AcquireWrite",
+ GDBUS_ARGS({ "options", "a{sv}" }),
GDBUS_ARGS({ "fd", "h" },
{ "mtu", "q" }),
characteristic_acquire_write) },
- { GDBUS_EXPERIMENTAL_ASYNC_METHOD("AcquireNotify", NULL,
+ { GDBUS_EXPERIMENTAL_ASYNC_METHOD("AcquireNotify",
+ GDBUS_ARGS({ "options", "a{sv}" }),
GDBUS_ARGS({ "fd", "h" },
{ "mtu", "q" }),
characteristic_acquire_notify) },