ModemManager.Location3gpp¶
- Subclasses:
- None 
Methods¶
- Inherited:
- Structs:
| 
 | |
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
| Name | Type | Access | Description | 
|---|---|---|---|
| parent | r | 
Class Details¶
- class ModemManager.Location3gpp(**kwargs)¶
- Bases:
- Abstract:
- No 
- Structure:
 - The - ModemManager.Location3gppstructure contains private data and should only be accessed using the provided API.- get_cell_id()¶
- Returns:
- the cell ID, or 0 if unknown. 
- Return type:
 - Gets the cell ID of the 3GPP network. - New in version 1.0. 
 - get_location_area_code()¶
- Returns:
- the location area code, or 0 if unknown. 
- Return type:
 - Gets the location area code of the 3GPP network. - New in version 1.0. 
 - get_mobile_country_code()¶
- Returns:
- the MCC, or 0 if unknown. 
- Return type:
 - Gets the Mobile Country Code of the 3GPP network. - New in version 1.0. 
 - get_mobile_network_code()¶
- Returns:
- the MNC, or 0 if unknown. 
- Return type:
 - 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. - New in version 1.0. - Deprecated since version 1.18.0.: This function can not separate between two-digit MNCs and three-digit MNCs with a leading zero. Use - ModemManager.Location3gpp.get_operator_code() instead.
 - get_operator_code()¶
- 
Gets the 3GPP network Mobile Country Code and Mobile Network Code. Returned in the format "MCCMNC", whereMCCis the three-digit ITU E.212 Mobile Country Code andMNCis the two- or three-digit GSM Mobile Network Code. e.g. e``”31026”`` or"310260".New in version 1.18.