All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: AT commands timeout
Date: Thu, 18 Dec 2014 09:54:35 -0600	[thread overview]
Message-ID: <5492F8BB.203@gmail.com> (raw)
In-Reply-To: <CAH4ZQwvHCQthM2tMJneKH=CjJ1=mQucXcLA43WE_ww66bAVnOw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

Hi Enrico,

On 12/18/2014 09:23 AM, Enrico Sau wrote:
> Hi everyone,
>
> Is there any way to set a timeout on AT commands send?
> I'm experiencing some problems because in some situation my modem does
> not answer to some AT command and I don't want for that to block my
> application.

GAtChat does not support AT command timeouts.  We chose not to implement 
this since there's no way to handle timeouts gracefully.

>
> The best solution would be to have a timeout parameter on at command
> send to avoid this kind of problems.
>

Sounds like you have some deeper modem integration issues to take care 
of.  AT command timeouts are generally not the answer based on our 
experience.

Regards,
-Denis


      reply	other threads:[~2014-12-18 15:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-18 15:23 AT commands timeout Enrico Sau
2014-12-18 15:54 ` Denis Kenzior [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5492F8BB.203@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.