GAS DMS Get Firmware Auto Sim response: libqmi-glib Reference Manual

## GAS DMS Get Firmware Auto Sim response GAS DMS Get Firmware Auto Sim response — Methods to manage the GAS DMS Get Firmware Auto Sim response. |

## Functions

QmiMessageGasDmsGetFirmwareAutoSimOutput * | qmi_message_gas_dms_get_firmware_auto_sim_output_ref ()
void | qmi_message_gas_dms_get_firmware_auto_sim_output_unref ()
gboolean | qmi_message_gas_dms_get_firmware_auto_sim_output_get_result ()
gboolean | qmi_message_gas_dms_get_firmware_auto_sim_output_get_auto_sim_mode ()
gboolean | qmi_message_gas_dms_get_firmware_auto_sim_output_get_config_id ()
QmiMessageGasDmsGetFirmwareAutoSimOutput * | qmi_message_gas_dms_get_firmware_auto_sim_response_parse ()
void | qmi_client_gas_dms_get_firmware_auto_sim ()
QmiMessageGasDmsGetFirmwareAutoSimOutput * | qmi_client_gas_dms_get_firmware_auto_sim_finish ()

## Types and Values

| QmiMessageGasDmsGetFirmwareAutoSimOutput

## Object Hierarchy

        GBoxed
        ╰── QmiMessageGasDmsGetFirmwareAutoSimOutput

## Description

Collection of methods to create requests and parse responses of the GAS DMS Get Firmware Auto Sim message.

## Functions

### qmi_message_gas_dms_get_firmware_auto_sim_output_ref ()

    QmiMessageGasDmsGetFirmwareAutoSimOutput *
    qmi_message_gas_dms_get_firmware_auto_sim_output_ref
                                   (QmiMessageGasDmsGetFirmwareAutoSimOutput *self);

Atomically increments the reference count of `self` by one.

#### Parameters

self | a QmiMessageGasDmsGetFirmwareAutoSimOutput. |

#### Returns

the new reference to `self` .

Since: 1.36

### qmi_message_gas_dms_get_firmware_auto_sim_output_unref ()

    void
    qmi_message_gas_dms_get_firmware_auto_sim_output_unref
                                   (QmiMessageGasDmsGetFirmwareAutoSimOutput *self);

Atomically decrements the reference count of `self` by one. If the reference count drops to 0, `self` is completely disposed.

#### Parameters

self | a QmiMessageGasDmsGetFirmwareAutoSimOutput. |

Since: 1.36

### qmi_message_gas_dms_get_firmware_auto_sim_output_get_result ()

    gboolean
    qmi_message_gas_dms_get_firmware_auto_sim_output_get_result
                                   (QmiMessageGasDmsGetFirmwareAutoSimOutput *self,
                                    GError **error);

Get the result of the QMI operation.

#### Parameters

self | a QmiMessageGasDmsGetFirmwareAutoSimOutput. |
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the QMI operation succeeded, `FALSE` if `error` is set.

[skip]

Since: 1.36

### qmi_message_gas_dms_get_firmware_auto_sim_output_get_auto_sim_mode ()

    gboolean
    qmi_message_gas_dms_get_firmware_auto_sim_output_get_auto_sim_mode
                                   (QmiMessageGasDmsGetFirmwareAutoSimOutput *self,
                                    QmiGasFirmwareAutoSimMode *value_auto_sim_mode,
                                    GError **error);

Get the 'Auto Sim Mode' field from `self` .

#### Parameters

self | a QmiMessageGasDmsGetFirmwareAutoSimOutput. |
value_auto_sim_mode | a placeholder for the output QmiGasFirmwareAutoSimMode, or `NULL` if not required. | [out][optional]
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the field is found, `FALSE` otherwise.

[skip]

Since: 1.36

### qmi_message_gas_dms_get_firmware_auto_sim_output_get_config_id ()

    gboolean
    qmi_message_gas_dms_get_firmware_auto_sim_output_get_config_id
                                   (QmiMessageGasDmsGetFirmwareAutoSimOutput *self,
                                    guint8 *value_config_id,
                                    GError **error);

Get the 'Config Id' field from `self` .

#### Parameters

self | a QmiMessageGasDmsGetFirmwareAutoSimOutput. |
value_config_id | a placeholder for the output guint8, or `NULL` if not required. | [out][optional]
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the field is found, `FALSE` otherwise.

[skip]

Since: 1.36

### qmi_message_gas_dms_get_firmware_auto_sim_response_parse ()

    QmiMessageGasDmsGetFirmwareAutoSimOutput *
    qmi_message_gas_dms_get_firmware_auto_sim_response_parse
                                   (QmiMessage *message,
                                    GError **error);

Parses a QmiMessage and builds a QmiMessageGasDmsGetFirmwareAutoSimOutput out of it. The operation fails if the message is of the wrong type.

#### Parameters

message | a QmiMessage. |
error | return location for error or `NULL`. |

#### Returns

a QmiMessageGasDmsGetFirmwareAutoSimOutput, or `NULL` if `error` is set. The returned value should be freed with `qmi_message_gas_dms_get_firmware_auto_sim_output_unref()`.

Since: 1.36

### qmi_client_gas_dms_get_firmware_auto_sim ()

    void
    qmi_client_gas_dms_get_firmware_auto_sim
                                   (QmiClientGas *self,
                                    gpointer unused,
                                    guint timeout,
                                    GCancellable *cancellable,
                                    GAsyncReadyCallback callback,
                                    gpointer user_data);

Asynchronously sends a DMS Get Firmware Auto Sim 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_auto_sim_finish()` to get the result of the operation.

#### Parameters

self | a QmiClientGas. |
unused | `NULL`. This message doesn't have any input bundle. |
timeout | maximum time to wait for the method to complete, in seconds. |
cancellable | a GCancellable or `NULL`. |
callback | a GAsyncReadyCallback to call when the request is satisfied. |
user_data | user data to pass to `callback` . |

Since: 1.36

### qmi_client_gas_dms_get_firmware_auto_sim_finish ()

    QmiMessageGasDmsGetFirmwareAutoSimOutput *
    qmi_client_gas_dms_get_firmware_auto_sim_finish
                                   (QmiClientGas *self,
                                    GAsyncResult *res,
                                    GError **error);

Finishes an async operation started with `qmi_client_gas_dms_get_firmware_auto_sim()`.

#### Parameters

self | a QmiClientGas. |
res | the GAsyncResult obtained from the GAsyncReadyCallback passed to `qmi_client_gas_dms_get_firmware_auto_sim()`. |
error | Return location for error or `NULL`. |

#### Returns

a QmiMessageGasDmsGetFirmwareAutoSimOutput, or `NULL` if `error` is set. The returned value should be freed with `qmi_message_gas_dms_get_firmware_auto_sim_output_unref()`.

Since: 1.36

## Types and Values

### QmiMessageGasDmsGetFirmwareAutoSimOutput

    typedef struct _QmiMessageGasDmsGetFirmwareAutoSimOutput QmiMessageGasDmsGetFirmwareAutoSimOutput;

The QmiMessageGasDmsGetFirmwareAutoSimOutput structure contains private data and should only be accessed using the provided API.

Since: 1.36