Top |
NAS Swi Get Status responseNAS Swi Get Status response — Methods to manage the NAS Swi Get Status response. |
Collection of methods to create requests and parse responses of the NAS Swi Get Status message.
QmiMessageNasSwiGetStatusOutput *
qmi_message_nas_swi_get_status_output_ref
(QmiMessageNasSwiGetStatusOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.24
void
qmi_message_nas_swi_get_status_output_unref
(QmiMessageNasSwiGetStatusOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.24
gboolean qmi_message_nas_swi_get_status_output_get_result (QmiMessageNasSwiGetStatusOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.24
gboolean qmi_message_nas_swi_get_status_output_get_common_info_v2 (QmiMessageNasSwiGetStatusOutput *self
,gint8 *value_common_info_v2_temperature
,QmiNasSwiModemMode *value_common_info_v2_modem_mode
,QmiNasSwiSystemMode *value_common_info_v2_system_mode
,QmiNasSwiImsRegState *value_common_info_v2_ims_registration_state
,QmiNasSwiPsState *value_common_info_v2_packet_service_state
,GError **error
);
Get the 'Common Info v2' field from self
.
self |
||
value_common_info_v2_temperature |
a placeholder for the output gint8, or |
[out][optional] |
value_common_info_v2_modem_mode |
a placeholder for the output QmiNasSwiModemMode, or |
[out][optional] |
value_common_info_v2_system_mode |
a placeholder for the output QmiNasSwiSystemMode, or |
[out][optional] |
value_common_info_v2_ims_registration_state |
a placeholder for the output QmiNasSwiImsRegState, or |
[out][optional] |
value_common_info_v2_packet_service_state |
a placeholder for the output QmiNasSwiPsState, or |
[out][optional] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_nas_swi_get_status_output_get_lte_info (QmiMessageNasSwiGetStatusOutput *self
,QmiNasActiveBand *value_lte_info_band
,QmiNasDLBandwidth *value_lte_info_bandwidth
,guint16 *value_lte_info_rx_channel
,guint16 *value_lte_info_tx_channel
,QmiNasSwiEmmState *value_lte_info_emm_state
,guint8 *value_lte_info_emm_sub_state
,QmiNasSwiEmmConnectionState *value_lte_info_emm_connection_state
,GError **error
);
Get the 'LTE Info' field from self
.
self |
||
value_lte_info_band |
a placeholder for the output QmiNasActiveBand, or |
[out][optional] |
value_lte_info_bandwidth |
a placeholder for the output QmiNasDLBandwidth, or |
[out][optional] |
value_lte_info_rx_channel |
a placeholder for the output guint16, or |
[out][optional] |
value_lte_info_tx_channel |
a placeholder for the output guint16, or |
[out][optional] |
value_lte_info_emm_state |
a placeholder for the output QmiNasSwiEmmState, or |
[out][optional] |
value_lte_info_emm_sub_state |
a placeholder for the output guint8, or |
[out][optional] |
value_lte_info_emm_connection_state |
a placeholder for the output QmiNasSwiEmmConnectionState, or |
[out][optional] |
error |
Return location for error or |
Since: 1.24
QmiMessageNasSwiGetStatusOutput * qmi_message_nas_swi_get_status_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasSwiGetStatusOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasSwiGetStatusOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_swi_get_status_output_unref()
.
Since: 1.34
void qmi_client_nas_swi_get_status (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Swi Get Status 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_swi_get_status_finish()
to get the result of the operation.
self |
a QmiClientNas. |
|
unused |
|
|
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.24
QmiMessageNasSwiGetStatusOutput * qmi_client_nas_swi_get_status_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_swi_get_status()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasSwiGetStatusOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_swi_get_status_output_unref()
.
Since: 1.24
typedef struct _QmiMessageNasSwiGetStatusOutput QmiMessageNasSwiGetStatusOutput;
The QmiMessageNasSwiGetStatusOutput structure contains private data and should only be accessed using the provided API.
Since: 1.24