forbid Roaming

A. Valentin avalentin at marcant.net
Wed Jan 9 04:43:01 PST 2013


Hi,

I would like to have the ability to switch Roaming off. I've found this
under data/
  {  "name"    : "Set System Selection Preference",
     "type"    : "Message",
     "service" : "NAS",
     "id"      : "0x0033",
     "version" : "1.1",
     "input"   : [  { "name"          : "Emergency mode",
....
                    { "name"          : "Roaming Preference",
                      "id"            : "0x14",
                      "mandatory"     : "no",
                      "type"          : "TLV",
                      "format"        : "guint16",
                      "public-format" : "QmiNasRoamingPreference" },
And in qmi-enums-nas.h: * Roaming preference.
qmi-enums-nas.h:    QMI_NAS_ROAMING_PREFERENCE_OFF          = 0x01,
qmi-enums-nas.h:    QMI_NAS_ROAMING_PREFERENCE_NOT_OFF      = 0x02,
qmi-enums-nas.h:    QMI_NAS_ROAMING_PREFERENCE_NOT_FLASHING = 0x03,
qmi-enums-nas.h:    QMI_NAS_ROAMING_PREFERENCE_ANY          = 0xFF


How do I disable roaming with this function? Do I just set
QMI_NAS_ROAMING_PREFERENCE_OFF or what do I have to do to forbid roaming?

Kind regards,

André



More information about the libqmi-devel mailing list