Open Source Telephony
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [Gta04-owner] Polling CLCC error handling on Option modem (GTA04)
Date: Wed, 07 Mar 2012 11:09:31 -0800	[thread overview]
Message-ID: <1331147371.3392.179.camel@aeonflux> (raw)
In-Reply-To: <20120307104746.GA1221@tiny>

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

Hi Matthias,

> > > You can always try ignoring CME ERROR 100 and re-try the CLCC poll.
> > > Maybe the modem is in a transitional period (e.g. call being released)
> > > and it can't answer the CLCC properly.  In other words, there's a bug
> > > related to timing of call state changes & CLCC implementation in the
> > > modem firmware.
> > 
> > Yes, it is definitely timing bug. Attached is patch that continues CLCC polling 
> > even after error assuming that CLCC will start working again. It works fine for 
> > me (see log below). It would be nice to get this in ofono git.
> > 
> > ofonod[1188]: App: < \r\n+CLCC: 1,1,4,0,0,"+420608828973",145\r\n\r\nOK\r\n
> > ofonod[1188]: App: > AT+CLCC\r
> > ofonod[1188]: App: < \r\n+CME ERROR: 100\r\n
> > ofonod[1188]: We are polling CLCC and received an error, retrying...
> > ofonod[1188]: App: > AT+CLCC\r
> > ofonod[1188]: App: < \r\nOK\r\n
> > ofonod[1188]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection 
> > event for id: 1, reason: 2
> 
> I'm wondering if this ofonod log has no timestamps in the log lines? Or
> is this something to be configured?

the output also goes to syslog and there you have timestamps.

Regards

Marcel



  parent reply	other threads:[~2012-03-07 19:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 20:47 Polling CLCC error handling on Option modem (GTA04) Radek Polak
2012-03-05 19:26 ` Denis Kenzior
2012-03-06 22:37   ` Neil Jerram
2012-03-05 21:59     ` Denis Kenzior
2012-03-07 10:36   ` Radek Polak
2012-03-06 16:13     ` Denis Kenzior
2012-03-07 19:19       ` Radek Polak
2012-03-07 10:48     ` [Gta04-owner] " Matthias Apitz
2012-03-07 19:06       ` Neil Jerram
2012-03-07 19:09       ` Marcel Holtmann [this message]
2012-03-08 21:54 ` Jean-Christian de Rivaz
2012-03-08 23:47   ` Radek Polak
     [not found] <2B3E493D-2A99-47FD-9AB7-C8669C14643A@goldelico.com>
2012-03-06 21:30 ` [Gta04-owner] " Radek Polak
2012-03-05 19:46   ` Denis Kenzior

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=1331147371.3392.179.camel@aeonflux \
    --to=marcel@holtmann.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox