Hi Giacinto,
I need to probe with 'AT' once per second the modem and the
application port, one after the other.
It needs to be repeated a few times, because the device might be
booting up, but it could also be that the device is not responding
(because, for example, mapped on the RS232).
Ugh. Doesn't your firmware provide some sort of ready notification?
But anyway, you can still accomplish this with
g_at_chat_send/g_timeout_add/g_at_chat_cancel...
Another use could be to abort a long-running command (eg: SMS sending,
which can take up to 3 minutes), to allow the application to do
something else, eg: emergency call.
This is why they invented the multiplexer. Also note that we don't
implement actual AT command abortions. So it depends on the behavior of
your AT command interpreter whether this works as you think.
I'm not taking this patch as things stand right now.
Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono