MMLocation3gpp

MMLocation3gpp — Helper object to handle 3GPP location information.

Synopsis

struct              MMLocation3gpp;

guint               mm_location_3gpp_get_mobile_country_code
                                                        (MMLocation3gpp *self);
guint               mm_location_3gpp_get_mobile_network_code
                                                        (MMLocation3gpp *self);
gulong              mm_location_3gpp_get_location_area_code
                                                        (MMLocation3gpp *self);
gulong              mm_location_3gpp_get_cell_id        (MMLocation3gpp *self);

Object Hierarchy

  GObject
   +----MMLocation3gpp

Description

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().

Details

struct MMLocation3gpp

struct MMLocation3gpp;

The MMLocation3gpp structure contains private data and should only be accessed using the provided API.


mm_location_3gpp_get_mobile_country_code ()

guint               mm_location_3gpp_get_mobile_country_code
                                                        (MMLocation3gpp *self);

Gets the Mobile Country Code of the 3GPP network.

self :

a MMLocation3gpp.

Returns :

the MCC, or 0 if unknown.

mm_location_3gpp_get_mobile_network_code ()

guint               mm_location_3gpp_get_mobile_network_code
                                                        (MMLocation3gpp *self);

Gets the Mobile Network Code of the 3GPP network.

self :

a MMLocation3gpp.

Returns :

the MNC, or 0 if unknown.

mm_location_3gpp_get_location_area_code ()

gulong              mm_location_3gpp_get_location_area_code
                                                        (MMLocation3gpp *self);

Gets the location area code of the 3GPP network.

self :

a MMLocation3gpp.

Returns :

the location area code, or 0 if unknown.

mm_location_3gpp_get_cell_id ()

gulong              mm_location_3gpp_get_cell_id        (MMLocation3gpp *self);

Gets the cell ID of the 3GPP network.

self :

a MMLocation3gpp.

Returns :

the cell ID, or 0 if unknown.