cli,location: use new mm_location_gps_nmea_get_traces()
This commit is contained in:
@@ -510,7 +510,7 @@ get_location_process_reply (MMLocation3gpp *location_3gpp,
|
|||||||
MMLocationCdmaBs *location_cdma_bs,
|
MMLocationCdmaBs *location_cdma_bs,
|
||||||
const GError *error)
|
const GError *error)
|
||||||
{
|
{
|
||||||
gchar *nmea = NULL;
|
gchar **nmea = NULL;
|
||||||
gchar *mcc = NULL;
|
gchar *mcc = NULL;
|
||||||
gchar *mnc = NULL;
|
gchar *mnc = NULL;
|
||||||
gchar *lac = NULL;
|
gchar *lac = NULL;
|
||||||
@@ -538,7 +538,7 @@ get_location_process_reply (MMLocation3gpp *location_3gpp,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (location_gps_nmea)
|
if (location_gps_nmea)
|
||||||
nmea = mm_location_gps_nmea_build_full (location_gps_nmea);
|
nmea = mm_location_gps_nmea_get_traces (location_gps_nmea);
|
||||||
|
|
||||||
if (location_gps_raw) {
|
if (location_gps_raw) {
|
||||||
gps_utc = mm_location_gps_raw_get_utc_time (location_gps_raw);
|
gps_utc = mm_location_gps_raw_get_utc_time (location_gps_raw);
|
||||||
@@ -557,7 +557,7 @@ get_location_process_reply (MMLocation3gpp *location_3gpp,
|
|||||||
mmcli_output_string_take (MMC_F_LOCATION_3GPP_LAC, lac);
|
mmcli_output_string_take (MMC_F_LOCATION_3GPP_LAC, lac);
|
||||||
mmcli_output_string_take (MMC_F_LOCATION_3GPP_TAC, tac);
|
mmcli_output_string_take (MMC_F_LOCATION_3GPP_TAC, tac);
|
||||||
mmcli_output_string_take (MMC_F_LOCATION_3GPP_CID, cid);
|
mmcli_output_string_take (MMC_F_LOCATION_3GPP_CID, cid);
|
||||||
mmcli_output_string_multiline_take (MMC_F_LOCATION_GPS_NMEA, nmea);
|
mmcli_output_string_array_take (MMC_F_LOCATION_GPS_NMEA, nmea, TRUE);
|
||||||
mmcli_output_string (MMC_F_LOCATION_GPS_UTC, gps_utc);
|
mmcli_output_string (MMC_F_LOCATION_GPS_UTC, gps_utc);
|
||||||
mmcli_output_string_take (MMC_F_LOCATION_GPS_LONG, gps_longitude);
|
mmcli_output_string_take (MMC_F_LOCATION_GPS_LONG, gps_longitude);
|
||||||
mmcli_output_string_take (MMC_F_LOCATION_GPS_LAT, gps_latitude);
|
mmcli_output_string_take (MMC_F_LOCATION_GPS_LAT, gps_latitude);
|
||||||
|
Reference in New Issue
Block a user