All of lore.kernel.org
 help / color / mirror / Atom feed
* Dealing with modem hangs
@ 2014-03-24 20:45 Yevhen Kyriukha
  2014-03-24 21:04 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Yevhen Kyriukha @ 2014-03-24 20:45 UTC (permalink / raw)
  To: ofono

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

I use 3G modems connected to unattended terminals for a long time.
I use ofono for managing 2G connections.

All this time I'm suffering from modem hangs: during establishing 2G
connection modem may hang, i.e. it stops reacting on AT commands to
specific port.
I'd tested a lot of modems of different brands before selecting one.
And I have to say that *every* model has such issue.

So I created a workaround for this (patched ofono):
When I send AT command I start a timer that fires when no response is
received during some timeout. So if timeout is reached I send
AT+CFUN=1,1
command that makes modem reset.
After that modem can be usable again.

I was surprised that ofono doesn't have such functionality.

So I think ofono should have some sort of mechanism to reset the modem
if it stops responding.
What do you think?

-- 
Best regards,
Yevhen

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

end of thread, other threads:[~2014-03-24 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 20:45 Dealing with modem hangs Yevhen Kyriukha
2014-03-24 21:04 ` 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.