Hi Jarko,
>>> @@ -298,6 +310,13 @@ static GAtSyntaxResult gsm_permissive_feed(GAtSyntax
>>> *syntax,
>>> i += 1;
>>> res = G_AT_SYNTAX_RESULT_PROMPT;
>>> goto out;
>>> + } else if (byte == '\r')
>>> + break;
>>> + else if (byte == '\n') {
>>> + syntax->state = GSM_PERMISSIVE_STATE_IDLE;
>>> + i += 1;
>>> + res = G_AT_SYNTAX_RESULT_PROMPT;
>>> + goto out;
>>
>> Same comment here, and man you better pray that your modem doesn't
>> insert unsolicited notifications between you sending a CPOSR and you
>> receiving a prompt ;)
>>
> Yep. Btw now that I think about it, shouldn't the patch that I proposed
> to ste.c help? I know it's ste specific solution but still..
If you mean running GNSS on a dedicated mux channel, then yes it will
help ;)
But really, using a proper prompt would be way better.
Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono