ATR Received indication: libqmi-glib Reference Manual

## ATR Received indication ATR Received indication — Methods to manage the ATR Received indication. |

## Functions

QmiIndicationAtrReceivedOutput * | qmi_indication_atr_received_output_ref ()
void | qmi_indication_atr_received_output_unref ()
gboolean | qmi_indication_atr_received_output_get_message ()
QmiIndicationAtrReceivedOutput * | qmi_indication_atr_received_indication_parse ()

## Types and Values

| QmiIndicationAtrReceivedOutput

## Object Hierarchy

        GBoxed
        ╰── QmiIndicationAtrReceivedOutput

## Description

Collection of methods to parse indications of the ATR Received message.

## Functions

### qmi_indication_atr_received_output_ref ()

    QmiIndicationAtrReceivedOutput *
    qmi_indication_atr_received_output_ref
                                   (QmiIndicationAtrReceivedOutput *self);

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

#### Parameters

self | a QmiIndicationAtrReceivedOutput. |

#### Returns

the new reference to `self` .

Since: 1.34

### qmi_indication_atr_received_output_unref ()

    void
    qmi_indication_atr_received_output_unref
                                   (QmiIndicationAtrReceivedOutput *self);

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

#### Parameters

self | a QmiIndicationAtrReceivedOutput. |

Since: 1.34

### qmi_indication_atr_received_output_get_message ()

    gboolean
    qmi_indication_atr_received_output_get_message
                                   (QmiIndicationAtrReceivedOutput *self,
                                    const gchar **value_message,
                                    GError **error);

Get the 'Message' field from `self` .

#### Parameters

self | a QmiIndicationAtrReceivedOutput. |
value_message | a placeholder for the output constant string, or `NULL` if not required. | [out][optional][transfer none]
error | Return location for error or `NULL`. |

#### Returns

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

[skip]

Since: 1.34

### qmi_indication_atr_received_indication_parse ()

    QmiIndicationAtrReceivedOutput *
    qmi_indication_atr_received_indication_parse
                                   (QmiMessage *message,
                                    GError **error);

Parses a QmiMessage and builds a QmiIndicationAtrReceivedOutput 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 QmiIndicationAtrReceivedOutput, or `NULL` if `error` is set. The returned value should be freed with `qmi_indication_atr_received_output_unref()`.

Since: 1.34

## Types and Values

### QmiIndicationAtrReceivedOutput

    typedef struct _QmiIndicationAtrReceivedOutput QmiIndicationAtrReceivedOutput;

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

Since: 1.34