From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 3/3] gprs.c: add list contexts for emulator
Date: Tue, 22 Mar 2011 12:24:47 -0500 [thread overview]
Message-ID: <4D88DB5F.9070906@gmail.com> (raw)
In-Reply-To: <A782C372B9527D44AB20BF45FEEBB14F75BFCC0E03@irsmsx503.ger.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2092 bytes --]
Hi Bertrand,
On 03/22/2011 10:17 AM, Aygon, Bertrand wrote:
> Hi Denis,
>
>>> Thanks Denis for your feedback.
>>> The idea behind this code is to propose the complete support of the
>>> usual AT+CGDCONT in the emulator. I think the best solution might be to
>>> stick on contexts exposed over DBus, but this could lead to problems
>>> like : a context is delete throught the DBus interface... how to handle
>>> this change in the AT emulator, and avoid the use of the deleted context ?
>>
>> Personally I'm not convinced CGDCONT management is even a good idea.
>> The typical usecase is for DUN clients to send a CGDCONT string, but
>> this can simply be accepted and ignored (for instance).
>
> We are not looking at DUN only, but to the 'global' AT Emulator, that will be used during GCF/PTCRB certification.
I know exactly what you want this for.
> During certification, a lot of test require to set some GPRS context with specific parameters. And this cannot go 'directly' to the modem, without going through AP, because the test would not be relevant, or worse will failed, due to disconnect between oFono and modem.
>
And I know this as well ;) However, I'm still not convinced. oFono
simply works differently and you will encounter too many problems doing
it this way. I listed some of them out already...
>> Just overwriting oFono's context store is not a good idea anyway as you
>> lose certain valuable information. For instance whether this context is
>> used for internet (and ConnMan should pay attention to it) or it is used
>> for mms, etc.
>>
>> It is also possible for the dial up client to provide context details
>> that are identical to a context already defined in oFono. In which case
>> those details should be used instead (for the reasons outlined in the
>> previous paragraph)
>
> So from my point of view, all context must be in sync, in oFono side and modem side.
The reality is doing so is pretty much a bad idea from a technical point
of view. So sounds like you're in for some fun ;)
Regards,
-Denis
prev parent reply other threads:[~2011-03-22 17:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-21 13:45 [PATCH 0/3] Emulator CGDCONT Olivier Guiter
2011-03-21 13:45 ` [PATCH 1/3] gprs.c: add emulator CGDCONT handler Olivier Guiter
2011-03-21 13:45 ` [PATCH 2/3] idmap.c: add get size function Olivier Guiter
2011-03-21 13:45 ` [PATCH 3/3] gprs.c: add list contexts for emulator Olivier Guiter
2011-03-22 2:06 ` Denis Kenzior
2011-03-22 10:49 ` Olivier Guiter
2011-03-22 15:08 ` Denis Kenzior
2011-03-22 15:17 ` Aygon, Bertrand
2011-03-22 17:24 ` 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=4D88DB5F.9070906@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.