Hi Jeevaka,

On 01/03/2011 03:43 AM, Jeevaka Badrappan wrote:
> ---
>  src/qsimcommand.cpp |   10 ++++++++--
>  1 files changed, 8 insertions(+), 2 deletions(-)
> 

I applied this patch, however:

> +    if ( str.isEmpty() && ( options & QSimCommand::EncodeEmptyStrings ) == 0 
> ) {
> +        // Special form for empty strings.
> +        binary += (char)tag;
> +        binary += (char)0x01;
> +        binary += (char)options;

This part was working by accident.  options does not necessarily map to
a valid dcs used by the Text data object.  I fixed this in a follow on
commit.

> +        return;
> +    }
>      int schemeMask = ((tag & 0xFF00) >> 8);     // For USSD string output.
>      if ( ( options & QSimCommand::UCS2Strings ) == 0 ) {
>          QTextCodec *gsm = QAtUtils::codec( "gsm-noloss" );

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to