[PATCH v1] hfp:Update for new HFP 1.8

Raghavender Reddy Bujala <[email protected]> Mon, 3 Mar 2025 09:06:46 +0530
Newsgroups dev.linux.lists.ofono
Message-ID <[email protected]>
Existing 1.7 version is outdated/withdrawn to
do certification, so updating it to 1.8 .

Signed-off-by: Raghavender Reddy Bujala <[email protected]>
---
 plugins/hfp_hf_bluez5.c | 2 +-
 src/hfp.h               | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index 40051480..5ad1674f 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -774,7 +774,7 @@ static void connect_handler(DBusConnection *conn, void *user_data)
 
 	DBG("Registering External Profile handler ...");
 
-	bt_register_profile(conn, HFP_HS_UUID, HFP_VERSION_1_7, "hfp_hf",
+	bt_register_profile(conn, HFP_HS_UUID, HFP_VERSION_1_8, "hfp_hf",
 					HFP_EXT_PROFILE_PATH, NULL, features);
 }
 
diff --git a/src/hfp.h b/src/hfp.h
index e58b0d22..28600664 100644
--- a/src/hfp.h
+++ b/src/hfp.h
@@ -72,7 +72,8 @@ enum hfp_version {
 	HFP_VERSION_1_5 =	0x0105,
 	HFP_VERSION_1_6 =	0x0106,
 	HFP_VERSION_1_7 =	0x0107,
-	HFP_VERSION_LATEST =	HFP_VERSION_1_7,
+	HFP_VERSION_1_8 =	0x0108,
+	HFP_VERSION_LATEST =	HFP_VERSION_1_8,
 };
 
 enum hfp_hf_indicator {
-- 
2.17.1