2018-05-10 09:32:03

by Ankit Navik

[permalink] [raw]
Subject: [PATCH] src/profile: Updates HFP version to 1.7

Add changes to update HFP version to 0x0107 for HFP_HS_UUID and
HFP_AG_UUID. Ofono get this version from bluez and enable HFP 1.7
specific commands.
---
src/profile.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/profile.c b/src/profile.c
index 7c5318c..1e9c585 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -1971,7 +1971,7 @@ static struct default_settings {
.authorize = true,
.auto_connect = true,
.get_record = get_hfp_hf_record,
- .version = 0x0105,
+ .version = 0x0107,
}, {
.uuid = HFP_AG_UUID,
.name = "Hands-Free Voice gateway",
@@ -1981,7 +1981,7 @@ static struct default_settings {
.authorize = true,
.auto_connect = true,
.get_record = get_hfp_ag_record,
- .version = 0x0105,
+ .version = 0x0107,
}, {
.uuid = HSP_AG_UUID,
.name = "Headset Voice gateway",
--
2.7.4



2018-05-10 04:50:21

by Ankit Navik

[permalink] [raw]
Subject: RE: [PATCH] src/profile: Updates HFP version to 1.7

SGkgQmhhcmF0LCANCg0KPiBPbiBUaHUsIE1heSAxMCwgMjAxOCBhdCA5OjUxIEFNLCBiaGFyYXQg
cGFuZGEgPGJoYXJhdDIyYmh1c2FuQGdtYWlsLmNvbT4gd3JvdGU6PiANCj4gSGkgQW5raXQsDQo+
IA0KPiBJcyB0aGlzIHRvIHVwZ3JhZGUgQmx1ZVogSEZQIHZlcnNpb24gdG8gMS43IHNvIHRoYXQg
b0Zvbm8gY2FuIGdldCB0aGlzIHZlcnNpb24gdG8NCj4gcHJvY2VlZCB3aXRoIDEuNyBzcGVjaWZp
YyBjb21tYW5kcz8NCg0KWWVzDQoNCj4gSWYgc28sIHRoZW4gcGxlYXNlIHVwZGF0ZSB0aGUgY29t
bWl0IG1lc3NhZ2UgaW4gZGV0YWlsIGFuZCB0aGUgcGF0Y2ggbG9va3MgZ29vZA0KPiB0byBtZSwg
c29tZW9uZSBzaG91bGQgYXBwc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