summaryrefslogtreecommitdiff
path: root/client/gatt.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-02-11 18:36:27 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-02-13 17:09:13 +0200
commit183d47c1760107fbe3958c3f7d63cc17cef745ae (patch)
treefeaf5bbc401f54378e632cfef81d8835d0509e8d /client/gatt.h
parent6d410a0e2e2e801e8555a42f799ede5787565bf7 (diff)
downloadbluez-183d47c1760107fbe3958c3f7d63cc17cef745ae.tar.gz
client: Add gatt.clone command
This adds clone command to gatt submenu which can be use to clone services as follow: Clone all services from the connected device: > gatt.clone Clone a given service > gatt.select-attribute <attribute/uuid> > gatt.clone In either case there is a prompt to confirm since this may add a lot of service the user must confim before proceding. Then finally: > gatt.register-application
Diffstat (limited to 'client/gatt.h')
-rw-r--r--client/gatt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/gatt.h b/client/gatt.h
index d4d7bedc6..09ca618d3 100644
--- a/client/gatt.h
+++ b/client/gatt.h
@@ -37,6 +37,7 @@ char *gatt_attribute_generator(const char *text, int state);
void gatt_read_attribute(GDBusProxy *proxy, int argc, char *argv[]);
void gatt_write_attribute(GDBusProxy *proxy, int argc, char *argv[]);
void gatt_notify_attribute(GDBusProxy *proxy, bool enable);
+void gatt_clone_attribute(GDBusProxy *proxy, int argc, char *argv[]);
void gatt_acquire_write(GDBusProxy *proxy, const char *arg);
void gatt_release_write(GDBusProxy *proxy, const char *arg);