Top | ![]() |
![]() |
![]() |
![]() |
WDA Loopback Configuration responseWDA Loopback Configuration response — Methods to manage the WDA Loopback Configuration response. |
GBoxed ├── QmiMessageWdaLoopbackConfigurationInput ╰── QmiMessageWdaLoopbackConfigurationOutput
Collection of methods to create requests and parse responses of the WDA Loopback Configuration message.
QmiMessageWdaLoopbackConfigurationInput *
qmi_message_wda_loopback_configuration_input_new
(void
);
Allocates a new QmiMessageWdaLoopbackConfigurationInput.
the newly created QmiMessageWdaLoopbackConfigurationInput. The returned value should be freed with qmi_message_wda_loopback_configuration_input_unref()
.
Since: 1.36
QmiMessageWdaLoopbackConfigurationInput *
qmi_message_wda_loopback_configuration_input_ref
(QmiMessageWdaLoopbackConfigurationInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.36
void
qmi_message_wda_loopback_configuration_input_unref
(QmiMessageWdaLoopbackConfigurationInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.36
gboolean qmi_message_wda_loopback_configuration_input_get_replication_factor (QmiMessageWdaLoopbackConfigurationInput *self
,guint32 *value_replication_factor
,GError **error
);
Get the 'Replication factor' field from self
.
self |
||
value_replication_factor |
a placeholder for the output guint32, or |
[out][optional] |
error |
Return location for error or |
Since: 1.36
gboolean qmi_message_wda_loopback_configuration_input_set_replication_factor (QmiMessageWdaLoopbackConfigurationInput *self
,guint32 value_replication_factor
,GError **error
);
Set the 'Replication factor' field in the message.
Since: 1.36
gboolean qmi_message_wda_loopback_configuration_input_get_loopback_state (QmiMessageWdaLoopbackConfigurationInput *self
,QmiWdaLoopBackState *value_loopback_state
,GError **error
);
Get the 'Loopback state' field from self
.
self |
||
value_loopback_state |
a placeholder for the output QmiWdaLoopBackState, or |
[out][optional] |
error |
Return location for error or |
Since: 1.36
gboolean qmi_message_wda_loopback_configuration_input_set_loopback_state (QmiMessageWdaLoopbackConfigurationInput *self
,QmiWdaLoopBackState value_loopback_state
,GError **error
);
Set the 'Loopback state' field in the message.
Since: 1.36
QmiMessageWdaLoopbackConfigurationOutput *
qmi_message_wda_loopback_configuration_output_ref
(QmiMessageWdaLoopbackConfigurationOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.36
void
qmi_message_wda_loopback_configuration_output_unref
(QmiMessageWdaLoopbackConfigurationOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.36
gboolean qmi_message_wda_loopback_configuration_output_get_result (QmiMessageWdaLoopbackConfigurationOutput *self
,GError **error
);
Get the result of the QMI operation.
self |
a QmiMessageWdaLoopbackConfigurationOutput. |
|
error |
Return location for error or |
Since: 1.36
QmiMessageWdaLoopbackConfigurationOutput * qmi_message_wda_loopback_configuration_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageWdaLoopbackConfigurationOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageWdaLoopbackConfigurationOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wda_loopback_configuration_output_unref()
.
Since: 1.36
void qmi_client_wda_loopback_configuration (QmiClientWda *self
,QmiMessageWdaLoopbackConfigurationInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Loopback Configuration 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_wda_loopback_configuration_finish()
to get the result of the operation.
self |
a QmiClientWda. |
|
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.36
QmiMessageWdaLoopbackConfigurationOutput * qmi_client_wda_loopback_configuration_finish (QmiClientWda *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wda_loopback_configuration()
.
self |
a QmiClientWda. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWdaLoopbackConfigurationOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wda_loopback_configuration_output_unref()
.
Since: 1.36
typedef struct _QmiMessageWdaLoopbackConfigurationInput QmiMessageWdaLoopbackConfigurationInput;
The QmiMessageWdaLoopbackConfigurationInput structure contains private data and should only be accessed using the provided API.
Since: 1.36
typedef struct _QmiMessageWdaLoopbackConfigurationOutput QmiMessageWdaLoopbackConfigurationOutput;
The QmiMessageWdaLoopbackConfigurationOutput structure contains private data and should only be accessed using the provided API.
Since: 1.36