All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue with an URC falling into an AT command response
@ 2018-02-28 10:52 Bassem BOUBAKER
  0 siblings, 0 replies; only message in thread
From: Bassem BOUBAKER @ 2018-02-28 10:52 UTC (permalink / raw)
  To: ofono

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

Hello Community,

I'm facing an issue with an ofono segfault because of an URC is received between the AT command and its response.

Below is my case:

	ofonod[826]: App: > AT^SMONI\r
	ofonod[826]: App: < \r\n^SREG: 2,0\r\n
	ofonod[826]: App: < \r\n^SMONI: Searching\r\nSearching\r\n\r\nOK\r\n

The URC ^SREG is captured in the callback function related to handling the response of AT^SMONI.

I have two questions here:

i) how can I isolate only the response of AT^SMONI without nasty hacking the response cb function.

ii) How can I force ofono to go through the registered callback of the URC ^SREG in this particular case.

Any ideas?



Thanks,
Bassem.







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-28 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-28 10:52 Issue with an URC falling into an AT command response Bassem BOUBAKER

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.