UIM Slot Status indication

UIM Slot Status indication — Methods to manage the UIM Slot Status indication.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ├── QmiIndicationUimSlotStatusOutput
    ├── QmiPhysicalSlotInformationSlot
    ├── QmiPhysicalSlotStatusSlot
    ╰── QmiSlotEidElement

Description

Collection of methods to parse indications of the UIM Slot Status message.

Functions

qmi_indication_uim_slot_status_output_ref ()

QmiIndicationUimSlotStatusOutput *
qmi_indication_uim_slot_status_output_ref
                               (QmiIndicationUimSlotStatusOutput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .

Since: 1.26


qmi_indication_uim_slot_status_output_unref ()

void
qmi_indication_uim_slot_status_output_unref
                               (QmiIndicationUimSlotStatusOutput *self);

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

Parameters

Since: 1.26


qmi_indication_uim_slot_status_output_get_slot_eid ()

gboolean
qmi_indication_uim_slot_status_output_get_slot_eid
                               (QmiIndicationUimSlotStatusOutput *self,
                                GArray **value_slot_eid,
                                GError **error);

Get the 'Slot EID' field from self .

[skip]

Parameters

self

a QmiIndicationUimSlotStatusOutput.

 

value_slot_eid

a placeholder for the output GArray of QmiSlotEidElement elements, or NULL if not required. Do not free it, it is owned by self .

[out][optional][element-type QmiSlotEidElement][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.32


qmi_indication_uim_slot_status_output_get_slot_eid_gir ()

gboolean
qmi_indication_uim_slot_status_output_get_slot_eid_gir
                               (QmiIndicationUimSlotStatusOutput *self,
                                GPtrArray **value_slot_eid_ptr,
                                GError **error);

Get the 'Slot EID' field from self .

Version of qmi_indication_uim_slot_status_output_get_slot_eid() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

[rename-to qmi_indication_uim_slot_status_output_get_slot_eid]

Parameters

self

a QmiIndicationUimSlotStatusOutput.

 

value_slot_eid_ptr

a placeholder for the output array of QmiSlotEidElement elements, or NULL if not required. Do not free or modify it, it is owned by self .

[out][optional][element-type QmiSlotEidElement][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.32


qmi_indication_uim_slot_status_output_get_physical_slot_information ()

gboolean
qmi_indication_uim_slot_status_output_get_physical_slot_information
                               (QmiIndicationUimSlotStatusOutput *self,
                                GArray **value_physical_slot_information,
                                GError **error);

Get the 'Physical Slot Information' field from self .

[skip]

Parameters

self

a QmiIndicationUimSlotStatusOutput.

 

value_physical_slot_information

a placeholder for the output GArray of QmiPhysicalSlotInformationSlot elements, or NULL if not required. Do not free it, it is owned by self .

[out][optional][element-type QmiPhysicalSlotInformationSlot][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.26


qmi_indication_uim_slot_status_output_get_physical_slot_information_gir ()

gboolean
qmi_indication_uim_slot_status_output_get_physical_slot_information_gir
                               (QmiIndicationUimSlotStatusOutput *self,
                                GPtrArray **value_physical_slot_information_ptr,
                                GError **error);

Get the 'Physical Slot Information' field from self .

Version of qmi_indication_uim_slot_status_output_get_physical_slot_information() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

[rename-to qmi_indication_uim_slot_status_output_get_physical_slot_information]

Parameters

self

a QmiIndicationUimSlotStatusOutput.

 

value_physical_slot_information_ptr

a placeholder for the output array of QmiPhysicalSlotInformationSlot elements, or NULL if not required. Do not free or modify it, it is owned by self .

[out][optional][element-type QmiPhysicalSlotInformationSlot][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.32


qmi_indication_uim_slot_status_output_get_physical_slot_status ()

gboolean
qmi_indication_uim_slot_status_output_get_physical_slot_status
                               (QmiIndicationUimSlotStatusOutput *self,
                                GArray **value_physical_slot_status,
                                GError **error);

Get the 'Physical Slot Status' field from self .

[skip]

Parameters

self

a QmiIndicationUimSlotStatusOutput.

 

value_physical_slot_status

a placeholder for the output GArray of QmiPhysicalSlotStatusSlot elements, or NULL if not required. Do not free it, it is owned by self .

[out][optional][element-type QmiPhysicalSlotStatusSlot][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.26


qmi_indication_uim_slot_status_output_get_physical_slot_status_gir ()

gboolean
qmi_indication_uim_slot_status_output_get_physical_slot_status_gir
                               (QmiIndicationUimSlotStatusOutput *self,
                                GPtrArray **value_physical_slot_status_ptr,
                                GError **error);

Get the 'Physical Slot Status' field from self .

Version of qmi_indication_uim_slot_status_output_get_physical_slot_status() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

[rename-to qmi_indication_uim_slot_status_output_get_physical_slot_status]

Parameters

self

a QmiIndicationUimSlotStatusOutput.

 

value_physical_slot_status_ptr

a placeholder for the output array of QmiPhysicalSlotStatusSlot elements, or NULL if not required. Do not free or modify it, it is owned by self .

[out][optional][element-type QmiPhysicalSlotStatusSlot][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.32


qmi_indication_uim_slot_status_indication_parse ()

QmiIndicationUimSlotStatusOutput *
qmi_indication_uim_slot_status_indication_parse
                               (QmiMessage *message,
                                GError **error);

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

Since: 1.34

Types and Values

QmiIndicationUimSlotStatusOutput

typedef struct _QmiIndicationUimSlotStatusOutput QmiIndicationUimSlotStatusOutput;

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

Since: 1.26


QmiSlotEidElement

typedef struct {
    GArray *eid;
} QmiSlotEidElement;

A QmiSlotEidElement struct.

Members

GArray *eid;

a GArray of guint8 elements.

 

Since: 1.32


QmiPhysicalSlotInformationSlot

typedef struct {
    QmiUimCardProtocol card_protocol;
    guint8 valid_applications;
    GArray *atr_value;
    gboolean is_euicc;
} QmiPhysicalSlotInformationSlot;

A QmiPhysicalSlotInformationSlot struct.

Members

QmiUimCardProtocol card_protocol;

a QmiUimCardProtocol.

 

guint8 valid_applications;

a guint8.

 

GArray *atr_value;

a GArray of guint8 elements.

 

gboolean is_euicc;

a gboolean.

 

Since: 1.26


QmiPhysicalSlotStatusSlot

typedef struct {
    QmiUimPhysicalCardState physical_card_status;
    QmiUimSlotState physical_slot_status;
    guint8 logical_slot;
    GArray *iccid;
} QmiPhysicalSlotStatusSlot;

A QmiPhysicalSlotStatusSlot struct.

Members

QmiUimPhysicalCardState physical_card_status;

a QmiUimPhysicalCardState.

 

QmiUimSlotState physical_slot_status;

a QmiUimSlotState.

 

guint8 logical_slot;

a guint8.

 

GArray *iccid;

a GArray of guint8 elements.

 

Since: 1.26