All of lore.kernel.org
 help / color / mirror / Atom feed
* Handle broken AT command process
@ 2019-08-19 19:29 Martin =?unknown-8bit?q?Hundeb=C3=B8ll?=
  2019-08-19 19:55 ` Denis Kenzior
  0 siblings, 1 reply; 3+ messages in thread
From: Martin =?unknown-8bit?q?Hundeb=C3=B8ll?= @ 2019-08-19 19:29 UTC (permalink / raw)
  To: ofono

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

Hi,

Does ofono have a way to handle lacking OK/error messages? I seems like 
my modem (Quectel M95) is buggy when it comes to unsolicited indications 
and (as far as I have seen) SIM commands:

  > AT+CRSM=178,28614,3,4,8
  < +CRSM: 144,0,"FFFFFFFFFFFFFFFF"
  < OK
  > AT+CRSM=178,28614,4,4,8
  < Call Ready
  < +CREG: 5,"0119","04EA"

The "Call Ready" indication causes a lacking "OK" from the preceding 
"AT+CRSM" command. This has happened with other CRSM commands, and can 
also be caused by an unsolicited +CREG indication.

I guess one way handle it, is to to glue op the URC listeners to peek 
into the AT command queue and check if a command is pending for 
OK/errors, and retry it if so.

But that could cause unexpected side effects depending on the retried 
command...

// Martin

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

end of thread, other threads:[~2019-08-19 22:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 19:29 Handle broken AT command process Martin =?unknown-8bit?q?Hundeb=C3=B8ll?=
2019-08-19 19:55 ` Denis Kenzior
2019-08-19 22:12   ` Martin =?unknown-8bit?q?Hundeb=C3=B8ll?=

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.