From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: RFC: Ubuntu Touch, MMS, and Provisioning
Date: Tue, 04 Mar 2014 21:13:30 -0600 [thread overview]
Message-ID: <5316965A.5070902@gmail.com> (raw)
In-Reply-To: <53166AA1.4060805@canonical.com>
[-- Attachment #1: Type: text/plain, Size: 2261 bytes --]
Hi Tony,
> Now perhaps I missed something and there is a way to represent a
> combined usage APN ( maybe using TYPE_ANY? ), but I couldn't see how to
> accomplish without changes to the core gprs code.
oFono is not designed to handle combined usage APNs. If the APN for MMS
and Internet is the same, we would simply 'double-activate' the same APN
using multiple contexts. e.g. you would have an Internet context and an
MMS context with the same APN. This of course requires your underlying
modem driver to be able to use multiple contexts simultaneously (e.g.
multiple gprs_context atoms present.)
If you want to go through the trouble of adding hybrid behavior, then
patches are welcome.
>
> 2. No way to disable core ofono TYPE_MMS network config.
>
> The core gprs_context code has special logic for TYPE_MMS contexts which
> configures the HTTP proxy using networking ioctl requests. We have an
> external download manager that handles the actual download of content
> from the message center. As it has logic to handle HTTP proxies
> already, if we use TYPE_MMS, we'd need a way to disable ofono's builtin
> logic.
>
> Would it make sense to add a command-line option to control this behavior?
oFono only sets up a route and runs the equivalent of ifconfig. It
doesn't do any proxying. This logic is there because ConnMan explicitly
ignores contexts of type=mms. So someone must take care of bringing up
the interface, assigning IP, etc.
You might also want to check out the mmsd project since that already
works with oFono.
>
> 3. No way to associate additional APN properties with a gprs_context.
>
> apns-conf.xml has many additional APN attributes which don't map
> directly to gprs_context properties ( eg. authtype, mvno_type, ... ).
>
If you have usecases in mind for some of these properties, feel free to
suggest extensions to the oFono API.
> "types" is especially important, as without it, we can't tell exactly
> which services are supported by the APN ( as the plugin sets the type to
> TYPE_INTERNET ).
As mentioned above, you'd simply create multiple contexts with the same
APN and different types if you wanted to accomplish this easily.
Regards,
-Denis
next prev parent reply other threads:[~2014-03-05 3:13 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 0:06 RFC: Ubuntu Touch, MMS, and Provisioning Tony Espy
2014-03-05 3:13 ` Denis Kenzior [this message]
2014-03-05 9:39 ` Slava Monich
2014-03-05 16:32 ` Denis Kenzior
2014-03-05 17:37 ` Slava Monich
2014-03-05 17:52 ` Denis Kenzior
2014-03-05 18:29 ` Marcel Holtmann
2014-03-05 21:15 ` Slava Monich
2014-03-05 22:01 ` Denis Kenzior
2014-03-05 23:36 ` Slava Monich
2014-03-06 1:15 ` Tony Espy
2014-03-06 3:04 ` Marcel Holtmann
2014-03-06 0:03 ` Tony Espy
2014-03-06 5:54 ` Denis Kenzior
2014-03-07 4:38 ` Tony Espy
2014-03-07 5:40 ` Denis Kenzior
2014-03-08 0:23 ` Tony Espy
2014-03-08 3:37 ` Denis Kenzior
2014-03-05 17:57 ` Marcel Holtmann
2014-03-05 23:42 ` Tony Espy
2014-03-06 2:41 ` Marcel Holtmann
2014-03-08 0:30 ` Tony Espy
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=5316965A.5070902@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.