Top |
NMSetting * | nm_setting_gsm_new () |
gboolean | nm_setting_gsm_get_auto_config () |
const char * | nm_setting_gsm_get_username () |
const char * | nm_setting_gsm_get_password () |
const char * | nm_setting_gsm_get_apn () |
const char * | nm_setting_gsm_get_network_id () |
const char * | nm_setting_gsm_get_pin () |
gboolean | nm_setting_gsm_get_home_only () |
const char * | nm_setting_gsm_get_device_id () |
const char * | nm_setting_gsm_get_sim_id () |
const char * | nm_setting_gsm_get_sim_operator_id () |
guint32 | nm_setting_gsm_get_mtu () |
const char * | nm_setting_gsm_get_number () |
NMSettingSecretFlags | nm_setting_gsm_get_pin_flags () |
NMSettingSecretFlags | nm_setting_gsm_get_password_flags () |
char * | apn | Read / Write |
gboolean | auto-config | Read / Write |
char * | device-id | Read / Write |
gboolean | home-only | Read / Write |
guint | mtu | Read / Write |
char * | network-id | Read / Write |
char * | number | Read / Write |
char * | password | Read / Write |
NMSettingSecretFlags | password-flags | Read / Write |
char * | pin | Read / Write |
NMSettingSecretFlags | pin-flags | Read / Write |
char * | sim-id | Read / Write |
char * | sim-operator-id | Read / Write |
char * | username | Read / Write |
#define | NM_SETTING_GSM_SETTING_NAME |
#define | NM_SETTING_GSM_AUTO_CONFIG |
#define | NM_SETTING_GSM_USERNAME |
#define | NM_SETTING_GSM_PASSWORD |
#define | NM_SETTING_GSM_PASSWORD_FLAGS |
#define | NM_SETTING_GSM_APN |
#define | NM_SETTING_GSM_NETWORK_ID |
#define | NM_SETTING_GSM_PIN |
#define | NM_SETTING_GSM_PIN_FLAGS |
#define | NM_SETTING_GSM_HOME_ONLY |
#define | NM_SETTING_GSM_DEVICE_ID |
#define | NM_SETTING_GSM_SIM_ID |
#define | NM_SETTING_GSM_SIM_OPERATOR_ID |
#define | NM_SETTING_GSM_MTU |
#define | NM_SETTING_GSM_NUMBER |
NMSettingGsm |
The NMSettingGsm object is a NMSetting subclass that describes properties that allow connections to 3GPP-based mobile broadband networks, including those using GPRS/EDGE and UMTS/HSPA technology.
NMSetting *
nm_setting_gsm_new (void
);
Creates a new NMSettingGsm object with default values.
gboolean
nm_setting_gsm_get_auto_config (NMSettingGsm *setting
);
Since: 1.22
const char *
nm_setting_gsm_get_network_id (NMSettingGsm *setting
);
const char *
nm_setting_gsm_get_device_id (NMSettingGsm *setting
);
Since: 1.2
const char *
nm_setting_gsm_get_sim_id (NMSettingGsm *setting
);
Since: 1.2
const char *
nm_setting_gsm_get_sim_operator_id (NMSettingGsm *setting
);
Since: 1.2
const char *
nm_setting_gsm_get_number (NMSettingGsm *setting
);
nm_setting_gsm_get_number
has been deprecated since version 1.16 and should not be used in newly-written code.
User-provided values for this setting are no longer used.
NMSettingSecretFlags
nm_setting_gsm_get_pin_flags (NMSettingGsm *setting
);
NMSettingSecretFlags
nm_setting_gsm_get_password_flags (NMSettingGsm *setting
);
“apn”
property “apn” char *
The GPRS Access Point Name specifying the APN used when establishing a data session with the GSM-based network. The APN often determines how the user will be billed for their network usage and whether the user has access to the Internet or just a provider-specific walled-garden, so it is important to use the correct APN for the user's mobile broadband plan. The APN may only be composed of the characters a-z, 0-9, ., and - per GSM 03.60 Section 14.9.
Owner: NMSettingGsm
Flags: Read / Write
Default value: NULL
“auto-config”
property“auto-config” gboolean
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.
Owner: NMSettingGsm
Flags: Read / Write
Default value: FALSE
Since: 1.22
“device-id”
property “device-id” char *
The device unique identifier (as given by the WWAN management service) which this connection applies to. If given, the connection will only apply to the specified device.
Owner: NMSettingGsm
Flags: Read / Write
Default value: NULL
Since: 1.2
“home-only”
property“home-only” gboolean
When TRUE
, only connections to the home network will be allowed.
Connections to roaming networks will not be made.
Owner: NMSettingGsm
Flags: Read / Write
Default value: FALSE
“mtu”
property“mtu” guint
If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple frames.
Owner: NMSettingGsm
Flags: Read / Write
Default value: 0
Since: 1.8
“network-id”
property “network-id” char *
The Network ID (GSM LAI format, ie MCC-MNC) to force specific network registration. If the Network ID is specified, NetworkManager will attempt to force the device to register only on the specified network. This can be used to ensure that the device does not roam when direct roaming control of the device is not otherwise possible.
Owner: NMSettingGsm
Flags: Read / Write
Default value: NULL
“number”
property “number” char *
Legacy setting that used to help establishing PPP data sessions for GSM-based modems.
NMSettingGsm:number
has been deprecated since version 1.16 and should not be used in newly-written code.
User-provided values for this setting are no longer used.
Owner: NMSettingGsm
Flags: Read / Write
Default value: NULL
“password”
property “password” char *
The password used to authenticate with the network, if required. Many providers do not require a password, or accept any password. But if a password is required, it is specified here.
Owner: NMSettingGsm
Flags: Read / Write
Default value: NULL
“password-flags”
property“password-flags” NMSettingSecretFlags
Flags indicating how to handle the “password” property.
Owner: NMSettingGsm
Flags: Read / Write
“pin”
property “pin” char *
If the SIM is locked with a PIN it must be unlocked before any other operations are requested. Specify the PIN here to allow operation of the device.
Owner: NMSettingGsm
Flags: Read / Write
Default value: NULL
“pin-flags”
property“pin-flags” NMSettingSecretFlags
Flags indicating how to handle the “pin” property.
Owner: NMSettingGsm
Flags: Read / Write
“sim-id”
property “sim-id” char *
The SIM card unique identifier (as given by the WWAN management service) which this connection applies to. If given, the connection will apply to any device also allowed by “device-id” which contains a SIM card matching the given identifier.
Owner: NMSettingGsm
Flags: Read / Write
Default value: NULL
Since: 1.2
“sim-operator-id”
property “sim-operator-id” char *
A MCC/MNC string like "310260" or "21601" identifying the specific mobile network operator which this connection applies to. If given, the connection will apply to any device also allowed by “device-id” and “sim-id” which contains a SIM card provisioned by the given operator.
Owner: NMSettingGsm
Flags: Read / Write
Default value: NULL
Since: 1.2