Top |
NAS Initiate Network Register responseNAS Initiate Network Register response — Methods to manage the NAS Initiate Network Register response. |
GBoxed ├── QmiMessageNasInitiateNetworkRegisterInput ╰── QmiMessageNasInitiateNetworkRegisterOutput
Collection of methods to create requests and parse responses of the NAS Initiate Network Register message.
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()
.
Since: 1.0
QmiMessageNasInitiateNetworkRegisterInput *
qmi_message_nas_initiate_network_register_input_ref
(QmiMessageNasInitiateNetworkRegisterInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
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.
Since: 1.0
gboolean qmi_message_nas_initiate_network_register_input_get_mnc_pcs_digit_include_status (QmiMessageNasInitiateNetworkRegisterInput *self
,gboolean *value_mnc_pcs_digit_include_status
,GError **error
);
Get the 'MNC PCS Digit Include Status' field from self
.
Since: 1.0
gboolean qmi_message_nas_initiate_network_register_input_set_mnc_pcs_digit_include_status (QmiMessageNasInitiateNetworkRegisterInput *self
,gboolean value_mnc_pcs_digit_include_status
,GError **error
);
Set the 'MNC PCS Digit Include Status' field in the message.
Since: 1.0
gboolean qmi_message_nas_initiate_network_register_input_get_change_duration (QmiMessageNasInitiateNetworkRegisterInput *self
,QmiNasChangeDuration *value_change_duration
,GError **error
);
Get the 'Change Duration' field from self
.
self |
||
value_change_duration |
a placeholder for the output QmiNasChangeDuration, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_initiate_network_register_input_set_change_duration (QmiMessageNasInitiateNetworkRegisterInput *self
,QmiNasChangeDuration value_change_duration
,GError **error
);
Set the 'Change Duration' field in the message.
Since: 1.0
gboolean qmi_message_nas_initiate_network_register_input_get_manual_registration_info_3gpp (QmiMessageNasInitiateNetworkRegisterInput *self
,guint16 *value_manual_registration_info_3gpp_mcc
,guint16 *value_manual_registration_info_3gpp_mnc
,QmiNasRadioInterface *value_manual_registration_info_3gpp_radio_interface
,GError **error
);
Get the 'Manual Registration Info 3GPP' field from self
.
self |
||
value_manual_registration_info_3gpp_mcc |
a placeholder for the output guint16, or |
[out][optional] |
value_manual_registration_info_3gpp_mnc |
a placeholder for the output guint16, or |
[out][optional] |
value_manual_registration_info_3gpp_radio_interface |
a placeholder for the output QmiNasRadioInterface, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_initiate_network_register_input_set_manual_registration_info_3gpp (QmiMessageNasInitiateNetworkRegisterInput *self
,guint16 value_manual_registration_info_3gpp_mcc
,guint16 value_manual_registration_info_3gpp_mnc
,QmiNasRadioInterface value_manual_registration_info_3gpp_radio_interface
,GError **error
);
Set the 'Manual Registration Info 3GPP' field in the message.
Since: 1.0
gboolean qmi_message_nas_initiate_network_register_input_get_action (QmiMessageNasInitiateNetworkRegisterInput *self
,QmiNasNetworkRegisterType *value_action
,GError **error
);
Get the 'Action' field from self
.
self |
||
value_action |
a placeholder for the output QmiNasNetworkRegisterType, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_nas_initiate_network_register_input_set_action (QmiMessageNasInitiateNetworkRegisterInput *self
,QmiNasNetworkRegisterType value_action
,GError **error
);
Set the 'Action' field in the message.
Since: 1.0
QmiMessageNasInitiateNetworkRegisterOutput *
qmi_message_nas_initiate_network_register_output_ref
(QmiMessageNasInitiateNetworkRegisterOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
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.
Since: 1.0
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 |
Since: 1.0
QmiMessageNasInitiateNetworkRegisterOutput * qmi_message_nas_initiate_network_register_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasInitiateNetworkRegisterOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasInitiateNetworkRegisterOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_initiate_network_register_output_unref()
.
Since: 1.34
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 |
Since: 1.0
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()
.
Since: 1.0
typedef struct _QmiMessageNasInitiateNetworkRegisterInput QmiMessageNasInitiateNetworkRegisterInput;
The QmiMessageNasInitiateNetworkRegisterInput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct _QmiMessageNasInitiateNetworkRegisterOutput QmiMessageNasInitiateNetworkRegisterOutput;
The QmiMessageNasInitiateNetworkRegisterOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0