NMSettingGsm
NMSettingGsm — Describes GSM/3GPP-based mobile broadband properties
|
|
Object Hierarchy
GObject
╰── NMSetting
╰── NMSettingGsm
Description
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.
Functions
nm_setting_gsm_new ()
NMSetting *
nm_setting_gsm_new (void
);
Creates a new NMSettingGsm object with default values.
nm_setting_gsm_get_number ()
const char *
nm_setting_gsm_get_number (NMSettingGsm *setting
);
Returns
the “number” property of the setting
nm_setting_gsm_get_username ()
const char *
nm_setting_gsm_get_username (NMSettingGsm *setting
);
nm_setting_gsm_get_password ()
const char *
nm_setting_gsm_get_password (NMSettingGsm *setting
);
nm_setting_gsm_get_apn ()
const char *
nm_setting_gsm_get_apn (NMSettingGsm *setting
);
Returns
the “apn” property of the setting
nm_setting_gsm_get_network_id ()
const char *
nm_setting_gsm_get_network_id (NMSettingGsm *setting
);
nm_setting_gsm_get_pin ()
const char *
nm_setting_gsm_get_pin (NMSettingGsm *setting
);
Returns
the “pin” property of the setting
nm_setting_gsm_get_home_only ()
gboolean
nm_setting_gsm_get_home_only (NMSettingGsm *setting
);
Types and Values
NM_SETTING_GSM_SETTING_NAME
#define NM_SETTING_GSM_SETTING_NAME "gsm"
NM_SETTING_GSM_NUMBER
#define NM_SETTING_GSM_NUMBER "number"
NM_SETTING_GSM_USERNAME
#define NM_SETTING_GSM_USERNAME "username"
NM_SETTING_GSM_PASSWORD
#define NM_SETTING_GSM_PASSWORD "password"
NM_SETTING_GSM_PASSWORD_FLAGS
#define NM_SETTING_GSM_PASSWORD_FLAGS "password-flags"
NM_SETTING_GSM_APN
#define NM_SETTING_GSM_APN "apn"
NM_SETTING_GSM_NETWORK_ID
#define NM_SETTING_GSM_NETWORK_ID "network-id"
NM_SETTING_GSM_PIN
#define NM_SETTING_GSM_PIN "pin"
NM_SETTING_GSM_PIN_FLAGS
#define NM_SETTING_GSM_PIN_FLAGS "pin-flags"
NM_SETTING_GSM_HOME_ONLY
#define NM_SETTING_GSM_HOME_ONLY "home-only"
Property Details
The “apn”
property
“apn” gchar *
Flags: Read / Write
Default value: NULL
The “home-only”
property
“home-only” gboolean
Flags: Read / Write
Default value: FALSE
The “network-id”
property
“network-id” gchar *
Flags: Read / Write
Default value: NULL
The “number”
property
“number” gchar *
Flags: Read / Write
Default value: NULL
The “password”
property
“password” gchar *
Flags: Read / Write
Default value: NULL
The “pin”
property
“pin” gchar *
Flags: Read / Write
Default value: NULL
The “username”
property
“username” gchar *
Flags: Read / Write
Default value: NULL