Hi Enrico, > 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?
Yes. This particular logic enables strings (e.g. text enclosed in quotes) to contain various special characters that would otherwise be interpreted differently.
It looks like you have an unterminated " in one of the AT command responses...
Regards, -Denis _______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
