From: Lei Yu <lei.2.yu@nokia.com>
To: ofono@ofono.org
Subject: Re: [PATCH v2, 7/7] cdmaphonesim: Add CDMA SMS Support
Date: Wed, 22 Dec 2010 13:07:37 -0800 [thread overview]
Message-ID: <4D126899.3020206@nokia.com> (raw)
In-Reply-To: <4D12260D.3070502@nokia.com>
[-- Attachment #1: Type: text/plain, Size: 2959 bytes --]
Hi, Marcel and all,
On 12/22/2010 08:23 AM, ext Lei Yu wrote:
> Hi Marcel,
>
> On 12/22/2010 08:09 AM, ext Marcel Holtmann wrote:
>> Hi Lei,
>>
>>>>> Makefile.am | 10 ++
>>>>> plugins/cdmaphonesim.c | 328
>>>>> +++++++++++++++++++++++++++++++++++++++++++++
>>>>> plugins/cdmaphonesim.conf | 14 ++
>>>>> 3 files changed, 352 insertions(+), 0 deletions(-)
>>>>> create mode 100644 plugins/cdmaphonesim.c
>>>>> create mode 100644 plugins/cdmaphonesim.conf
>>>>
>>>> do we really want to do it this way? I am not so sure that this is the
>>>> best way.
>>>>
>>>> I would prefer to just have one /etc/ofono/phonesim.conf configuration
>>>> file. And maybe we need to start splitting phonesim plugin into a view
>>>> pieces and move it to its own directory. It then could also contain its
>>>> own atom driver implementations there.
>>>>
>>>> So my main concern here is really that phonesim support is just for
>>>> engineering. It has nothing to do with real production hardware. And I
>>>> don't wanna clutter the source or its installation with it.
>>>
>>> I do see your points. I agree having one phonesim.conf instead of
>>> creating a separate installation/configuration file for cdmaphonesim.
>>> In terms of whether having seperate cdmaphonesim plugin from phonesim,
>>> Denis and myself has discussed in the mailing list, please see:
>>> http://lists.ofono.org/pipermail/ofono/2010-December/006629.html
>>> To re-cap some of the points and what we have agreed in previous
>>> discussion:
>>> The benefit of having separate cdmaphonesim plugin is to not clutter
>>> existing GSM based phonesim plugin with a lot of if/else to cover CDMA
>>> and let CDMA evolve on its own path for a while, at least having most of
>>> the atoms supported, we can then evaluate how much commonality we have
>>> and whether it makes sense to merge cdmaphonesim.c with phonesim.c.
>>> Another benefit or point we have considered is to cause as little
>>> disruption to GSM side as possible.
>>>
>>> Thus, I would propose followings:
>>> a). Remove cdmaphonesim.conf and add one additional entry within
>>> phonesim.conf to support cdmaphonesim plugin.
>>> b). Keep cdmaphonesim.c and phonesim.c separated and let CDMA
>>> evolving on its own for now.
>>
>> sounds good enough for me now. Have one /etc/ofono/phonesim.conf and
>> each plugin picks the entries it cares about. And for now we keep two
>> plugins, but at some point we have to revisit this.
>
> Yes, we will need to revisit this and other part of the CDMA for
> similarities with GSM down the road. Will get going on v3 of the patch. :-)
>
>>
>> Regards
>>
>> Marcel
>>
>>
>
> Regards
> Lei
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
I just submitted v3 of this patch fixing the issue Marcel brought up.
Pls review v3 instead of v2.
Regards
Lei
prev parent reply other threads:[~2010-12-22 21:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 0:02 [PATCH v2, 7/7] cdmaphonesim: Add CDMA SMS Support Lei Yu
2010-12-22 13:41 ` Marcel Holtmann
2010-12-22 16:14 ` Lei Yu
2010-12-22 16:09 ` Marcel Holtmann
2010-12-22 16:23 ` Lei Yu
2010-12-22 21:07 ` Lei Yu [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=4D126899.3020206@nokia.com \
--to=lei.2.yu@nokia.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.