| Top |  |  |  |  | 
| GAS DMS Set Active Firmware responseGAS DMS Set Active Firmware response — Methods to manage the GAS DMS Set Active Firmware response. | 
GBoxed ├── QmiMessageGasDmsSetActiveFirmwareInput ╰── QmiMessageGasDmsSetActiveFirmwareOutput
Collection of methods to create requests and parse responses of the GAS DMS Set Active Firmware message.
QmiMessageGasDmsSetActiveFirmwareInput *
qmi_message_gas_dms_set_active_firmware_input_new
                               (void);
Allocates a new QmiMessageGasDmsSetActiveFirmwareInput.
 the newly created QmiMessageGasDmsSetActiveFirmwareInput. The returned value should be freed with qmi_message_gas_dms_set_active_firmware_input_unref().
Since: 1.24
QmiMessageGasDmsSetActiveFirmwareInput *
qmi_message_gas_dms_set_active_firmware_input_ref
                               (QmiMessageGasDmsSetActiveFirmwareInput *self);
Atomically increments the reference count of self
 by one.
Since: 1.24
void
qmi_message_gas_dms_set_active_firmware_input_unref
                               (QmiMessageGasDmsSetActiveFirmwareInput *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_set_active_firmware_input_get_version (QmiMessageGasDmsSetActiveFirmwareInput *self,const gchar **value_version,GError **error);
Get the 'Version' field from self
.
| self | ||
| value_version | 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_set_active_firmware_input_set_version (QmiMessageGasDmsSetActiveFirmwareInput *self,const gchar *value_version,GError **error);
Set the 'Version' field in the message.
Since: 1.24
gboolean qmi_message_gas_dms_set_active_firmware_input_get_slot_index (QmiMessageGasDmsSetActiveFirmwareInput *self,guint8 *value_slot_index,GError **error);
Get the 'Slot Index' field from self
.
| self | ||
| value_slot_index | a placeholder for the output guint8, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.24
gboolean qmi_message_gas_dms_set_active_firmware_input_set_slot_index (QmiMessageGasDmsSetActiveFirmwareInput *self,guint8 value_slot_index,GError **error);
Set the 'Slot Index' field in the message.
Since: 1.24
gboolean qmi_message_gas_dms_set_active_firmware_input_get_carrier_name (QmiMessageGasDmsSetActiveFirmwareInput *self,const gchar **value_carrier_name,GError **error);
Get the 'Carrier Name' field from self
.
| self | ||
| value_carrier_name | 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_set_active_firmware_input_set_carrier_name (QmiMessageGasDmsSetActiveFirmwareInput *self,const gchar *value_carrier_name,GError **error);
Set the 'Carrier Name' field in the message.
Since: 1.24
QmiMessageGasDmsSetActiveFirmwareOutput *
qmi_message_gas_dms_set_active_firmware_output_ref
                               (QmiMessageGasDmsSetActiveFirmwareOutput *self);
Atomically increments the reference count of self
 by one.
Since: 1.24
void
qmi_message_gas_dms_set_active_firmware_output_unref
                               (QmiMessageGasDmsSetActiveFirmwareOutput *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_set_active_firmware_output_get_result (QmiMessageGasDmsSetActiveFirmwareOutput *self,GError **error);
Get the result of the QMI operation.
Since: 1.24
QmiMessageGasDmsSetActiveFirmwareOutput * qmi_message_gas_dms_set_active_firmware_response_parse (QmiMessage *message,GError **error);
Parses a QmiMessage and builds a QmiMessageGasDmsSetActiveFirmwareOutput out of it. The operation fails if the message is of the wrong type.
 a QmiMessageGasDmsSetActiveFirmwareOutput, or NULL if error
is set. The returned value should be freed with qmi_message_gas_dms_set_active_firmware_output_unref().
Since: 1.34
void qmi_client_gas_dms_set_active_firmware (QmiClientGas *self,QmiMessageGasDmsSetActiveFirmwareInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a DMS Set Active Firmware 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_set_active_firmware_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
QmiMessageGasDmsSetActiveFirmwareOutput * qmi_client_gas_dms_set_active_firmware_finish (QmiClientGas *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_gas_dms_set_active_firmware().
| self | a QmiClientGas. | |
| res | the GAsyncResult obtained from the GAsyncReadyCallback passed to  | |
| error | Return location for error or  | 
 a QmiMessageGasDmsSetActiveFirmwareOutput, or NULL if error
is set. The returned value should be freed with qmi_message_gas_dms_set_active_firmware_output_unref().
Since: 1.24
typedef struct _QmiMessageGasDmsSetActiveFirmwareInput QmiMessageGasDmsSetActiveFirmwareInput;
The QmiMessageGasDmsSetActiveFirmwareInput structure contains private data and should only be accessed using the provided API.
Since: 1.24
typedef struct _QmiMessageGasDmsSetActiveFirmwareOutput QmiMessageGasDmsSetActiveFirmwareOutput;
The QmiMessageGasDmsSetActiveFirmwareOutput structure contains private data and should only be accessed using the provided API.
Since: 1.24