From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] G1: Add an SMS quirk for CNMI mode
Date: Thu, 03 Sep 2009 10:56:15 -0500 [thread overview]
Message-ID: <200909031056.16232.denkenz@gmail.com> (raw)
In-Reply-To: <97D5E1BB8FC13D4EA3B34BAE8E6898C968003A49@orsmsx508.amr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 696 bytes --]
Hi Waldo,
> Instead of having vendor checks all over the place, wouldn't it be cleaner
> if the plugin had a way to provide/fix cnmi_opts?
For now we decided to do it this way, since providing arbitrary properties per
atom seemed to be too much. The hope is that there are not many modems that
blatantly lie about what they can do (like the G1) If quirks get out of hand
we can revisit this.
In the meantime if you need to override the entire cnmi string, do something
like:
if (data->vendor == OFONO_VENDOR_WALDOS_MODEM) {
sprintf(buf, "AT+CNMI=....");
supported = TRUE;
} else if (build_cnmi_string(buf, cnmi_opts, data))
supported = TRUE;
Regards,
-Denis
prev parent reply other threads:[~2009-09-03 15:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-03 1:59 [PATCH] G1: Add an SMS quirk for CNMI mode Andres Salomon
2009-09-03 2:06 ` Marcel Holtmann
2009-09-03 15:42 ` Bastian, Waldo
2009-09-03 15:56 ` Denis Kenzior [this message]
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=200909031056.16232.denkenz@gmail.com \
--to=denkenz@gmail.com \
--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.