summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2013-04-23 18:21:52 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-04-25 03:40:19 -0500
commite1de3c7f2ec6541918bc3483479065a178e5d51f (patch)
treece37169a1deb0162c219d11f33e495b569dd66a1 /plugins
parentc07a2fc24ceb1ea7e3d67f4071aeab9b8db02de9 (diff)
downloadofono-e1de3c7f2ec6541918bc3483479065a178e5d51f.tar.bz2
hfp_hf_bluez5: Register the SDP record with correct features
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_hf_bluez5.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index 826796f0..06b6fd33 100644
--- 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)