Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/2] Basic blocks for control channel.
Date: Mon, 07 Apr 2014 09:02:41 -0500	[thread overview]
Message-ID: <5342B001.309@gmail.com> (raw)
In-Reply-To: <1396871748-10062-1-git-send-email-jussi.pakkanen@canonical.com>

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

Hi Jussi,

On 04/07/2014 06:55 AM, jussi.pakkanen(a)canonical.com wrote:
> Hello
> 
> Here's a revised way of changing phonesim modem configurations at
> runtime. It works by adding a dbus interface via which you can add new
> modems, delete all existing modems or reset modem status to what it
> was at startup. This first patch adds the dbus bits and the second one
> calls the corresponding ofono functions.
> 
> This patch set is not fully polished yet but should give an idea what
> we are aiming for. I'm not fully versed in phonesim's internals so I'm
> not sure if I'm poking all the right bits in the dbus functions, so
> please verify that with extra care.
> 
> Thanks,
> 
> ---
>  plugins/phonesim.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 58 insertions(+)
> 

As I've said before, this is overkill.  It makes the phonesim plugin way
more complicated that it needs to be.  A .conf parser with over-ridable
directories, a control channel with add/remove/reset? Seriously?

UI should be designed to ignore non-powered modems, and only look for
interfaces that it handles specifically.  So for a properly designed UI,
none of these changes are required.  If you want to handle DualSim
cleanly, then feel free to propose a mechanism / hint that makes
applications aware of the fact that two modems belong to a group.

If the above cannot be done, then please write a plugin to address your
specific use case.

Regards,
-Denis


  parent reply	other threads:[~2014-04-07 14:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-07 11:55 [PATCH 1/2] Basic blocks for control channel jussi.pakkanen
2014-04-07 11:55 ` [PATCH 2/2] Basic implementation of dbus methods jussi.pakkanen
2014-04-07 14:02 ` Denis Kenzior [this message]
2014-04-07 20:34   ` [PATCH 1/2] Basic blocks for control channel Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=
2014-04-07 21:40     ` Denis Kenzior
2014-04-08 12:24       ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=

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=5342B001.309@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox