summaryrefslogtreecommitdiffstats
path: root/binding-bluetooth/bluetooth-api.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-09-28 16:57:04 +0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-10-05 09:03:23 +0000
commitbc1fe8673e46f073e31bed137e532e380fcfd85f (patch)
treeef3874e57b564cd1d1f015bdca1c24bc010ebab3 /binding-bluetooth/bluetooth-api.h
parentd745897d39dd5ac1cd59b1299c9c3a594c5d4a87 (diff)
binding: bluetooth: report HFPConnected statusflounder_6.0.2flounder_6.0.1flounder/6.0.2flounder/6.0.16.0.26.0.1
Due to ofono code removal the HFPConnected status wasn't being reported to clients that depended on it. Ideally this needs to be in agl-service-telephony binding, but till then just report HFP as 'connected' if both device is connected and has the HFP UUID in the advertised services. Bug-AGL: SPEC-1765 Change-Id: I6a1c5afe1d89a6ac6a4e84b07777d04368a4e772 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding-bluetooth/bluetooth-api.h')
-rw-r--r--binding-bluetooth/bluetooth-api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binding-bluetooth/bluetooth-api.h b/binding-bluetooth/bluetooth-api.h
index b1dbd45..55a9095 100644
--- a/binding-bluetooth/bluetooth-api.h
+++ b/binding-bluetooth/bluetooth-api.h
@@ -50,6 +50,7 @@ typedef struct {
unsigned int index; /* currently selected media file */
} BtCtxHandleT;
+#define HFP_UUID "0000111f-0000-1000-8000-00805f9b34fb"
#endif /* BLUETOOTH_API_H */