Open Source Telephony
 help / color / mirror / Atom feed
From: Marko Sulejic <marko.sulejic@hale.at>
To: ofono@ofono.org
Subject: Re: HE910 + ofono: "Activating context failed with error: Unknown error type"
Date: Tue, 30 Jun 2015 13:31:05 +0200	[thread overview]
Message-ID: <55927DF9.6020006@hale.at> (raw)
In-Reply-To: <55922F27.1020802@hale.at>

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

Am 2015-06-30 um 07:54 schrieb Marko Sulejic:
> Am 2015-06-26 um 04:20 schrieb Denis Kenzior:
>> Hi Marko,
>>
>> >
>>> _And the fail log _(on reconnect):
>>>
>>> Jun 29 15:19:34 mx31tt01 daemon.debug ofonod[657]:
>>> gprs-context.c(240):at_gprs_activate_primary() cid 1
>>> Jun 29 15:19:34 mx31tt01 daemon.info ofonod[657]: Modem: >
>>> AT+CGDCONT=1,"IP","web.one.at"\r
>>
>> Your modem is not responding to this AT command.  There's not much 
>> that can be done on the oFono side.  You need to figure out why the 
>> modem is acting this way.
>>
>
> Hi Denis,
>
> thank you for the answer. If I can figure out the error,
> and can solve the problem, I will let you know.
>

Hi Denis,

we figured out the problem:

At the end of a PPP connection, garbage was passed in to the AT command 
parser on the modem chat.
This garbage contained a doublequote, which switched the AT syntax 
parser into string mode.
However, because no second doublequote arrived, it stayed in this mode, 
and kept returning UNSURE result.

I think this is an major issue that should be fixed in oFono.
The syntax parser has to be extended to handle such cases.

Regards,
Marko


  reply	other threads:[~2015-06-30 11:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25  9:15 HE910 + ofono: "Activating context failed with error: Unknown error type" Marko Sulejic
2015-06-25 13:05 ` Marko Sulejic
2015-06-29 11:16   ` Marko Sulejic
2015-06-29 12:59     ` Enrico Sau
2015-06-29 13:33       ` Marko Sulejic
2015-06-26  2:20         ` Denis Kenzior
2015-06-30  5:54           ` Marko Sulejic
2015-06-30 11:31             ` Marko Sulejic [this message]
2015-06-26 23:01               ` Denis Kenzior
2015-06-30 15:16                 ` Enrico Sau
2015-07-01  7:14                   ` Marko Sulejic
2015-07-01  7:11                 ` Marko Sulejic
2015-07-01  0:44                   ` 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=55927DF9.6020006@hale.at \
    --to=marko.sulejic@hale.at \
    --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