All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH v1 1/7] doc: Add EchoCancelingNoiseReduction to Handsfree
Date: Mon, 22 Apr 2013 04:04:47 -0500	[thread overview]
Message-ID: <5174FD2F.30001@gmail.com> (raw)
In-Reply-To: <1366635523-8272-1-git-send-email-claudio.takahasi@openbossa.org>

[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]

Hi Claudio,

On 04/22/2013 07:58 AM, Claudio Takahasi wrote:
> This patch adds echo canceling and noise reduction property to Handsfree
> interface, allowing the handsfree unit to enable or disable this feature
> in the audio gateway.
>
> According to Bluetooth HFP 1.6 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.
> ---
>   doc/handsfree-api.txt | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/doc/handsfree-api.txt b/doc/handsfree-api.txt
> index 0b5d421..6855d93 100644
> --- a/doc/handsfree-api.txt
> +++ b/doc/handsfree-api.txt
> @@ -56,6 +56,13 @@ Properties	array{string} Features [readonly]
>   			to activate or deactivate the function from the HF, or
>   			the AG could autonomously initiate it.
>
> +		boolean EchoCancelingNoiseReduction [readwrite]
> +
> +			Boolean representing whether echo canceling and noise
> +			reduction is enabled in the AG. This property may be
> +			written to activate or deactivate this feature from
> +			the HF unit.
> +

This feature can only be disabled, not enabled for a given SLC.  So 
setting this to 'True' should return an error or do something way fancier.

I suspect that to implement this properly we need to store the ECNR 
setting on disk (e.g. /var/lib/ofono/<local bdaddr>/<remote 
bdaddr>/handsfree or something) and manage it appropriately inside the core.

>   		byte BatteryChargeLevel [readonly]
>
>   			The current charge level of the battery.  The value

Regards,
-Denis

  reply	other threads:[~2013-04-22  9:04 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19 17:34 [PATCH v0 1/7] doc: Add ECNR to Handsfree Claudio Takahasi
2013-04-19 15:24 ` Denis Kenzior
2013-04-19 21:17   ` Claudio Takahasi
2013-04-19 18:01     ` Denis Kenzior
2013-04-19 17:34 ` [PATCH v0 2/7] core: Add ECNR to Handsfree Features Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 3/7] core: Add ECNR in Handsfree GetProperty Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 4/7] core: Set ECNR to TRUE by default Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 5/7] include: Add ECNR to handsfree driver Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 6/7] hfpmodem: Add ECNR implementation Claudio Takahasi
2013-04-19 17:34 ` [PATCH v0 7/7] core: Add SetProperty for ECNR Claudio Takahasi
2013-04-19 20:11 ` [PATCH v0 1/7] doc: Add ECNR to Handsfree Johan Hedberg
2013-04-19 20:43   ` Claudio Takahasi
2013-04-22 12:58 ` [PATCH v1 1/7] doc: Add EchoCancelingNoiseReduction " Claudio Takahasi
2013-04-22  9:04   ` Denis Kenzior [this message]
2013-04-22 16:46     ` Claudio Takahasi
2013-04-22 11:56       ` Denis Kenzior
2013-04-22 12:58   ` [PATCH v1 2/7] core: Add "echo-canceling-and-noise-reduction" Claudio Takahasi
2013-04-22 12:58   ` [PATCH v1 3/7] core: Add EchoCancelingNoiseReduction to GetProperties Claudio Takahasi
2013-04-22 12:58   ` [PATCH v1 4/7] core: Set EchoCancelingNoiseReduction to TRUE by default Claudio Takahasi
2013-04-22 12:58   ` [PATCH v1 5/7] include: Add EchoCancelingNoiseReduction to handsfree driver Claudio Takahasi
2013-04-22  9:00     ` Denis Kenzior
2013-04-22 12:58   ` [PATCH v1 6/7] hfpmodem: Add EchoCancelingNoiseReduction Claudio Takahasi
2013-04-22 12:58   ` [PATCH v1 7/7] core: Add SetProperty for EchoCancelingNoiseReduction Claudio Takahasi
2013-04-23 12:44   ` [PATCH v2 1/7] doc: Add EchoCancelingNoiseReduction to Handsfree Claudio Takahasi
2013-04-23 12:44     ` [PATCH v2 2/7] core: Add "echo-canceling-and-noise-reduction" Claudio Takahasi
2013-04-23 12:44     ` [PATCH v2 3/7] core: Add EchoCancelingNoiseReduction to GetProperties Claudio Takahasi
2013-04-23 12:44     ` [PATCH v2 4/7] core: Set EchoCancelingNoiseReduction to TRUE by default Claudio Takahasi
2013-04-23 12:44     ` [PATCH v2 5/7] include: Add EchoCancelingNoiseReduction to handsfree driver Claudio Takahasi
2013-04-23 12:44     ` [PATCH v2 6/7] hfpmodem: Add EchoCancelingNoiseReduction Claudio Takahasi
2013-04-23 12:44     ` [PATCH v2 7/7] core: Add SetProperty for EchoCancelingNoiseReduction Claudio Takahasi
2013-04-23 17:21     ` [PATCH v3 1/7] doc: Add EchoCancelingNoiseReduction to Handsfree Claudio Takahasi
2013-04-23 15:30       ` Denis Kenzior
2013-04-23 17:21       ` [PATCH v3 2/7] core: Add "echo-canceling-and-noise-reduction" Claudio Takahasi
2013-04-23 17:21       ` [PATCH v3 3/7] core: Add EchoCancelingNoiseReduction to GetProperties Claudio Takahasi
2013-04-23 17:21       ` [PATCH v3 4/7] core: Set EchoCancelingNoiseReduction to TRUE by default Claudio Takahasi
2013-04-23 17:21       ` [PATCH v3 5/7] include: Add EchoCancelingNoiseReduction to handsfree driver Claudio Takahasi
2013-04-23 17:21       ` [PATCH v3 6/7] hfpmodem: Add EchoCancelingNoiseReduction Claudio Takahasi
2013-04-23 17:21       ` [PATCH v3 7/7] core: Add SetProperty for EchoCancelingNoiseReduction Claudio Takahasi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5174FD2F.30001@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.