All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: Patch on unsupported AT command
Date: Fri, 13 Nov 2009 12:18:52 +0100	[thread overview]
Message-ID: <1258111132.3299.10.camel@violet> (raw)
In-Reply-To: <38D9F46DFF92C54980D2F2C1E8EE313001B49C0DD6@pdsmsx503.ccr.corp.intel.com>

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

Hi Yang,

> 	If some unsupported AT command is issued, different modem may have their own response. Now at my hand is a Huawei modem (EM770W), and it returns "COMMAND NOT SUPPORT". In my case, this modem doesn't support "AT+CGAUTO=0" in atmodem/gprs.c. Current oFono will hang there for it's not a valid return.
> 	We may have some quirk to handle this problem, the same way as current code in network-registration.c with CALYPSO. But I wonder if it's better to add the response string into "terminator table", so that we don't need this kind of quirk here and there. I'm not sure if this is the better/best way to handle this problem. After all, the table may become larger and larger is more and more specific terminator like this are added. 
> 	Comments are welcome!

this lovely broken Huawei modem where the firmware developers were
incapable of reading the specification and just made up a new response.

I think this might need a GAtChat quirk function where we can add extra
terminator responses that will be recognized. And maybe even translated
into something meaningful.

Denis, or do you want this quirked in every plugin or modem driver?

Regards

Marcel



  reply	other threads:[~2009-11-13 11:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13  7:11 Patch on unsupported AT command Gu, Yang
2009-11-13 11:18 ` Marcel Holtmann [this message]
2009-11-13 16:38   ` Denis Kenzior
2009-11-13 16:58     ` Marcel Holtmann
2009-11-13 17:05       ` Denis Kenzior
2009-11-17  9:38         ` Gu, Yang
2009-11-17 10:40           ` Marcel Holtmann
2009-11-17 16:27             ` Gu, Yang
2009-11-17 17:56               ` Denis Kenzior
2009-11-17 20:35                 ` Marcel Holtmann
2009-11-20  9:02                   ` Gu, Yang
2009-11-20 13:30                     ` Marcel Holtmann
2009-11-21  5:54                       ` Gu, Yang
2009-11-21 10:41                         ` Marcel Holtmann
2009-11-23  2:41                           ` Gu, Yang
2009-11-23  6:21                             ` Marcel Holtmann
2009-11-23 10:54                               ` Denis Kenzior
2009-11-23 16:08                                 ` Marcel Holtmann
2009-11-24 16:01                               ` Gu, Yang
2009-11-24 17:07                                 ` Marcel Holtmann

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=1258111132.3299.10.camel@violet \
    --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 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.