Top |
Collection of methods to create requests and parse responses of the WMS Send Ack message.
QmiMessageWmsSendAckInput *
qmi_message_wms_send_ack_input_new (void
);
Allocates a new QmiMessageWmsSendAckInput.
the newly created QmiMessageWmsSendAckInput. The returned value should be freed with qmi_message_wms_send_ack_input_unref()
.
Since: 1.28
QmiMessageWmsSendAckInput *
qmi_message_wms_send_ack_input_ref (QmiMessageWmsSendAckInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.28
void
qmi_message_wms_send_ack_input_unref (QmiMessageWmsSendAckInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.28
gboolean qmi_message_wms_send_ack_input_get_sms_on_ims (QmiMessageWmsSendAckInput *self
,gboolean *value_sms_on_ims
,GError **error
);
Get the 'SMS on IMS' field from self
.
Since: 1.28
gboolean qmi_message_wms_send_ack_input_set_sms_on_ims (QmiMessageWmsSendAckInput *self
,gboolean value_sms_on_ims
,GError **error
);
Set the 'SMS on IMS' field in the message.
Since: 1.28
gboolean qmi_message_wms_send_ack_input_get_3gpp_failure_information (QmiMessageWmsSendAckInput *self
,QmiWmsGsmUmtsRpCause *value_3gpp_failure_information_rp_cause
,QmiWmsGsmUmtsTpCause *value_3gpp_failure_information_tp_cause
,GError **error
);
Get the '3GPP Failure Information' field from self
.
self |
||
value_3gpp_failure_information_rp_cause |
a placeholder for the output QmiWmsGsmUmtsRpCause, or |
[out][optional] |
value_3gpp_failure_information_tp_cause |
a placeholder for the output QmiWmsGsmUmtsTpCause, or |
[out][optional] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_wms_send_ack_input_set_3gpp_failure_information (QmiMessageWmsSendAckInput *self
,QmiWmsGsmUmtsRpCause value_3gpp_failure_information_rp_cause
,QmiWmsGsmUmtsTpCause value_3gpp_failure_information_tp_cause
,GError **error
);
Set the '3GPP Failure Information' field in the message.
self |
||
value_3gpp_failure_information_rp_cause |
||
value_3gpp_failure_information_tp_cause |
||
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_wms_send_ack_input_get_3gpp2_failure_information (QmiMessageWmsSendAckInput *self
,QmiWmsCdmaErrorClass *value_3gpp2_failure_information_error_class
,QmiWmsCdmaCauseCode *value_3gpp2_failure_information_cause_code
,GError **error
);
Get the '3GPP2 Failure Information' field from self
.
self |
||
value_3gpp2_failure_information_error_class |
a placeholder for the output QmiWmsCdmaErrorClass, or |
[out][optional] |
value_3gpp2_failure_information_cause_code |
a placeholder for the output QmiWmsCdmaCauseCode, or |
[out][optional] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_wms_send_ack_input_set_3gpp2_failure_information (QmiMessageWmsSendAckInput *self
,QmiWmsCdmaErrorClass value_3gpp2_failure_information_error_class
,QmiWmsCdmaCauseCode value_3gpp2_failure_information_cause_code
,GError **error
);
Set the '3GPP2 Failure Information' field in the message.
self |
||
value_3gpp2_failure_information_error_class |
||
value_3gpp2_failure_information_cause_code |
||
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_wms_send_ack_input_get_information (QmiMessageWmsSendAckInput *self
,guint32 *value_information_transaction_id
,QmiWmsMessageProtocol *value_information_message_protocol
,gboolean *value_information_success
,GError **error
);
Get the 'Information' field from self
.
self |
||
value_information_transaction_id |
a placeholder for the output guint32, or |
[out][optional] |
value_information_message_protocol |
a placeholder for the output QmiWmsMessageProtocol, or |
[out][optional] |
value_information_success |
a placeholder for the output gboolean, or |
[out][optional] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_wms_send_ack_input_set_information (QmiMessageWmsSendAckInput *self
,guint32 value_information_transaction_id
,QmiWmsMessageProtocol value_information_message_protocol
,gboolean value_information_success
,GError **error
);
Set the 'Information' field in the message.
Since: 1.28
QmiMessageWmsSendAckOutput *
qmi_message_wms_send_ack_output_ref (QmiMessageWmsSendAckOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.28
void
qmi_message_wms_send_ack_output_unref (QmiMessageWmsSendAckOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.28
gboolean qmi_message_wms_send_ack_output_get_result (QmiMessageWmsSendAckOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.28
gboolean qmi_message_wms_send_ack_output_get_failure_cause (QmiMessageWmsSendAckOutput *self
,QmiWmsAckFailureCause *value_failure_cause
,GError **error
);
Get the 'Failure Cause' field from self
.
self |
||
value_failure_cause |
a placeholder for the output QmiWmsAckFailureCause, or |
[out][optional] |
error |
Return location for error or |
Since: 1.28
QmiMessageWmsSendAckOutput * qmi_message_wms_send_ack_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageWmsSendAckOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageWmsSendAckOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wms_send_ack_output_unref()
.
Since: 1.34
void qmi_client_wms_send_ack (QmiClientWms *self
,QmiMessageWmsSendAckInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Send Ack 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_wms_send_ack_finish()
to get the result of the operation.
self |
a QmiClientWms. |
|
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.28
QmiMessageWmsSendAckOutput * qmi_client_wms_send_ack_finish (QmiClientWms *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wms_send_ack()
.
self |
a QmiClientWms. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWmsSendAckOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wms_send_ack_output_unref()
.
Since: 1.28
typedef struct _QmiMessageWmsSendAckInput QmiMessageWmsSendAckInput;
The QmiMessageWmsSendAckInput structure contains private data and should only be accessed using the provided API.
Since: 1.28
typedef struct _QmiMessageWmsSendAckOutput QmiMessageWmsSendAckOutput;
The QmiMessageWmsSendAckOutput structure contains private data and should only be accessed using the provided API.
Since: 1.28