Hi Denis,

On Sat, Oct 20, 2018 at 6:23 PM Denis Kenzior <[email protected]> wrote:
>
> 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?

yes, but what if the modem has already booted up?

>
> But anyway, you can still accomplish this with
> g_at_chat_send/g_timeout_add/g_at_chat_cancel...

I have tried but it doesn't abort the current 'AT' waiting for an answer.

>
> >
> > 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.

I don't have a way out without this. Any suggestions?

>
> Regards,
> -Denis

Regards,
Giacinto
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to