Hi Zhenhua,

> According to V.250 spec section 5.2.4 Repeating a command line, if
> the prefix "A/" or "a/" is received, we should execute the last
> command immediately. No need to meet \r.

Yes you're right.

> @@ -214,22 +213,14 @@ static enum ParserResult server_feed(GAtServer
>  *server, i += 1;
>                               res = PARSER_RESULT_GARBAGE;
>                               goto out;
> -                     } else if (byte == '/')
> -                             server->parser_state = PARSER_STATE_SLASH;
> -                     else if (byte == 'T' || byte == 't')
> +                     } else if (byte == '/') {
>                               server->parser_state = PARSER_STATE_COMMAND;

I changed this to PARSER_STATE_IDLE and applied the patch.

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

Reply via email to