Top |
GAS DMS Get Firmware List responseGAS DMS Get Firmware List response — Methods to manage the GAS DMS Get Firmware List response. |
GBoxed ├── QmiMessageGasDmsGetFirmwareListInput ╰── QmiMessageGasDmsGetFirmwareListOutput
Collection of methods to create requests and parse responses of the GAS DMS Get Firmware List message.
QmiMessageGasDmsGetFirmwareListInput *
qmi_message_gas_dms_get_firmware_list_input_new
(void
);
Allocates a new QmiMessageGasDmsGetFirmwareListInput.
the newly created QmiMessageGasDmsGetFirmwareListInput. The returned value should be freed with qmi_message_gas_dms_get_firmware_list_input_unref()
.
Since: 1.24
QmiMessageGasDmsGetFirmwareListInput *
qmi_message_gas_dms_get_firmware_list_input_ref
(QmiMessageGasDmsGetFirmwareListInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.24
void
qmi_message_gas_dms_get_firmware_list_input_unref
(QmiMessageGasDmsGetFirmwareListInput *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_gas_dms_get_firmware_list_input_get_version (QmiMessageGasDmsGetFirmwareListInput *self
,const gchar **value_version
,GError **error
);
Get the 'Version' field from self
.
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_input_set_version (QmiMessageGasDmsGetFirmwareListInput *self
,const gchar *value_version
,GError **error
);
Set the 'Version' field in the message.
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_input_get_name (QmiMessageGasDmsGetFirmwareListInput *self
,const gchar **value_name
,GError **error
);
Get the 'Name' field from self
.
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_input_set_name (QmiMessageGasDmsGetFirmwareListInput *self
,const gchar *value_name
,GError **error
);
Set the 'Name' field in the message.
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_input_get_slot_index (QmiMessageGasDmsGetFirmwareListInput *self
,guint8 *value_slot_index
,GError **error
);
Get the 'Slot Index' field from self
.
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_input_set_slot_index (QmiMessageGasDmsGetFirmwareListInput *self
,guint8 value_slot_index
,GError **error
);
Set the 'Slot Index' field in the message.
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_input_get_mode (QmiMessageGasDmsGetFirmwareListInput *self
,QmiGasFirmwareListingMode *value_mode
,GError **error
);
Get the 'Mode' field from self
.
self |
||
value_mode |
a placeholder for the output QmiGasFirmwareListingMode, or |
[out][optional] |
error |
Return location for error or |
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_input_set_mode (QmiMessageGasDmsGetFirmwareListInput *self
,QmiGasFirmwareListingMode value_mode
,GError **error
);
Set the 'Mode' field in the message.
Since: 1.24
QmiMessageGasDmsGetFirmwareListOutput *
qmi_message_gas_dms_get_firmware_list_output_ref
(QmiMessageGasDmsGetFirmwareListOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.24
void
qmi_message_gas_dms_get_firmware_list_output_unref
(QmiMessageGasDmsGetFirmwareListOutput *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_gas_dms_get_firmware_list_output_get_result (QmiMessageGasDmsGetFirmwareListOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_output_get_mode (QmiMessageGasDmsGetFirmwareListOutput *self
,QmiGasFirmwareListingMode *value_mode
,GError **error
);
Get the 'Mode' field from self
.
self |
||
value_mode |
a placeholder for the output QmiGasFirmwareListingMode, or |
[out][optional] |
error |
Return location for error or |
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_output_get_stored_firmware_1 (QmiMessageGasDmsGetFirmwareListOutput *self
,guint8 *value_stored_firmware_1_index
,const gchar **value_stored_firmware_1_name
,const gchar **value_stored_firmware_1_version
,const gchar **value_stored_firmware_1_pri_revision
,GError **error
);
Get the 'Stored Firmware 1' field from self
.
self |
||
value_stored_firmware_1_index |
a placeholder for the output guint8, or |
[out][optional] |
value_stored_firmware_1_name |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
value_stored_firmware_1_version |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
value_stored_firmware_1_pri_revision |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
error |
Return location for error or |
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_output_get_stored_firmware_2 (QmiMessageGasDmsGetFirmwareListOutput *self
,guint8 *value_stored_firmware_2_index
,const gchar **value_stored_firmware_2_name
,const gchar **value_stored_firmware_2_version
,const gchar **value_stored_firmware_2_pri_revision
,GError **error
);
Get the 'Stored Firmware 2' field from self
.
self |
||
value_stored_firmware_2_index |
a placeholder for the output guint8, or |
[out][optional] |
value_stored_firmware_2_name |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
value_stored_firmware_2_version |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
value_stored_firmware_2_pri_revision |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
error |
Return location for error or |
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_output_get_stored_firmware_3 (QmiMessageGasDmsGetFirmwareListOutput *self
,guint8 *value_stored_firmware_3_index
,const gchar **value_stored_firmware_3_name
,const gchar **value_stored_firmware_3_version
,const gchar **value_stored_firmware_3_pri_revision
,GError **error
);
Get the 'Stored Firmware 3' field from self
.
self |
||
value_stored_firmware_3_index |
a placeholder for the output guint8, or |
[out][optional] |
value_stored_firmware_3_name |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
value_stored_firmware_3_version |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
value_stored_firmware_3_pri_revision |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
error |
Return location for error or |
Since: 1.24
gboolean qmi_message_gas_dms_get_firmware_list_output_get_stored_firmware_4 (QmiMessageGasDmsGetFirmwareListOutput *self
,guint8 *value_stored_firmware_4_index
,const gchar **value_stored_firmware_4_name
,const gchar **value_stored_firmware_4_version
,const gchar **value_stored_firmware_4_pri_revision
,GError **error
);
Get the 'Stored Firmware 4' field from self
.
self |
||
value_stored_firmware_4_index |
a placeholder for the output guint8, or |
[out][optional] |
value_stored_firmware_4_name |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
value_stored_firmware_4_version |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
value_stored_firmware_4_pri_revision |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
error |
Return location for error or |
Since: 1.24
QmiMessageGasDmsGetFirmwareListOutput * qmi_message_gas_dms_get_firmware_list_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageGasDmsGetFirmwareListOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageGasDmsGetFirmwareListOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_gas_dms_get_firmware_list_output_unref()
.
Since: 1.34
void qmi_client_gas_dms_get_firmware_list (QmiClientGas *self
,QmiMessageGasDmsGetFirmwareListInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a DMS Get Firmware List 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_gas_dms_get_firmware_list_finish()
to get the result of the operation.
self |
a QmiClientGas. |
|
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.24
QmiMessageGasDmsGetFirmwareListOutput * qmi_client_gas_dms_get_firmware_list_finish (QmiClientGas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_gas_dms_get_firmware_list()
.
self |
a QmiClientGas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageGasDmsGetFirmwareListOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_gas_dms_get_firmware_list_output_unref()
.
Since: 1.24
typedef struct _QmiMessageGasDmsGetFirmwareListInput QmiMessageGasDmsGetFirmwareListInput;
The QmiMessageGasDmsGetFirmwareListInput structure contains private data and should only be accessed using the provided API.
Since: 1.24
typedef struct _QmiMessageGasDmsGetFirmwareListOutput QmiMessageGasDmsGetFirmwareListOutput;
The QmiMessageGasDmsGetFirmwareListOutput structure contains private data and should only be accessed using the provided API.
Since: 1.24