Hi Mattias,
On 06/20/2018 08:24 AM, Mattias Månsson wrote:
It seems we already use that parser though:
syntax = g_at_syntax_new_gsm_permissive();
chat = g_at_chat_new(channel, syntax);
Not sure then. Permissive should be taking care of the issue you
describe, e.g it skips any empty lines:
case GSM_PERMISSIVE_STATE_IDLE:
if (byte == '\r' || byte == '\n')
/* ignore */;
Maybe there's something more subtle going on? Are there stray
whitespace characters or something else in the spurious response? You
would have to trace why the permissive syntax fails and either fix it or
design your own.
Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono