aboutsummaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-api.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-11-05 20:06:10 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-11-12 03:58:47 -0800
commit50078d83552f02051a5706b3dfea0953eff3a02b (patch)
treeaff9a4308adb7c1a86be933b2320d263ece89d80 /binding/bluetooth-api.h
parent672d403da4fec2455c583b541e7dc10093889b48 (diff)
binding: bluetooth: add autoconnect feature
Attempt connection on each paired device till one is successful on startup. Bug-AGL: SPEC-1630 Change-Id: I213876f65528d0eaeaa5b55a745f541b286f26b5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/bluetooth-api.h')
-rw-r--r--binding/bluetooth-api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binding/bluetooth-api.h b/binding/bluetooth-api.h
index 209f992..f8ce9d8 100644
--- a/binding/bluetooth-api.h
+++ b/binding/bluetooth-api.h
@@ -142,6 +142,8 @@ gboolean bluez_set_property(struct bluetooth_state *ns,
gboolean is_json_name, const char *name, json_object *jval,
GError **error);
+gboolean bluetooth_autoconnect(gpointer data);
+
/* convenience access methods */
static inline gboolean device_property_dbus2json(json_object *jprop,
const gchar *key, GVariant *var, gboolean *is_config,