NMSettingGsm

NMSettingGsm — Describes GSM/3GPP-based mobile broadband properties

Properties

gchar * apn Read / Write
gboolean home-only Read / Write
gchar * network-id Read / Write
gchar * number Read / Write
gchar * password Read / Write
NMSettingSecretFlags password-flags Read / Write
gchar * pin Read / Write
NMSettingSecretFlags pin-flags Read / Write
gchar * username Read / Write

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.

Returns

the new empty NMSettingGsm object


nm_setting_gsm_get_number ()

const char *
nm_setting_gsm_get_number (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the “number” property of the setting


nm_setting_gsm_get_username ()

const char *
nm_setting_gsm_get_username (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the “username” property of the setting


nm_setting_gsm_get_password ()

const char *
nm_setting_gsm_get_password (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the “password” property of the setting


nm_setting_gsm_get_apn ()

const char *
nm_setting_gsm_get_apn (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the “apn” property of the setting


nm_setting_gsm_get_network_id ()

const char *
nm_setting_gsm_get_network_id (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the “network-id” property of the setting


nm_setting_gsm_get_pin ()

const char *
nm_setting_gsm_get_pin (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the “pin” property of the setting


nm_setting_gsm_get_home_only ()

gboolean
nm_setting_gsm_get_home_only (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the “home-only” property of the setting


nm_setting_gsm_get_pin_flags ()

NMSettingSecretFlags
nm_setting_gsm_get_pin_flags (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the NMSettingSecretFlags pertaining to the “pin”


nm_setting_gsm_get_password_flags ()

NMSettingSecretFlags
nm_setting_gsm_get_password_flags (NMSettingGsm *setting);

Parameters

setting

the NMSettingGsm

 

Returns

the NMSettingSecretFlags pertaining to the “password”

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 “password-flags” property

  “password-flags”           NMSettingSecretFlags

Flags: Read / Write


The “pin” property

  “pin”                      gchar *

Flags: Read / Write

Default value: NULL


The “pin-flags” property

  “pin-flags”                NMSettingSecretFlags

Flags: Read / Write


The “username” property

  “username”                 gchar *

Flags: Read / Write

Default value: NULL