![]() |
![]() |
![]() |
libnm-util Reference Manual | ![]() |
---|---|---|---|---|
#define NM_SETTING_GSM_SETTING_NAME enum NMSettingGsmError; #define NM_TYPE_SETTING_GSM_ERROR #define NM_SETTING_GSM_ERROR GQuark nm_setting_gsm_error_quark (void); #define NM_SETTING_GSM_NUMBER #define NM_SETTING_GSM_USERNAME #define NM_SETTING_GSM_PASSWORD #define NM_SETTING_GSM_APN #define NM_SETTING_GSM_NETWORK_ID #define NM_SETTING_GSM_NETWORK_TYPE #define NM_SETTING_GSM_BAND #define NM_SETTING_GSM_PIN #define NM_SETTING_GSM_PUK NMSettingGsm; GType nm_setting_gsm_get_type (void); NMSetting* nm_setting_gsm_new (void); const char* nm_setting_gsm_get_number (NMSettingGsm *setting); const char* nm_setting_gsm_get_username (NMSettingGsm *setting); const char* nm_setting_gsm_get_password (NMSettingGsm *setting); const char* nm_setting_gsm_get_apn (NMSettingGsm *setting); const char* nm_setting_gsm_get_network_id (NMSettingGsm *setting); int nm_setting_gsm_get_network_type (NMSettingGsm *setting); int nm_setting_gsm_get_band (NMSettingGsm *setting); const char* nm_setting_gsm_get_pin (NMSettingGsm *setting); const char* nm_setting_gsm_get_puk (NMSettingGsm *setting);
"apn" gchararray : Read / Write "band" gint : Read / Write / Construct "network-id" gchararray : Read / Write "network-type" gint : Read / Write / Construct "number" gchararray : Read / Write "password" gchararray : Read / Write "pin" gchararray : Read / Write "puk" gchararray : Read / Write "username" gchararray : Read / Write
typedef enum { NM_SETTING_GSM_ERROR_UNKNOWN = 0, NM_SETTING_GSM_ERROR_INVALID_PROPERTY, NM_SETTING_GSM_ERROR_MISSING_PROPERTY, NM_SETTING_GSM_ERROR_MISSING_SERIAL_SETTING } NMSettingGsmError;
const char* nm_setting_gsm_get_number (NMSettingGsm *setting);
|
|
Returns : |
const char* nm_setting_gsm_get_username (NMSettingGsm *setting);
|
|
Returns : |
const char* nm_setting_gsm_get_password (NMSettingGsm *setting);
|
|
Returns : |
const char* nm_setting_gsm_get_apn (NMSettingGsm *setting);
|
|
Returns : |
const char* nm_setting_gsm_get_network_id (NMSettingGsm *setting);
|
|
Returns : |
int nm_setting_gsm_get_network_type (NMSettingGsm *setting);
|
|
Returns : |
const char* nm_setting_gsm_get_pin (NMSettingGsm *setting);
|
|
Returns : |
const char* nm_setting_gsm_get_puk (NMSettingGsm *setting);
|
|
Returns : |
"band"
property"band" gint : Read / Write / Construct
Band.
Allowed values: [-1,5]
Default value: -1
"network-id"
property"network-id" gchararray : Read / Write
Network ID (GSM LAI format).
Default value: NULL
"network-type"
property"network-type" gint : Read / Write / Construct
Network type.
Allowed values: [-1,2]
Default value: -1