Hi Martin,

Instead of this dance of opening / closing the chat in order to force-cancel the 'AT' command queued in gemalto_enable(), maybe there should be something in GAtChat itself to handle this case.

<snip>


There's also the retry logic used on quectel modems with auto-detection of baud rates:
https://git.kernel.org/pub/scm/network/ofono/ofono.git/tree/plugins/quectel.c#n1082


Ah right, I completely forgot about g_at_chat_retry that you added for exactly the use case I outlined above. Thanks for the reminder.

Maybe we should just add this modem poking logic into drivers/atmodem/atutil.[ch] or something if it will be used across multiple drivers.

Regards,
-Denis
_______________________________________________
ofono mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to