All of lore.kernel.org
 help / color / mirror / Atom feed
* AT commands timeout
@ 2014-12-18 15:23 Enrico Sau
  2014-12-18 15:54 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Enrico Sau @ 2014-12-18 15:23 UTC (permalink / raw)
  To: ofono

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

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.

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

Any idea?

​Thank you!

Enrico
​ Sau​

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1251 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AT commands timeout
  2014-12-18 15:23 AT commands timeout Enrico Sau
@ 2014-12-18 15:54 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2014-12-18 15:54 UTC (permalink / raw)
  To: ofono

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-18 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-18 15:23 AT commands timeout Enrico Sau
2014-12-18 15:54 ` Denis Kenzior

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.