From 7e6b4d7aa942dfff996a12ccdc769085058056d0 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 8 Aug 2018 15:14:28 +0200 Subject: api,location: give Tracking Area Code field in 3GPP location info The "location area code" field is given in GSM/UMTS networks exclusively. LTE networks use the concept of "tracking area code" instead. This patch updates the Location interface to Provide separate fields for LAC and TAC, instead of giving TAC values in the LAC field. --- cli/mmcli-modem-location.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/mmcli-modem-location.c') diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c index 3425789f..0568b513 100644 --- a/cli/mmcli-modem-location.c +++ b/cli/mmcli-modem-location.c @@ -509,10 +509,12 @@ get_location_process_reply (MMLocation3gpp *location_3gpp, " 3GPP location | Mobile country code: '%u'\n" " | Mobile network code: '%u'\n" " | Location area code: '%lu'\n" + " | Tracking area code: '%lu'\n" " | Cell ID: '%lu'\n", mm_location_3gpp_get_mobile_country_code (location_3gpp), mm_location_3gpp_get_mobile_network_code (location_3gpp), mm_location_3gpp_get_location_area_code (location_3gpp), + mm_location_3gpp_get_tracking_area_code (location_3gpp), mm_location_3gpp_get_cell_id (location_3gpp)); else g_print (" -------------------------\n" -- cgit v1.2.3-70-g09d2