HFP 1.6 adds a new feature called Codec Negotitation. For the HF Role,
this feature is stored in the eighty bit of the supported features
bitmap.
This way, we need to change the range of valid HF feature bitmaps to
2^8-1.
---
src/emulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/emulator.c b/src/emulator.c
index 890ea20..80341a4 100644
--- a/src/emulator.c
+++ b/src/emulator.c
@@ -487,7 +487,7 @@ static void brsf_cb(GAtServer *server, GAtServerRequestType
type,
if (g_at_result_iter_next_number(&iter, &val) == FALSE)
goto fail;
- if (val < 0 || val > 127)
+ if (val < 0 || val > 255)
goto fail;
em->r_features = val;
--
1.7.9.5
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono