Top |
The MMLocation3gpp is an object handling the location information of the modem when this is reported by the 3GPP network.
This object is retrieved with either mm_modem_location_get_3gpp()
,
mm_modem_location_get_3gpp_sync()
, mm_modem_location_get_full()
or
mm_modem_location_get_full_sync()
.
guint
mm_location_3gpp_get_mobile_country_code
(MMLocation3gpp *self
);
Gets the Mobile Country Code of the 3GPP network.
guint
mm_location_3gpp_get_mobile_network_code
(MMLocation3gpp *self
);
Gets the Mobile Network Code of the 3GPP network.
Note that 0 may actually be a valid MNC. In general, the MNC should be considered valid just if the reported MCC is valid, as MCC should never be 0.
gulong
mm_location_3gpp_get_location_area_code
(MMLocation3gpp *self
);
Gets the location area code of the 3GPP network.
gulong
mm_location_3gpp_get_tracking_area_code
(MMLocation3gpp *self
);
Gets the location area code of the 3GPP network.
gulong
mm_location_3gpp_get_cell_id (MMLocation3gpp *self
);
Gets the cell ID of the 3GPP network.
struct MMLocation3gpp;
The MMLocation3gpp structure contains private data and should only be accessed using the provided API.