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:
@@ -509,6 +509,7 @@ MMLocation3gpp
|
||||
<SUBSECTION Getters>
|
||||
mm_location_3gpp_get_mobile_country_code
|
||||
mm_location_3gpp_get_mobile_network_code
|
||||
mm_location_3gpp_get_operator_code
|
||||
mm_location_3gpp_get_location_area_code
|
||||
mm_location_3gpp_get_tracking_area_code
|
||||
mm_location_3gpp_get_cell_id
|
||||
@@ -519,8 +520,7 @@ mm_location_3gpp_new_from_string_variant
|
||||
mm_location_3gpp_set_cell_id
|
||||
mm_location_3gpp_set_location_area_code
|
||||
mm_location_3gpp_set_tracking_area_code
|
||||
mm_location_3gpp_set_mobile_country_code
|
||||
mm_location_3gpp_set_mobile_network_code
|
||||
mm_location_3gpp_set_operator_code
|
||||
mm_location_3gpp_reset
|
||||
<SUBSECTION Standard>
|
||||
MMLocation3gppClass
|
||||
|
Reference in New Issue
Block a user