Top |
GBoxed ├── QmiMessageNasInitiateNetworkRegisterInput ╰── QmiMessageNasInitiateNetworkRegisterOutput
QmiMessageNasInitiateNetworkRegisterInput *
qmi_message_nas_initiate_network_register_input_new
(void
);
Allocates a new QmiMessageNasInitiateNetworkRegisterInput.
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.
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.
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
.
self |
||
change_duration |
a placeholder for the output QmiNasChangeDuration, or |
|
error |
Return location for error or |
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.
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
.
self |
||
manual_registration_info_3gpp_mcc |
a placeholder for the output guint16, or |
|
manual_registration_info_3gpp_mnc |
a placeholder for the output guint16, or |
|
manual_registration_info_3gpp_radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
|
error |
Return location for error or |
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.
gboolean qmi_message_nas_initiate_network_register_input_get_action (QmiMessageNasInitiateNetworkRegisterInput *self
,QmiNasNetworkRegisterType *action
,GError **error
);
Get the 'Action' field from self
.
self |
||
action |
a placeholder for the output QmiNasNetworkRegisterType, or |
|
error |
Return location for error or |
gboolean qmi_message_nas_initiate_network_register_input_set_action (QmiMessageNasInitiateNetworkRegisterInput *self
,QmiNasNetworkRegisterType action
,GError **error
);
Set the 'Action' field in the message.
QmiMessageNasInitiateNetworkRegisterOutput *
qmi_message_nas_initiate_network_register_output_ref
(QmiMessageNasInitiateNetworkRegisterOutput *self
);
Atomically increments the reference count of self
by one.
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.
self |
a QmiMessageNasInitiateNetworkRegisterOutput. |
|
error |
Return location for error or |
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.
self |
a QmiClientNas. |
|
input |
||
timeout |
maximum time to wait for the method to complete, in seconds. |
|
cancellable |
a GCancellable or |
|
callback |
a GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
user data to pass to |
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()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasInitiateNetworkRegisterOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_initiate_network_register_output_unref()
.
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.