Open Source Telephony
 help / color / mirror / Atom feed
From: Jan Luebbe <jluebbe@lasnet.de>
To: ofono@ofono.org
Subject: Re: MNC/MCC as string?
Date: Thu, 11 Jun 2009 16:04:38 +0200	[thread overview]
Message-ID: <1244729078.5792.187.camel@polaris> (raw)
In-Reply-To: <1244720815.27363.10.camel@violet>

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

On Thu, 2009-06-11 at 13:46 +0200, Marcel Holtmann wrote:
> Hi Denis,
> 
> > The attributes are really only for informational purposes only.  The
> > user would not base his decision on the mcc/mnc, but on the operator
> > name.  
> > 
> > So before we start changing the D-Bus APIs, we need to answer these
> > two questions:
> >   - Can a country/administrative domain have both 001 and 01 MNCs such
> > that the use of string for the MNC is actually necessary.
> >   - What does the user find easier to use, a string or a short?
> 
> I wasn't aware of this and so it might be better to just expose these as
> an operator id string. So we might not even split into MCC/MNC at all
> since it is meaning less anyway.

This is probably the way to go...

> That said, we do want some exposure of these values since it is an easy
> way to determine geo location help and switch timezones etc. However I
> am now thinking that me might just add a Country property and do the
> proper translation inside oFono. Since we mostly care about these ones
> most.

While inferring the country from MCC sounds nice, there are some corner
cases where is causes problems:

Digicel Bermuda uses 310/38 (or 310/038?), 310 is the US MCC:
http://dougtoombs.com/2008/07/23/bermuda-the-iphone-and-att-beware-the-data-roaming/

Montenegro used MCC 220 (Serbia) before it switched to MCC 297.

Wikipedia has a list:
http://en.wikipedia.org/wiki/Mobile_Network_Code

If you plan to ship such a list with ofono, maybe
http://git.freesmartphone.org/?p=framework.git;a=blob;f=etc/freesmartphone/ogsmd/networks.tab
can be useful for you. OTOH, Nokia probably has a better list.

Jan


  reply	other threads:[~2009-06-11 14:04 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 11:26 MNC/MCC as string? Aki Niemi
2009-06-10 16:15 ` Denis Kenzior
2009-06-10 16:42   ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-06-10 17:41     ` Denis Kenzior
2009-06-11 11:46       ` Marcel Holtmann
2009-06-11 14:04         ` Jan Luebbe [this message]
2009-06-11 15:09           ` Marcel Holtmann
2009-06-11 14:32         ` Denis Kenzior
2009-06-11 15:12           ` Marcel Holtmann
2009-06-11 18:00           ` Aki Niemi
2009-06-11 18:10             ` Marcel Holtmann
2009-06-11 19:02               ` Aki Niemi
2009-06-11 19:18                 ` Marcel Holtmann
2009-06-11 19:38                   ` Aki Niemi
2009-06-11 20:08                     ` Denis Kenzior
2009-06-12 10:01                       ` Aki Niemi
2009-06-12 10:12                         ` Marcel Holtmann
2009-06-12 10:53                           ` Aki Niemi
2009-06-13  1:01                             ` Denis Kenzior
2009-06-12 10:56                           ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-06-11 19:58                   ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-06-11 20:33                     ` Marcel Holtmann
2009-06-11 20:35                 ` Marcel Holtmann
2009-06-11 18:24             ` Denis Kenzior
2009-06-11 18:10         ` Aki Niemi
2009-06-11  6:16   ` Aki Niemi

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=1244729078.5792.187.camel@polaris \
    --to=jluebbe@lasnet.de \
    --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