| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessageNasInitiateNetworkRegisterInput; QmiMessageNasInitiateNetworkRegisterOutput; QmiMessageNasInitiateNetworkRegisterInput * qmi_message_nas_initiate_network_register_input_new (void); QmiMessageNasInitiateNetworkRegisterInput * qmi_message_nas_initiate_network_register_input_ref (QmiMessageNasInitiateNetworkRegisterInput *self); void qmi_message_nas_initiate_network_register_input_unref (QmiMessageNasInitiateNetworkRegisterInput *self); gboolean qmi_message_nas_initiate_network_register_input_get_mnc_pcs_digit_include_status (QmiMessageNasInitiateNetworkRegisterInput *self,gboolean *mnc_pcs_digit_include_status,GError **error); gboolean qmi_message_nas_initiate_network_register_input_set_mnc_pcs_digit_include_status (QmiMessageNasInitiateNetworkRegisterInput *self,gboolean mnc_pcs_digit_include_status,GError **error); gboolean qmi_message_nas_initiate_network_register_input_get_change_duration (QmiMessageNasInitiateNetworkRegisterInput *self,QmiNasChangeDuration *change_duration,GError **error); gboolean qmi_message_nas_initiate_network_register_input_set_change_duration (QmiMessageNasInitiateNetworkRegisterInput *self,QmiNasChangeDuration change_duration,GError **error); gboolean qmi_message_nas_initiate_network_register_input_get_manual_registration_info_3gpp (QmiMessageNasInitiateNetworkRegisterInput *self,guint16 *manual_registration_info_3gpp_mcc,guint16 *manual_registration_info_3gpp_mnc,QmiNasRadioInterface *manual_registration_info_3gpp_radio_interface,GError **error); gboolean qmi_message_nas_initiate_network_register_input_set_manual_registration_info_3gpp (QmiMessageNasInitiateNetworkRegisterInput *self,guint16 manual_registration_info_3gpp_mcc,guint16 manual_registration_info_3gpp_mnc,QmiNasRadioInterface manual_registration_info_3gpp_radio_interface,GError **error); gboolean qmi_message_nas_initiate_network_register_input_get_action (QmiMessageNasInitiateNetworkRegisterInput *self,QmiNasNetworkRegisterType *action,GError **error); gboolean qmi_message_nas_initiate_network_register_input_set_action (QmiMessageNasInitiateNetworkRegisterInput *self,QmiNasNetworkRegisterType action,GError **error); QmiMessageNasInitiateNetworkRegisterOutput * qmi_message_nas_initiate_network_register_output_ref (QmiMessageNasInitiateNetworkRegisterOutput *self); void qmi_message_nas_initiate_network_register_output_unref (QmiMessageNasInitiateNetworkRegisterOutput *self); gboolean qmi_message_nas_initiate_network_register_output_get_result (QmiMessageNasInitiateNetworkRegisterOutput *self,GError **error); void qmi_client_nas_initiate_network_register (QmiClientNas *self,QmiMessageNasInitiateNetworkRegisterInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessageNasInitiateNetworkRegisterOutput * qmi_client_nas_initiate_network_register_finish (QmiClientNas *self,GAsyncResult *res,GError **error);
GBoxed +----QmiMessageNasInitiateNetworkRegisterInput
GBoxed +----QmiMessageNasInitiateNetworkRegisterOutput
typedef struct _QmiMessageNasInitiateNetworkRegisterInput QmiMessageNasInitiateNetworkRegisterInput;
The QmiMessageNasInitiateNetworkRegisterInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageNasInitiateNetworkRegisterOutput QmiMessageNasInitiateNetworkRegisterOutput;
The QmiMessageNasInitiateNetworkRegisterOutput structure contains private data and should only be accessed using the provided API.
QmiMessageNasInitiateNetworkRegisterInput * qmi_message_nas_initiate_network_register_input_new
(void);
Allocates a new QmiMessageNasInitiateNetworkRegisterInput.
Returns : |
the newly created QmiMessageNasInitiateNetworkRegisterInput. The returned value should be freed with qmi_message_nas_initiate_network_register_input_unref(). |
QmiMessageNasInitiateNetworkRegisterInput * qmi_message_nas_initiate_network_register_input_ref
(QmiMessageNasInitiateNetworkRegisterInput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageNasInitiateNetworkRegisterInput. |
Returns : |
the new reference to self. |
void qmi_message_nas_initiate_network_register_input_unref
(QmiMessageNasInitiateNetworkRegisterInput *self);
Atomically decrements the reference count of self by one.
If the reference count drops to 0, self is completely disposed.
gboolean qmi_message_nas_initiate_network_register_input_get_mnc_pcs_digit_include_status (QmiMessageNasInitiateNetworkRegisterInput *self,gboolean *mnc_pcs_digit_include_status,GError **error);
Get the 'MNC PCS Digit Include Status' field from self.
gboolean qmi_message_nas_initiate_network_register_input_set_mnc_pcs_digit_include_status (QmiMessageNasInitiateNetworkRegisterInput *self,gboolean mnc_pcs_digit_include_status,GError **error);
Set the 'MNC PCS Digit Include Status' field in the message.
|
a QmiMessageNasInitiateNetworkRegisterInput. |
|
a gboolean. |
|
Return location for error or NULL. |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_initiate_network_register_input_get_change_duration (QmiMessageNasInitiateNetworkRegisterInput *self,QmiNasChangeDuration *change_duration,GError **error);
Get the 'Change Duration' field from self.
|
a QmiMessageNasInitiateNetworkRegisterInput. |
|
a placeholder for the output QmiNasChangeDuration, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_initiate_network_register_input_set_change_duration (QmiMessageNasInitiateNetworkRegisterInput *self,QmiNasChangeDuration change_duration,GError **error);
Set the 'Change Duration' field in the message.
|
a QmiMessageNasInitiateNetworkRegisterInput. |
|
a QmiNasChangeDuration. |
|
Return location for error or NULL. |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_initiate_network_register_input_get_manual_registration_info_3gpp (QmiMessageNasInitiateNetworkRegisterInput *self,guint16 *manual_registration_info_3gpp_mcc,guint16 *manual_registration_info_3gpp_mnc,QmiNasRadioInterface *manual_registration_info_3gpp_radio_interface,GError **error);
Get the 'Manual Registration Info 3GPP' field from self.
|
a QmiMessageNasInitiateNetworkRegisterInput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output QmiNasRadioInterface, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_initiate_network_register_input_set_manual_registration_info_3gpp (QmiMessageNasInitiateNetworkRegisterInput *self,guint16 manual_registration_info_3gpp_mcc,guint16 manual_registration_info_3gpp_mnc,QmiNasRadioInterface manual_registration_info_3gpp_radio_interface,GError **error);
Set the 'Manual Registration Info 3GPP' field in the message.
|
a QmiMessageNasInitiateNetworkRegisterInput. |
|
a guint16. |
|
a guint16. |
|
a QmiNasRadioInterface. |
|
Return location for error or NULL. |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_initiate_network_register_input_get_action (QmiMessageNasInitiateNetworkRegisterInput *self,QmiNasNetworkRegisterType *action,GError **error);
Get the 'Action' field from self.
|
a QmiMessageNasInitiateNetworkRegisterInput. |
|
a placeholder for the output QmiNasNetworkRegisterType, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_initiate_network_register_input_set_action (QmiMessageNasInitiateNetworkRegisterInput *self,QmiNasNetworkRegisterType action,GError **error);
Set the 'Action' field in the message.
|
a QmiMessageNasInitiateNetworkRegisterInput. |
|
a QmiNasNetworkRegisterType. |
|
Return location for error or NULL. |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageNasInitiateNetworkRegisterOutput * qmi_message_nas_initiate_network_register_output_ref
(QmiMessageNasInitiateNetworkRegisterOutput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageNasInitiateNetworkRegisterOutput. |
Returns : |
the new reference to self. |
void qmi_message_nas_initiate_network_register_output_unref
(QmiMessageNasInitiateNetworkRegisterOutput *self);
Atomically decrements the reference count of self by one.
If the reference count drops to 0, self is completely disposed.
gboolean qmi_message_nas_initiate_network_register_output_get_result (QmiMessageNasInitiateNetworkRegisterOutput *self,GError **error);
Get the result of the QMI operation.
void qmi_client_nas_initiate_network_register (QmiClientNas *self,QmiMessageNasInitiateNetworkRegisterInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Initiate Network Register 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_initiate_network_register_finish() to get the result of the operation.
|
a QmiClientNas. |
|
a QmiMessageNasInitiateNetworkRegisterInput. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL. |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback. |
QmiMessageNasInitiateNetworkRegisterOutput * qmi_client_nas_initiate_network_register_finish (QmiClientNas *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_nas_initiate_network_register().
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_initiate_network_register(). |
|
Return location for error or NULL. |
Returns : |
a QmiMessageNasInitiateNetworkRegisterOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_initiate_network_register_output_unref(). |