According to Bluetooth HFP spec: By default, if the AG supports its
own embedded echo canceling and/or noise reduction functions, it shall
have them activated until the AT+NREC command is received. The
configuration set by the HF shall by used by the AG while the Service
Level Connection is active.
Since there isn't a command to query the current value, it is being
assumed that ECNR is enabled when the connection is established and
the gateway supports ECNR feature.
---
src/handsfree.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/handsfree.c b/src/handsfree.c
index 041d3f2..31f2cea 100644
--- a/src/handsfree.c
+++ b/src/handsfree.c
@@ -361,6 +361,7 @@ struct ofono_handsfree *ofono_handsfree_create(struct
ofono_modem *modem,
hf->atom = __ofono_modem_add_atom(modem,
OFONO_ATOM_TYPE_HANDSFREE,
handsfree_remove, hf);
+ hf->ecnr = TRUE;
for (l = g_drivers; l; l = l->next) {
const struct ofono_handsfree_driver *drv = l->data;
--
1.7.11.7
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono