[PATCH] Add echo/noise reduction to processing of CNAP messages

HouYu Li karadog at gmail.com
Thu Mar 12 09:46:24 CET 2009


**I think it should be some where in the
*NeoCallProvider::cpiNotification*function. The comment says "
*Call progress notification for the NEO device.*"

On Thu, Mar 12, 2009 at 12:28 PM, Chris Samuel <chris at csamuel.org> wrote:

> This patch adds the AT commands to set up noise/echo reduction upon
> receiving a CNAP message from the network which is (hopefully) the
> notification of an incoming call.
>
> Signed-off-by: Chris Samuel <chris at csamuel.org>
> ---
>  .../src/plugins/phonevendors/neo/vendor_neo.cpp    |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/devices/neo/src/plugins/phonevendors/neo/vendor_neo.cpp
> b/devices/neo/src/plugins/phonevendors/neo/vendor_neo.cpp
> index 35f7a0b..093ff18 100644
> --- a/devices/neo/src/plugins/phonevendors/neo/vendor_neo.cpp
> +++ b/devices/neo/src/plugins/phonevendors/neo/vendor_neo.cpp
> @@ -144,6 +144,12 @@ void NeoCallProvider::cnapNotification( const QString&
> msg )
>     QAtUtils::skipField( msg, posn );      // name_length
>     QString name = QAtUtils::nextString( msg, posn );
>     QModemCall *call = incomingCall();
> +
> +    // do undocumented echo cancellation and noise reduction
> +
> +    modemService->primaryAtChat()->chat( "AT at ST=\"-26\"" );
> +    modemService->primaryAtChat()->chat( "AT%N0187" );
> +
>     if ( call )
>         call->emitNotification( QPhoneCall::CallingName, name );
>  }
> --
> 1.5.6.3
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090312/cfb16a39/attachment.htm 


More information about the community mailing list