NAS Set System Selection Preference

NAS Set System Selection Preference

Functions

QmiMessageNasSetSystemSelectionPreferenceInput * qmi_message_nas_set_system_selection_preference_input_new ()
QmiMessageNasSetSystemSelectionPreferenceInput * qmi_message_nas_set_system_selection_preference_input_ref ()
void qmi_message_nas_set_system_selection_preference_input_unref ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_td_scdma_band_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_td_scdma_band_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_mnc_pds_digit_include_status ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_mnc_pds_digit_include_status ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_gsm_wcdma_acquisition_order_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_gsm_wcdma_acquisition_order_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_service_domain_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_service_domain_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_change_duration ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_change_duration ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_network_selection_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_network_selection_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_lte_band_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_lte_band_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_roaming_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_roaming_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_cdma_prl_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_cdma_prl_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_band_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_band_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_mode_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_mode_preference ()
gboolean qmi_message_nas_set_system_selection_preference_input_get_emergency_mode ()
gboolean qmi_message_nas_set_system_selection_preference_input_set_emergency_mode ()
QmiMessageNasSetSystemSelectionPreferenceOutput * qmi_message_nas_set_system_selection_preference_output_ref ()
void qmi_message_nas_set_system_selection_preference_output_unref ()
gboolean qmi_message_nas_set_system_selection_preference_output_get_result ()
void qmi_client_nas_set_system_selection_preference ()
QmiMessageNasSetSystemSelectionPreferenceOutput * qmi_client_nas_set_system_selection_preference_finish ()

Types and Values

Object Hierarchy

    GBoxed
    ├── QmiMessageNasSetSystemSelectionPreferenceInput
    ╰── QmiMessageNasSetSystemSelectionPreferenceOutput

Description

Functions

qmi_message_nas_set_system_selection_preference_input_new ()

QmiMessageNasSetSystemSelectionPreferenceInput *
qmi_message_nas_set_system_selection_preference_input_new
                               (void);

Allocates a new QmiMessageNasSetSystemSelectionPreferenceInput.


qmi_message_nas_set_system_selection_preference_input_ref ()

QmiMessageNasSetSystemSelectionPreferenceInput *
qmi_message_nas_set_system_selection_preference_input_ref
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self);

Atomically increments the reference count of self by one.

Returns

the new reference to self .


qmi_message_nas_set_system_selection_preference_input_unref ()

void
qmi_message_nas_set_system_selection_preference_input_unref
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self);

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.


qmi_message_nas_set_system_selection_preference_input_get_td_scdma_band_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_td_scdma_band_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasTdScdmaBandPreference *td_scdma_band_preference,
                                GError **error);

Get the 'TD SCDMA Band Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

td_scdma_band_preference

a placeholder for the output QmiNasTdScdmaBandPreference, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_td_scdma_band_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_td_scdma_band_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasTdScdmaBandPreference td_scdma_band_preference,
                                GError **error);

Set the 'TD SCDMA Band Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

td_scdma_band_preference

a QmiNasTdScdmaBandPreference.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_mnc_pds_digit_include_status ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_mnc_pds_digit_include_status
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                gboolean *mnc_pds_digit_include_status,
                                GError **error);

Get the 'MNC PDS Digit Include Status' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

mnc_pds_digit_include_status

a placeholder for the output gboolean, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_mnc_pds_digit_include_status ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_mnc_pds_digit_include_status
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                gboolean mnc_pds_digit_include_status,
                                GError **error);

Set the 'MNC PDS Digit Include Status' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

mnc_pds_digit_include_status

a gboolean.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_gsm_wcdma_acquisition_order_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_gsm_wcdma_acquisition_order_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasGsmWcdmaAcquisitionOrderPreference *gsm_wcdma_acquisition_order_preference,
                                GError **error);

Get the 'GSM WCDMA Acquisition Order Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

gsm_wcdma_acquisition_order_preference

a placeholder for the output QmiNasGsmWcdmaAcquisitionOrderPreference, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_gsm_wcdma_acquisition_order_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_gsm_wcdma_acquisition_order_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasGsmWcdmaAcquisitionOrderPreference gsm_wcdma_acquisition_order_preference,
                                GError **error);

Set the 'GSM WCDMA Acquisition Order Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

gsm_wcdma_acquisition_order_preference

a QmiNasGsmWcdmaAcquisitionOrderPreference.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_service_domain_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_service_domain_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasServiceDomainPreference *service_domain_preference,
                                GError **error);

Get the 'Service Domain Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

service_domain_preference

a placeholder for the output QmiNasServiceDomainPreference, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_service_domain_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_service_domain_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasServiceDomainPreference service_domain_preference,
                                GError **error);

Set the 'Service Domain Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

service_domain_preference

a QmiNasServiceDomainPreference.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_change_duration ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_change_duration
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasChangeDuration *change_duration,
                                GError **error);

Get the 'Change Duration' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

change_duration

a placeholder for the output QmiNasChangeDuration, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_change_duration ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_change_duration
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasChangeDuration change_duration,
                                GError **error);

Set the 'Change Duration' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

change_duration

a QmiNasChangeDuration.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_network_selection_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_network_selection_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasNetworkSelectionPreference *network_selection_preference_mode,
                                guint16 *network_selection_preference_mcc,
                                guint16 *network_selection_preference_mnc,
                                GError **error);

Get the 'Network Selection Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

network_selection_preference_mode

a placeholder for the output QmiNasNetworkSelectionPreference, or NULL if not required.

 

network_selection_preference_mcc

a placeholder for the output guint16, or NULL if not required.

 

network_selection_preference_mnc

a placeholder for the output guint16, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_network_selection_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_network_selection_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasNetworkSelectionPreference network_selection_preference_mode,
                                guint16 network_selection_preference_mcc,
                                guint16 network_selection_preference_mnc,
                                GError **error);

Set the 'Network Selection Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

network_selection_preference_mode

a QmiNasNetworkSelectionPreference.

 

network_selection_preference_mcc

a guint16.

 

network_selection_preference_mnc

a guint16.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_lte_band_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_lte_band_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasLteBandPreference *lte_band_preference,
                                GError **error);

Get the 'LTE Band Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

lte_band_preference

a placeholder for the output QmiNasLteBandPreference, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_lte_band_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_lte_band_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasLteBandPreference lte_band_preference,
                                GError **error);

Set the 'LTE Band Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

lte_band_preference

a QmiNasLteBandPreference.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_roaming_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_roaming_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasRoamingPreference *roaming_preference,
                                GError **error);

Get the 'Roaming Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

roaming_preference

a placeholder for the output QmiNasRoamingPreference, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_roaming_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_roaming_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasRoamingPreference roaming_preference,
                                GError **error);

Set the 'Roaming Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

roaming_preference

a QmiNasRoamingPreference.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_cdma_prl_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_cdma_prl_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasCdmaPrlPreference *cdma_prl_preference,
                                GError **error);

Get the 'CDMA PRL Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

cdma_prl_preference

a placeholder for the output QmiNasCdmaPrlPreference, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_cdma_prl_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_cdma_prl_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasCdmaPrlPreference cdma_prl_preference,
                                GError **error);

Set the 'CDMA PRL Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

cdma_prl_preference

a QmiNasCdmaPrlPreference.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_band_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_band_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasBandPreference *band_preference,
                                GError **error);

Get the 'Band Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

band_preference

a placeholder for the output QmiNasBandPreference, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_band_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_band_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasBandPreference band_preference,
                                GError **error);

Set the 'Band Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

band_preference

a QmiNasBandPreference.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_mode_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_mode_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasRatModePreference *mode_preference,
                                GError **error);

Get the 'Mode Preference' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

mode_preference

a placeholder for the output QmiNasRatModePreference, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_mode_preference ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_mode_preference
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                QmiNasRatModePreference mode_preference,
                                GError **error);

Set the 'Mode Preference' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

mode_preference

a QmiNasRatModePreference.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_get_emergency_mode ()

gboolean
qmi_message_nas_set_system_selection_preference_input_get_emergency_mode
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                gboolean *emergency_mode,
                                GError **error);

Get the 'Emergency mode' field from self .

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

emergency_mode

a placeholder for the output gboolean, or NULL if not required.

 

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_input_set_emergency_mode ()

gboolean
qmi_message_nas_set_system_selection_preference_input_set_emergency_mode
                               (QmiMessageNasSetSystemSelectionPreferenceInput *self,
                                gboolean emergency_mode,
                                GError **error);

Set the 'Emergency mode' field in the message.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

emergency_mode

a gboolean.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.


qmi_message_nas_set_system_selection_preference_output_ref ()

QmiMessageNasSetSystemSelectionPreferenceOutput *
qmi_message_nas_set_system_selection_preference_output_ref
                               (QmiMessageNasSetSystemSelectionPreferenceOutput *self);

Atomically increments the reference count of self by one.

Returns

the new reference to self .


qmi_message_nas_set_system_selection_preference_output_unref ()

void
qmi_message_nas_set_system_selection_preference_output_unref
                               (QmiMessageNasSetSystemSelectionPreferenceOutput *self);

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.


qmi_message_nas_set_system_selection_preference_output_get_result ()

gboolean
qmi_message_nas_set_system_selection_preference_output_get_result
                               (QmiMessageNasSetSystemSelectionPreferenceOutput *self,
                                GError **error);

Get the result of the QMI operation.

Parameters

self

a QmiMessageNasSetSystemSelectionPreferenceOutput.

 

error

Return location for error or NULL.

 

Returns

TRUE if the QMI operation succeeded, FALSE if error is set.


qmi_client_nas_set_system_selection_preference ()

void
qmi_client_nas_set_system_selection_preference
                               (QmiClientNas *self,
                                QmiMessageNasSetSystemSelectionPreferenceInput *input,
                                guint timeout,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Asynchronously sends a Set System Selection Preference request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call qmi_client_nas_set_system_selection_preference_finish() to get the result of the operation.

Parameters

self

a QmiClientNas.

 

input

a QmiMessageNasSetSystemSelectionPreferenceInput.

 

timeout

maximum time to wait for the method to complete, in seconds.

 

cancellable

a GCancellable or NULL.

 

callback

a GAsyncReadyCallback to call when the request is satisfied.

 

user_data

user data to pass to callback .

 

qmi_client_nas_set_system_selection_preference_finish ()

QmiMessageNasSetSystemSelectionPreferenceOutput *
qmi_client_nas_set_system_selection_preference_finish
                               (QmiClientNas *self,
                                GAsyncResult *res,
                                GError **error);

Finishes an async operation started with qmi_client_nas_set_system_selection_preference().

Parameters

self

a QmiClientNas.

 

res

the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_set_system_selection_preference().

 

error

Return location for error or NULL.

 

Returns

a QmiMessageNasSetSystemSelectionPreferenceOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_set_system_selection_preference_output_unref().

Types and Values

QmiMessageNasSetSystemSelectionPreferenceInput

typedef struct _QmiMessageNasSetSystemSelectionPreferenceInput QmiMessageNasSetSystemSelectionPreferenceInput;

The QmiMessageNasSetSystemSelectionPreferenceInput structure contains private data and should only be accessed using the provided API.


QmiMessageNasSetSystemSelectionPreferenceOutput

typedef struct _QmiMessageNasSetSystemSelectionPreferenceOutput QmiMessageNasSetSystemSelectionPreferenceOutput;

The QmiMessageNasSetSystemSelectionPreferenceOutput structure contains private data and should only be accessed using the provided API.