On 11 March 2011 00:09, Neil Jerram <[email protected]> wrote:
> Running SHR-U, my /var/log/fsotdld.log says (several times):
>
> 2011-03-10T14:15:42.711832Z [INFO]  SourceGsm <>: Resolved provider 23430 to 
> country 'im' w/ 1 timezone(s)
>
> Country code 'im' is the Isle of Man.
>
> In fact my provider is T-Mobile, and serviceproviders.xml's entry for
> 234/30 looks correct, and has nothing to do with the Isle of Man:
>
> <!-- Britain -->
> <country code="gb">
>        ...
>        <provider>
>                <name>T-Mobile</name>
>                <gsm>
>                        <network-id mcc="234" mnc="30"/>
>                        <apn value="general.t-mobile.uk">
>                                <username>User</username>
>                                <password>mms</password>
>                                <dns>149.254.201.126</dns>
>                                <dns>149.254.192.126</dns>
>                        </apn>
>                </gsm>
>        </provider>
>        ...
> </country>
>
> The only entry in serviceproviders.xml for the Isle of Man has code
> 234/55.
>
> I've looked through all the relevant code (mbpi.vala and
> world/plugin.vala in fsodatad, and source_gsm/plugin.vala), and it all
> looks correct.

I've tried a bit with "mdbus2 -s org.freesmartphone.odatad
/org/freesmartphone/Data/World
org.freesmartphone.Data.World.GetCountryCodeForMccMnc 23430" (returns
"im"). I've tried other values like 23410, 2341, 234, they all return
"im". The lookup-function seems wrong (I haven't looked at the
source).
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to