projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c07a2fc
)
hfp_hf_bluez5: Register the SDP record with correct features
author
Vinicius Costa Gomes
<vinicius.gomes@openbossa.org>
Tue, 23 Apr 2013 21:21:52 +0000
(18:21 -0300)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 25 Apr 2013 08:40:19 +0000
(
03:40
-0500)
plugins/hfp_hf_bluez5.c
patch
|
blob
|
history
diff --git
a/plugins/hfp_hf_bluez5.c
b/plugins/hfp_hf_bluez5.c
index
826796f
..
06b6fd3
100644
(file)
--- a/
plugins/hfp_hf_bluez5.c
+++ b/
plugins/hfp_hf_bluez5.c
@@
-636,10
+636,15
@@
static const GDBusMethodTable profile_methods[] = {
static void connect_handler(DBusConnection *conn, void *user_data)
{
+ uint16_t features = HFP_SDP_HF_FEATURE_3WAY |
+ HFP_SDP_HF_FEATURE_CLIP |
+ HFP_SDP_HF_FEATURE_REMOTE_VOLUME_CONTROL |
+ HFP_SDP_HF_FEATURE_WIDEBAND_SPEECH;
+
DBG("Registering External Profile handler ...");
bt_register_profile(conn, HFP_HS_UUID, HFP_VERSION_1_6, "hfp_hf",
- HFP_EXT_PROFILE_PATH, NULL,
0
);
+ HFP_EXT_PROFILE_PATH, NULL,
features
);
}
static gboolean has_hfp_ag_uuid(DBusMessageIter *array)