mirror of
https://github.com/sailfishos/ofono
synced 2025-12-01 23:21:04 +08:00
gatsyntax: Fix responses starting with a quote
This commit is contained in:
@@ -100,6 +100,8 @@ static GAtSyntaxResult gsmv1_feed(GAtSyntax *syntax,
|
||||
syntax->state = GSMV1_STATE_TERMINATOR_CR;
|
||||
else if (byte == '>')
|
||||
syntax->state = GSMV1_STATE_PROMPT;
|
||||
else if (byte == '"')
|
||||
syntax->state = GSMV1_STATE_RESPONSE_STRING;
|
||||
else
|
||||
syntax->state = GSMV1_STATE_RESPONSE;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user