Hi Denis,
> What syntax is being used?
I'm using permissive syntax.
> How does the rest of the log look like?
>
The rest of the log look fine to me, I had to add prints to understand
why it was blocking.
Anyway, I managed to solve the problem with a simple yet potentially
dangerous fix: I deleted the if statement in the
GSM_PERMISSIVE_STATE_RESPONSE_STRING case, so, it changed from:
gatchat/gatsyntax.c (row 309 more or less)
case GSM_PERMISSIVE_STATE_RESPONSE_STRING:
if (byte == '"')
syntax->state = GSM_PERMISSIVE_STATE_RESPONSE;
break;
To:
case GSM_PERMISSIVE_STATE_RESPONSE_STRING:
syntax->state = GSM_PERMISSIVE_STATE_RESPONSE;
break;
With this fix everything seem to work in my case.
Do you think it is dangerous in any way?
I still don't understand where the "syntax->state =
GSM_PERMISSIVE_STATE_RESPONSE_STRING"
comes from since the state seems to be managed only in this function. I'm
thinking about some memory corruption but I'm not able to find why.
Thank you,
Enrico
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono