Roaming

Aleksander Morgado aleksander at aleksander.es
Fri Feb 10 18:06:14 UTC 2017


>
> Is it correctly understood, that using
> qmi_message_nas_get_serving_system_output_get_roaming_indicator, I will know
> if the modems is currently roaming? I'm looking for the informations which I
> can get using AT+CREG. I'm not sure if the "roaming indicator" is in fact a
> roaming indicator, or if it the current roaming status?
>

For 3GPP modems (GSM, UMTS, LTE), we get the roaming indicator flag via:
qmi_message_nas_get_serving_system_output_get_roaming_indicator

For 3GPP2 modems (CDMA, EVDO), we get per-technology roaming flags via:
qmi_message_nas_get_serving_system_output_get_roaming_indicator_list

But NOTE! This flag will be set whenever the serving system network is
different to the home network. And this means that virtual operators
(those without a network of their own) will always end up showing with
this roaming flag set, even if they are in a network "allowed" to
connect to. In other words, this roaming flag doesn't take into
account the possible networks configured in the SPDI list. See this
ModemManager bugreport for more context on this issue:
https://bugs.freedesktop.org/show_bug.cgi?id=85010

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list