QMI service versions in different devices

Aleksander Morgado aleksander at lanedo.com
Mon Jul 30 06:18:06 PDT 2012


> 
>> @@ -601,7 +601,7 @@
>>                        "id"            : "0x19",
>>                        "mandatory"     : "no",
>>                        "type"          : "TLV",
>> -                      "format"        : "guint64",
>> +                      "format"        : "guint32",
>>                        "public-format" : "QmiNasTdScdmaBandPreference" },
>>                      { "name"      : "Manual Network Selection",
>>                        "id"        : "0x1B",
> 
> Sorry, that was wrong of course.  The definition was correct but the
> numbering wrong.  You forgot to skip TLV 0x17.
> 
> diff --git a/data/qmi-service-nas.json b/data/qmi-service-nas.json
> index 2a0e3c8..73557e5 100644
> --- a/data/qmi-service-nas.json
> +++ b/data/qmi-service-nas.json
> @@ -531,7 +531,7 @@
>                                          "public-format" : "QmiNasRadioTechnologyPreferenceDuration" } ] },
>                      { "name"      : "Persistent",
>                        "id"        : "0x10",
> -                      "mandatory" : "yes",
> +                      "mandatory" : "no",
>                        "type"      : "TLV",
>                        "format"    : "guint16",
>                        "public-format" : "QmiNasRadioTechnologyPreference" } ] },
> @@ -586,19 +586,19 @@
>                        "format"        : "guint8",
>                        "public-format" : "QmiNasNetworkSelectionPreference" },
>                      { "name"          : "Service Domain Preference",
> -                      "id"            : "0x17",
> +                      "id"            : "0x18",
>                        "mandatory"     : "no",
>                        "type"          : "TLV",
>                        "format"        : "guint32",
>                        "public-format" : "QmiNasServiceDomainPreference" },
>                      { "name"          : "GSM WCDMA Acquisition Order Preference",
> -                      "id"            : "0x18",
> +                      "id"            : "0x19",
>                        "mandatory"     : "no",
>                        "type"          : "TLV",
>                        "format"        : "guint32",
>                        "public-format" : "QmiNasGsmWcdmaAcquisitionOrderPreference" },
>                      { "name"          : "TD SCDMA Band Preference",
> -                      "id"            : "0x19",
> +                      "id"            : "0x1A",
>                        "mandatory"     : "no",
>                        "type"          : "TLV",
>                        "format"        : "guint64",
> 
> 
> Right, should have looked better at the previous output.  This seems
> more correct:
> 
> bjorn at nemi:~$ qmicli -d /dev/cdc-wdm1 --nas-get-system-selection-preference
> [/dev/cdc-wdm1] Successfully got system selection preference
>         Emergency mode: 'no'
>         Mode preference: 'gsm, umts, lte'
>         Band preference: 'gsm-dcs-1800, gsm-900-extended, gsm-900-primary, gsm-pcs-1900, wcdma-2100, wcdma-900'
>         LTE band preference: '1, 3, 7, 8, 20'
>         Roaming preference: 'any'
>         Network selection preference: 'automatic'
>         Service domain preference: 'cs-ps'
>         Service selection preference: 'wcdma'
> 
> 

And pushed also the fix for this one; thanks thanks.

I really need to get a device with a recent enough NAS service :-)

-- 
Aleksander


More information about the libqmi-devel mailing list