From 879ec1a5d4418ae1dfc137844fd2c06a35ffeabf Mon Sep 17 00:00:00 2001 From: Teijo Kinnunen Date: Thu, 6 May 2021 14:35:41 +0300 Subject: 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. --- docs/reference/libmm-glib/libmm-glib-sections.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/libmm-glib/libmm-glib-sections.txt b/docs/reference/libmm-glib/libmm-glib-sections.txt index 46a10bba..670d42c7 100644 --- a/docs/reference/libmm-glib/libmm-glib-sections.txt +++ b/docs/reference/libmm-glib/libmm-glib-sections.txt @@ -509,6 +509,7 @@ MMLocation3gpp 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 MMLocation3gppClass -- cgit v1.2.3-70-g09d2