From: Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?= <antti.kaijanmaki@canonical.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/2] Allow users to specify dbus name replacement behaviour.
Date: Fri, 04 Apr 2014 03:50:17 +0300 [thread overview]
Message-ID: <533E01C9.9090101@canonical.com> (raw)
In-Reply-To: <533DF89F.8030003@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1740 bytes --]
On 04.04.2014 03:11, Denis Kenzior wrote:
> Hi Antti,
>
>> Oh, didn't know that. That sounds great!
>> We were under the impression that the phonesim instances have to be
>> running before phonesim plugin loads and the modem .xml configurations
>> can't be changed on the fly.
>
> What modem .xml configurations? I'm lost now.
The XML files you pass to ofono-phonesim through command line parameter.
> You have phonesim plugin inside oFono that simply creates modem driver
> instances that essentially know two things:
> - IP Address
> - Port number.
>
> When you enable the modem on path /phonesimN, a TCP connection is
> established.
> When you disable the modem, a TCP connection is killed.
Yes, got it now. If we want to change the modem configuration we simply
have to power down the modem, kill the old phonesim instance, start a
new one with another .xml and power the modem back on.
>> Now looking at stktest.c I see it opens a socket to communicate with an
>> external process.
>>
>
> If by external process you mean oFono... then yes. The setup is exactly
> the same as phonesim, just automated. Think of stktest as a phonesim
> instance with a very limited AT command set, but tells oFono when to
> connect ;)
skttest is a oFono plugin which connects to an external process stktool,
yes, very much like phonesim plugin connects to a phonesim instance. But
what I was first proposing actually makes phonsim plugin (oFono) to
listen for connections from external processes.
But as you pointed out in your another reply that a plugin can do what
ever it wants then we don't need this custom listening socket, but we
can implement a proper dbus-interface instead.
next prev parent reply other threads:[~2014-04-04 0:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 13:56 [PATCH 1/2] Allow users to specify dbus name replacement behaviour jussi.pakkanen
2014-04-02 13:56 ` [PATCH 2/2] Can set name replacement with command line arguments jussi.pakkanen
2014-04-02 18:39 ` [PATCH 1/2] Allow users to specify dbus name replacement behaviour Marcel Holtmann
2014-04-03 7:38 ` Jussi Pakkanen
2014-04-03 9:41 ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=
2014-04-03 17:55 ` Marcel Holtmann
2014-04-03 23:45 ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=
2014-04-04 0:09 ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=
2014-04-04 0:13 ` Denis Kenzior
2014-04-04 0:11 ` Denis Kenzior
2014-04-04 0:50 ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?= [this message]
2014-04-03 21:40 ` Denis Kenzior
2014-04-04 0:00 ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=
2014-04-04 0:22 ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=
2014-04-04 0:25 ` Denis Kenzior
2014-04-04 1:16 ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=
2014-04-03 17:50 ` 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=533E01C9.9090101@canonical.com \
--to=antti.kaijanmaki@canonical.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