summaryrefslogtreecommitdiffstats
path: root/binding-bluetooth/bluetooth-manager.h
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-22 21:54:27 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2016-12-22 21:54:27 +0000
commita0a4afb1f26bf6d8c75e7f4907dd6c3b0771b0f6 (patch)
treeafcc5bbb578172cbe2e5c31680fe95f53361190b /binding-bluetooth/bluetooth-manager.h
parent9b6ef23ba4a5cc3389dacad20220dd4308986da7 (diff)
parent3e63800b18c385cb0b52c593daa1f535498d01f0 (diff)
Merge "Add status icon for bluetooth"
Diffstat (limited to 'binding-bluetooth/bluetooth-manager.h')
-rw-r--r--binding-bluetooth/bluetooth-manager.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/binding-bluetooth/bluetooth-manager.h b/binding-bluetooth/bluetooth-manager.h
index cb018b0..3602a78 100644
--- a/binding-bluetooth/bluetooth-manager.h
+++ b/binding-bluetooth/bluetooth-manager.h
@@ -77,6 +77,11 @@
#define AGENT_CONN (cli.agent_conn)
#define OBEX_CONN (cli.obex_conn)
+#define HOMESCREEN_SERVICE "org.agl.homescreen"
+#define HOMESCREEN_ICON_INTERFACE "org.agl.statusbar"
+#define HOMESCREEN_ICON_PATH "/StatusBar"
+#define HOMESCREEN_BT_ICON_POSITION 1
+
#define DBUS_REPLY_TIMEOUT (120 * 1000)
#define DBUS_REPLY_TIMEOUT_SHORT (10 * 1000)
@@ -115,6 +120,9 @@ typedef struct {
GSList * device;
} stBluetoothManage;
+enum btStates {INACTIVE, ACTIVE};
+
+
int BluetoothManageInit(void);
int adapter_set_powered(gboolean value);
@@ -136,6 +144,9 @@ int device_set_property(struct btd_device * addr, const char *property, const ch
int isAVPConnected(struct btd_device *BDdevice);
int isHFPConnected(struct btd_device *BDdevice);
+GError* setHMIStatus(enum btStates);
+
+
#endif /* BLUETOOTH_MANAGER_H */