From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [RFC PATCH 0/4] Automatic provisioning of GPRS context settings
Date: Tue, 21 Dec 2010 06:11:01 -0800 [thread overview]
Message-ID: <1292940661.2658.23.camel@aeonflux> (raw)
In-Reply-To: <1292922079-24711-1-git-send-email-jukka.saunamaki@nokia.com>
[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]
Hi Jukka,
> Here is a first attempt to implement automatic provisioning of
> Internet and MMS GPRS context settings. ("Internet Access Provider
> database" TODO item).
>
> In case there are no previously configured contexts found during gprs
> atom registration, this code tries to provision Internet and MMS
> contexts based on MCC, MNC and SPN (Service Provider Name) values read
> from SIM. Settings are read from an operator settings database.
>
> Settings database is CSV (comma separated values) formatted file(s)
> with fields for: (type=INTERNET|MMS protocol=ipv4|ipv6)
> MCC,MNC,SPN,type,UI name, APN, username, password, protocol, proxy IP address, proxy port, MMS server URL
>
> e.g. file /etc/ofono/operator-settings/50-default.csv:
> 001,01,test,INTERNET,Network Tester GPRS,internet,,,,,,
> 246,81,oFono,INTERNET,Phonesim Internet,internet.apn,,,ipv4,,,
> 246,81,oFono,MMS,Phonesim MMS,mms.apn,mmsuser,mmspass,ipv4,10.10.10.10,8080,http://192.168.0.111:8002
>
> This format is loosely based on what was used in Nokia N900 for
> similar use.
I am really not set on a file format, but my obvious question is if we
don't wanna better use keyfile or XML based database since that are the
file formats we are currently using inside oFono. We have not used CSV
at all so far.
My vote would go for keyfile or XML since it is a bit more self
explanatory with its fields. And the order of values doesn't really
matter.
The one thing that I don't like about CSV is that you have no real
flexibility with its format. Especially coming think about that we might
have to extend this additional information for IMS or operator specific
behavior.
Regards
Marcel
next prev parent reply other threads:[~2010-12-21 14:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 9:01 [RFC PATCH 0/4] Automatic provisioning of GPRS context settings Jukka Saunamaki
2010-12-21 9:01 ` [RFC PATCH 1/4] operator-settings: Add GPRS context provisioning sources Jukka Saunamaki
2010-12-21 9:01 ` [RFC PATCH 2/4] sim: add ofono_sim_get_mnc_length Jukka Saunamaki
2010-12-21 9:01 ` [RFC PATCH 3/4] gprs: add automatic context settings provisioning Jukka Saunamaki
2010-12-21 9:01 ` [RFC PATCH 4/4] operator-settings: Example GPRS context settings file Jukka Saunamaki
2010-12-21 14:11 ` Marcel Holtmann [this message]
2010-12-22 10:08 ` [RFC PATCH 0/4] Automatic provisioning of GPRS context settings Jukka Saunamaki
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=1292940661.2658.23.camel@aeonflux \
--to=marcel@holtmann.org \
--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.