SettingGsm
Object Hierarchy:
Description:
GSM-based Mobile Broadband Settings
Namespace: NM
Package: libnm
Content:
Constants:
- public const string APN
- public const string AUTO_CONFIG
- public const string DEVICE_ID
- public const string HOME_ONLY
- public const string INITIAL_EPS_BEARER_APN
- public const string INITIAL_EPS_BEARER_CONFIGURE
- public const string MTU
- public const string NETWORK_ID
- public const string NUMBER
- public const string PASSWORD
- public const string PASSWORD_FLAGS
- public const string PIN
- public const string PIN_FLAGS
- public const string SETTING_NAME
- public const string SIM_ID
- public const string SIM_OPERATOR_ID
- public const string USERNAME
Properties:
- public string apn { owned get; set; }
The GPRS Access Point Name specifying the APN used when establishing a data session with the GSM-based network.
- public bool auto_config { get; set; }
When true, the settings such as APN, username, or password will default to values that match the network the modem will register to in the Mobile Broadband Provider database.
- public string device_id { owned get; set; }
The device unique identifier (as given by the WWAN management service) which this connection applies to.
- public bool home_only { get; set; }
When true, only connections to the home network will be allowed.
- public string initial_eps_bearer_apn { owned get; set; }
For LTE modems, this sets the APN for the initial EPS bearer that is set up when attaching to the network.
- public bool initial_eps_bearer_configure { get; set; }
For LTE modems, this setting determines whether the initial EPS bearer shall be configured when bringing up the connection.
- public uint mtu { get; set; }
If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple frames.
- public string network_id { owned get; set; }
The Network ID (GSM LAI format, ie MCC-MNC) to force specific network registration.
- public string number { owned get; set; }
Legacy setting that used to help establishing PPP data sessions for GSM-based modems.
- public string password { owned get; set; }
The password used to authenticate with the network, if required.
- public SettingSecretFlags password_flags { get; set; }
Flags indicating how to handle the password property.
- public string pin { owned get; set; }
If the SIM is locked with a PIN it must be unlocked before any other operations are requested.
- public SettingSecretFlags pin_flags { get; set; }
Flags indicating how to handle the pin property.
- public string sim_id { owned get; set; }
The SIM card unique identifier (as given by the WWAN management service) which this connection applies to.
- public string sim_operator_id { owned get; set; }
A MCC/MNC string like "310260" or "21601" identifying the specific mobile network operator which this connection applies to.
- public string username { owned get; set; }
The username used to authenticate with the network, if required.
Creation methods:
- public SettingGsm ()
Creates a new SettingGsm object with default values.
Methods:
- public unowned string get_apn ()
- public bool get_auto_config ()
- public unowned string get_device_id ()
- public bool get_home_only ()
- public unowned string get_initial_eps_apn ()
- public bool get_initial_eps_config ()
- public uint32 get_mtu ()
- public unowned string get_network_id ()
- public unowned string get_number ()
- public unowned string get_password ()
- public SettingSecretFlags get_password_flags ()
- public unowned string get_pin ()
- public SettingSecretFlags get_pin_flags ()
- public unowned string get_sim_id ()
- public unowned string get_sim_operator_id ()
- public unowned string get_username ()
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object