diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2013-02-20 19:26:19 -0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-02-20 21:39:06 -0600 |
commit | 28603a98cea5dec808bda7fbe69494e95f98b7c8 (patch) | |
tree | 98af096ad7c99d95489cd3253971e01ff08b4ea2 /plugins | |
parent | f765427b22c55e6a5d0937f440f8d7b5204ae957 (diff) | |
download | ofono-28603a98cea5dec808bda7fbe69494e95f98b7c8.tar.bz2 |
hfp_ag_bluez5: Send HFP version when registering
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hfp_ag_bluez5.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/hfp_ag_bluez5.c b/plugins/hfp_ag_bluez5.c index 03a46fb7..a81adfd7 100644 --- a/plugins/hfp_ag_bluez5.c +++ b/plugins/hfp_ag_bluez5.c @@ -30,11 +30,15 @@ #include <glib.h> #include <ofono.h> +#include <gdbus.h> +#include <gatchat.h> + #define OFONO_API_SUBJECT_TO_CHANGE #include <ofono/plugin.h> #include <ofono/log.h> #include <ofono/modem.h> -#include <gdbus.h> + +#include <drivers/hfpmodem/slc.h> #include "bluez5.h" @@ -176,7 +180,7 @@ static void sim_state_watch(enum ofono_sim_state new_state, void *data) if (modems->next != NULL) return; - bt_register_profile(conn, HFP_AG_UUID, "hfp_ag", + bt_register_profile(conn, HFP_AG_UUID, HFP_VERSION_1_5, "hfp_ag", HFP_AG_EXT_PROFILE_PATH); } |