libmm-glib,iface-modem-location: add MMLocation3gpp 3 digit MNC support
MMLocation3gpp provides MCC/MNC information as integers, so it can not make distinction between operator codes such as XXX01 and XXX001. This commit deprecates mm_location_3gpp_get_mobile_network_code() and implements a new function mm_location_3gpp_get_operator_code() which provides the MCC+MNC in string format. The mm_location_3gpp_get_mobile_country_code() is still available as returning the MCC as an integer does not have ambiguity issues.
This commit is contained in:
@@ -139,9 +139,8 @@ void mm_iface_modem_location_shutdown (MMIfaceModemLocation *self);
|
||||
|
||||
/* Update 3GPP (LAC/CI) location */
|
||||
void mm_iface_modem_location_3gpp_clear (MMIfaceModemLocation *self);
|
||||
void mm_iface_modem_location_3gpp_update_mcc_mnc (MMIfaceModemLocation *self,
|
||||
guint mobile_country_code,
|
||||
guint mobile_network_code);
|
||||
void mm_iface_modem_location_3gpp_update_operator_code (MMIfaceModemLocation *self,
|
||||
const gchar *operator_code);
|
||||
void mm_iface_modem_location_3gpp_update_lac_tac_ci (MMIfaceModemLocation *self,
|
||||
gulong location_area_code,
|
||||
gulong tracking_area_code,
|
||||
|
Reference in New Issue
Block a user