This fixes the warnings: 2013-02-06T20:25:32.676932Z [DEBUG] libfsotransport <0710:3>: Wrote '+CNMA=0'. Waiting (5s) for answer... 2013-02-06T20:25:32.692560Z [DEBUG] libfsotransport <0710:3>: SRC: "+CNMA=0" -> [ "OK" ] 2013-02-06T20:25:32.693249Z [WARN] TiCalypsoModem <4C>: Unexpected length 1 for FsoGsmPlusCNMA 2013-02-06T20:25:32.693618Z [WARN] FsoGsmAtSmsHandler <250997500793162>: Failed to acknowledge SMS message; further SMS messa ge handling will maybe faulty! 2013-02-06T20:25:32.694284Z [WARN] FsoGsmAtSmsHandler <250997500793162>: Could not acknowledge incoming message
Signed-off-by: Paul Fertser <[email protected]> --- fsogsmd/src/lib/at/atsms.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fsogsmd/src/lib/at/atsms.vala b/fsogsmd/src/lib/at/atsms.vala index 805fe4e..f2434ce 100644 --- a/fsogsmd/src/lib/at/atsms.vala +++ b/fsogsmd/src/lib/at/atsms.vala @@ -227,7 +227,7 @@ public class FsoGsm.AtSmsHandler : FsoGsm.AbstractSmsHandler var cmd = modem.createAtCommand<PlusCNMA>( "+CNMA" ); var response = yield modem.processAtCommandAsync( cmd, cmd.issue( 0 ) ); - if ( cmd.validate( response ) != Constants.AtResponse.VALID ) + if ( cmd.validateOk( response ) != Constants.AtResponse.OK ) { logger.warning( @"Failed to acknowledge SMS message; further SMS message handling will maybe faulty!" ); return false; @@ -270,7 +270,7 @@ public class FsoGsm.AtSmsHandler : FsoGsm.AbstractSmsHandler return; } - assert( logger.info( @"Successfully configure for SMS message handling" ) ); + assert( logger.info( @"Successfully configured for SMS message handling" ) ); } public override string repr() -- 1.7.10 _______________________________________________ Smartphones-userland mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
