7¤0ìê®7:5¸Òäüÿÿÿÿÿÿÿïo·íQ2ù´vä"ðØMMU9‚Øº²Ùü¡eI’2Ù¡Áa ½ E   ˆJ„’‰L&Š¢ô€†ÅCJÆ„„ÃCCCc¡H$Ä�0ƒqÆ‘(P²Nr  ”Ö¤2                     _refresh_output_unref().
 *
 * Since: 1.34
 */
QmiIndicationUimRefreshOutput *qmi_indication_uim_refresh_indication_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* INDICATION: Qmi Indication UIM Slot Status */


/**
 * SECTION: qmi-indication-uim-slot-status
 * @title: UIM Slot Status indication
 * @short_description: Methods to manage the UIM Slot Status indication.
 *
 * Collection of methods to parse indications of the UIM Slot Status message.
 */

/* --- Output -- */


/**
 * QmiSlotEidElement:
 * @eid: a #GArray of #guint8 elements.
 *
 * A QmiSlotEidElement struct.
 *
 * Since: 1.32
 */
typedef struct _QmiSlotEidElement {
    GArray *eid;
} QmiSlotEidElement;

GType qmi_slot_eid_element_get_type (void) G_GNUC_CONST;


/*ENERAL_USER_DATA_SIZE_ERROR                = 0x69,
    QMI_WMS_CDMA_CAUSE_CODE_GENERAL_OTHER                               = 0x6A
} QmiWmsCdmaCauseCode;

/**
 * QmiWmsCdmaErrorClass:
 * @QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY: Temporary error reported by network.
 * @QMI_WMS_CDMA_ERROR_CLASS_PERMANENT: Permanent error reported by network.
 * @QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY_DEVICE: Temporary error reported by device. Since 1.28.
 * @QMI_WMS_CDMA_ERROR_CLASS_PERMANENT_DEVICE: Permanent error reported by device. Since 1.28.
 *
 * Error class reported from the network when failed to send an SMS in CDMA,
 * or reported by the device when failed to process a transfer-only CDMA message.
 *
 * Since: 1.0
 */
typedef enum { /*< since=1.0 >*/
    QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY        = 0x00,
    QMI_WMS_CDMA_ERROR_CLASS_PERMANENT        = 0x01,
    QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY_DEVICE = 0x02,
    QMI_WMS_CDMA_ERROR_CLASS_PERMANENT_DEVICE = 0x03,
} QmiWmsCdmaErrorClass;

/**
 * QmiWmsGsmUmtsRpCause:
 * @QMI_WMS_GSM_UMTS_RP_CAUSE_UNASSIGNED_NUMBER: Unassigned number.
 * @QMI_WMS_GSM_UMTS_RP_CAUSE_OPERATOR_DETERMINED_BARRING: Operator determined barring.
 * @QMI_WMS_GSM_UMTS_RP_CAUSE_CALL_BARRED: Call barred.
 * @QMI_WMS_GSM_UMTS_RP_CAUSE_RESERVED: Reserved.
 * @QMI_WMS_GSM_UMTS_RP_CAUSE_SMS_TRANSFER_REJECTED: SMS transfer rejected.
 * @QMI_WMS_GSM_UMTS_RP_CAUSE_MEMORY_CAPACITY_EXCEEDED: Memory capacity exceeded.
 * @QMI_WMS_GSM_UMTS_RP_CAUSE_DESTINATION_OUT_OF_ORDER: Destination out of ordge_wds_get_default_profile_number_finish)
QmiDeprecatedMessageWdsGetDefaultProfileNumOutput *qmi_client_wds_get_default_profile_num_finish (
    QmiClientWds *self,
    GAsyncResult *res,
    GError **error);

#endif /* HAVE_QMI_MESSAGE_WDS_GET_DEFAULT_PROFILE_NUMBER */

#if defined HAVE_QMI_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUMBER

/**
 * QmiMessageWdsSetDefaultProfileNumInput:
 *
 * The #QmiMessageWdsSetDefaultProfileNumInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.22
 * Deprecated: 1.28. Use #QmiMessageWdsSetDefaultProfileNumberInput instead.
 */
typedef QmiMessageWdsSetDefaultProfileNumberInput QmiDeprecatedMessageWdsSetDefaultProfileNumInput;
G_DEPRECATED_FOR (QmiMessageWdsSetDefaultProfileNumberInput)
typedef QmiDeprecatedMessageWdsSetDefaultProfileNumInput QmiMessageWdsSetDefaultProfileNumInput;

#define QMI_TYPE_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUM_INPUT QMI_TYPE_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUMBER_INPUT

G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_input_get_type)
GType qmi_message_wds_set_default_profile_num_input_get_type (void) G_GNUC_CONST;

/**
 * qmi_message_wds_set_default_profile_num_input_get_profile_identifier:
 * @self: a #QmiMessageWdsSetDefaultProfileNumInput.
 * @value_profile_identifier_profile_type: (out): a placeholder for the output #QmiWdsProfileType, or %NULL if not required.
 * @value_profile_identifier_profile_family: (out): a placeholder for the output #QmiWdsProfileFamily, or %* @plmn: a string of exactly 3 characters.
 * @lac: a #guint16.
 * @geran_absolute_rf_channel_number: a #guint16.
 * @base_station_identity_code: a #guint8.
 * @rx_level: a #guint16.
 *
 * GERAN info cell.
 *
 * This type is deprecated and returns always an empty @plmn string.
 *
 * Since: 1.10
 * Deprecated: 1.26.6.
 */
G_DEPRECATED
typedef struct _QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement {
    guint32 cell_id;
    gchar *plmn;
    guint16 lac;
    guint16 geran_absolute_rf_channel_number;
    guint8 base_station_identity_code;
    guint16 rx_level;
} QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement;

/**
 * QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement:
 *
 * Intra-frequency LTE info cell.
 *
 * The format of this deprecated type is really the same as for the
 * new #QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement type,
 * it is only a name change.
 *
 * Since: 1.10
 * Deprecated: 1.26.6. Use #QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement instead.
 */
G_DEPRECATED_FOR (QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement)
typedef QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement;

/**
 * qmi_message_nas_get_cell_location_info_output_get_intrafrequency_lte_info:
 * @self: a #QmiMessageNasGetCellLocationInfoOutput.
 * @value_intrafrequency_lte_info_ue_in_idle: (out): a plnt string.
 * @error: Return location for error or %NULL.
 *
 * Set the 'Session Information' field in the message.
 *
 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
 *
 * Since: 1.14
 * Deprecated: 1.22: Use qmi_message_uim_change_pin_input_set_session() instead.
 */
G_DEPRECATED_FOR (qmi_message_uim_change_pin_input_set_session)
gboolean qmi_message_uim_change_pin_input_set_session_information (
    QmiMessageUimChangePinInput *self,
    QmiUimSessionType value_session_information_session_type,
    const gchar *value_session_information_application_identifier,
    GError **error);

#endif /* HAVE_QMI_MESSAGE_UIM_CHANGE_PIN */

#if defined HAVE_QMI_MESSAGE_DMS_FOXCONN_GET_FIRMWARE_VERSION

/**
 * QmiMessageDmsDellGetFirmwareVersionInput:
 *
 * The #QmiMessageDmsDellGetFirmwareVersionInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.22.4
 * Deprecated: 1.26: Use #QmiMessageDmsFoxconnGetFirmwareVersionInput instead.
 */
typedef QmiMessageDmsFoxconnGetFirmwareVersionInput QmiDeprecatedMessageDmsDellGetFirmwareVersionInput;
G_DEPRECATED_FOR (QmiMessageDmsFoxconnGetFirmwareVersionInput)
typedef QmiDeprecatedMessageDmsDellGetFirmwareVersionInput QmiMessageDmsDellGetFirmwareVersionInput;

#define QMI_TYPE_MESSAGE_DMS_DELL_GET_FIRMWARE_VERSION_INPUT QMI_TYPE_MESSAGE_DMS_FOXCONN_GET_FIRMWARE_VERSION_INPUT

G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_input_get_type)
GType qmi_message_dms_dell_get_fi22.4
 * Deprecated: 1.26: Use qmi_dms_foxconn_device_mode_get_string() instead.
 */
G_DEPRECATED_FOR (qmi_dms_foxconn_device_mode_get_string)
const gchar *qmi_dms_dell_device_mode_get_string (QmiDeprecatedDmsDellDeviceMode val);


/**
 * QmiWdsGetCurrentSettingsRequestedSettings:
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_NONE: no settings requested
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PROFILE_ID: request profile ID
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PROFILE_NAME: request profile name
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PDP_TYPE: request PDP context type
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_APN_NAME: request APN name
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DNS_ADDRESS: request DNS server addresses
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GRANTED_QOS: request granted QoS
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_USERNAME: request username
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_AUTH_PROTOCOL: request authentication protocol, ie PAP/CHAP/none.
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_ADDRESS: request IP address
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GATEWAY_INFO: request gateway address
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_ADDRESS: request PCSCF address
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_SERVER_ADDRESS_LIST: request PCSCF server address list
 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_DOMAIocation for error or %NULL.
 *
 * Finishes an operation started with qmi_device_command().
 *
 * Returns: (transfer full): a #QmiMessage response, or %NULL if @error is set. The returned value should be freed with qmi_message_unref().
 *
 * Since: 1.0
 * Deprecated: 1.18. Use qmi_device_command_full_finish() instead.
 */
G_DEPRECATED_FOR (qmi_device_command_full_finish)
QmiMessage  *qmi_device_command_finish (QmiDevice     *self,
                                        GAsyncResult  *res,
                                        GError       **error);

/**
 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT:
 *
 * Address is valid but not yet allocated.
 *
 * Since: 1.0
 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT name instead.
 */
G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
#define QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT

/**
 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE:
 *
 * Address is invalid.
 *
 * Since: 1.0
 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE name instead.
 */
G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
#define QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE

/**
 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE:
 *
 * Network resource shortage.
 *d after the 2 bytes
 * read.
 *
 * Since: 1.0
 * Deprecated: 1.12: Use qmi_message_tlv_read_gint16() instead.
 */
G_DEPRECATED_FOR (qmi_message_tlv_read_gint16)
void qmi_utils_read_gint16_from_buffer  (const guint8 **buffer,
                                         guint16       *buffer_size,
                                         QmiEndian      endian,
                                         gint16        *out);

/**
 * qmi_utils_read_guint32_from_buffer:
 * @buffer: a buffer with raw binary data.
 * @buffer_size: size of @buffer.
 * @endian: endianness of firmware value; swapped to host byte order if necessary
 * @out: return location for the read variable.
 *
 * Reads an unsigned 32-bit integer from the buffer. The number in the buffer is
 * expected to be given in the byte order specified by @endian, and this method
 * takes care of converting the read value to the proper host endianness.
 *
 * The user needs to make sure that at least 4 bytes are available
 * in the buffer.
 *
 * Also note that both @buffer and @buffer_size get updated after the 4 bytes
 * read.
 *
 * Since: 1.0
 * Deprecated: 1.12: Use qmi_message_tlv_read_guint32() instead.
 */
G_DEPRECATED_FOR (qmi_message_tlv_read_guint32)
void qmi_utils_read_guint32_from_buffer (const guint8 **buffer,
                                         guint16       *buffer_size,
                                         QmiEndian      endian,
                                         guint32       *out);

/**
 * qmi_utils_read_gint32_fN_STATUS_GENERAL_FAILURE: General Failure.
 * @QMI_LOC_SESSION_STATUS_TIMEOUT: Timeout.
 * @QMI_LOC_SESSION_STATUS_USER_ENDED: User ended.
 * @QMI_LOC_SESSION_STATUS_BAD_PARAMETER: Bad Parameter.
 * @QMI_LOC_SESSION_STATUS_PHONE_OFFLINE: Phone is offline.
 * @QMI_LOC_SESSION_STATUS_ENGINE_LOCKED: Engine is locked.
 *
 * Status of a received session indication.
 *
 * Since 1.22
 */
typedef enum { /*< since=1.22 >*/
    QMI_LOC_SESSION_STATUS_SUCCESS         = 0,
    QMI_LOC_SESSION_STATUS_IN_PROGRESS     = 1,
    QMI_LOC_SESSION_STATUS_GENERAL_FAILURE = 2,
    QMI_LOC_SESSION_STATUS_TIMEOUT         = 3,
    QMI_LOC_SESSION_STATUS_USER_ENDED      = 4,
    QMI_LOC_SESSION_STATUS_BAD_PARAMETER   = 5,
    QMI_LOC_SESSION_STATUS_PHONE_OFFLINE   = 6,
    QMI_LOC_SESSION_STATUS_ENGINE_LOCKED   = 6,
} QmiLocSessionStatus;

/**
 * QmiLocFixRecurrenceType:
 * @QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_PERIODIC_FIXES: Periodic fixes.
 * @QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_SINGLE_FIX: Single fix.
 *
 * Whether to request a single or periodic fixes.
 *
 * Since 1.22
 */
typedef enum { /*< since=1.22 >*/
    QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_PERIODIC_FIXES = 1,
    QMI_LOC_FIX_RECURRENCE_TYPE_REQUEST_SINGLE_FIX     = 2,
} QmiLocFixRecurrenceType;

/**
 * QmiLocOperationMode:
 * @QMI_LOC_OPERATION_MODE_DEFAULT: Default.
 * @QMI_LOC_OPERATION_MODE_MSB: Mobile Station Based (MSB) A-GPS.
 * @QMI_LOC_OPERATION_MODE_MSA: Mobile Station Assisted (MSA) A-GPS.
 * @QMI_LOC_OPERATION_MODE_STANDALONE: Standalone.
 *value should be freed with qmi_message_dsd_get_apn_info_output_unref().
 *
 * Since: 1.34
 */
QmiMessageDsdGetApnInfoOutput *qmi_message_dsd_get_apn_info_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message DSD Set APN Type */


/**
 * SECTION: qmi-message-dsd-set-apn-type
 * @title: DSD Set APN Type response
 * @short_description: Methods to manage the DSD Set APN Type response.
 *
 * Collection of methods to create requests and parse responses of the DSD Set APN Type message.
 */

/* --- Input -- */

/**
 * QmiMessageDsdSetApnTypeInput:
 *
 * The #QmiMessageDsdSetApnTypeInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.26
 */
typedef struct _QmiMessageDsdSetApnTypeInput QmiMessageDsdSetApnTypeInput;
GType qmi_message_dsd_set_apn_type_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_DSD_SET_APN_TYPE_INPUT (qmi_message_dsd_set_apn_type_input_get_type ())


/**
 * qmi_message_dsd_set_apn_type_input_get_apn_type_preference_mask:
 * @self: a #QmiMessageDsdSetApnTypeInput.
 * @value_apn_type_preference_mask: (out)(optional): a placeholder for the output #QmiDsdApnTypePreference, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'APN Type Preference Mask' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.26
 */
gutput out of it.
 * The operation fails if the message is of the wrong type.
 *
 * Returns: a #QmiIndicationDsdSystemStatusOutput, or %NULL if @error is set. The returned value should be freed with qmi_indication_dsd_system_status_output_unref().
 *
 * Since: 1.34
 */
QmiIndicationDsdSystemStatusOutput *qmi_indication_dsd_system_status_indication_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message DSD Get System Status */


/**
 * SECTION: qmi-message-dsd-get-system-status
 * @title: DSD Get System Status response
 * @short_description: Methods to manage the DSD Get System Status response.
 *
 * Collection of methods to create requests and parse responses of the DSD Get System Status message.
 */

/* --- Input -- */

/* Note: no fields in the Input container */

/* --- Output -- */


/**
 * QmiMessageDsdGetSystemStatusOutputAvailableSystemsSystem:
 * @technology: a #QmiDsdDataSystemNetworkType.
 * @rat: a #QmiDsdRadioAccessTechnology.
 * @so_mask: a #QmiDsdSoMask.
 *
 * A QmiMessageDsdGetSystemStatusOutputAvailableSystemsSystem struct.
 *
 * Since: 1.32
 */
typedef struct _QmiMessageDsdGetSystemStatusOutputAvailableSystemsSystem {
    QmiDsdDataSystemNetworkType technology;
    QmiDsdRadioAccessTechnology rat;
    QmiDsdSoMask so_mask;
} QmiMessageDsdGetSystemStatusOutputAvailableSystemsSystem;

GType qmi_message_dsd_get_system_status_output_available_systems_system_get_tyEJECT_CAUSE_CS_DOMAIN_NOT_AVAILABLE                    = 0x12,
    QMI_NAS_REJECT_CAUSE_ESM_FAILURE                                = 0x13,
    QMI_NAS_REJECT_CAUSE_MAC_FAILURE                                = 0x14,
    QMI_NAS_REJECT_CAUSE_SYNCH_FAILURE                              = 0x15,
    QMI_NAS_REJECT_CAUSE_CONGESTION                                 = 0x16,
    QMI_NAS_REJECT_CAUSE_UE_SECURITY_CAPABILITIES_MISMATCH          = 0x17,
    QMI_NAS_REJECT_CAUSE_SECURITY_MODE_REJECTED_UNSPECIFIED         = 0x18,
    QMI_NAS_REJECT_CAUSE_CSG_NOT_AUTHORIZED                         = 0x19,
    QMI_NAS_REJECT_CAUSE_NON_EPS_AUTHENTICATION_UNACCEPTABLE        = 0x1A,
    QMI_NAS_REJECT_CAUSE_SMS_PROVIDED_BY_GPRS_IN_ROUTING_AREA       = 0x1C,
    QMI_NAS_REJECT_CAUSE_REDIRECTION_TO_5GCN_REQUIRED               = 0x1F,
    QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_NOT_SUPPORTED               = 0x20,
    QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED    = 0x21,
    QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER    = 0x22,
    QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_AUTHORIZED    = 0x23,
    QMI_NAS_REJECT_CAUSE_CALL_CANNOT_BE_IDENTIFIED                  = 0x26,
    QMI_NAS_REJECT_CAUSE_CS_SERVICE_TEMPORARILY_NOT_AVAILABLE       = 0x27,
    QMI_NAS_REJECT_CAUSE_NO_EPS_BEARER_CONTEXT_ACTIVATED            = 0x28,
    QMI_NAS_REJECT_CAUSE_SEVERE_NETWORK_FAILURE                     = 0x2A,
    QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_0           = 0x30,
    FERENCE_GSM: GSM first, then WCDMA.
 * @QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_WCDMA: WCDMA first, then GSM.
 *
 * GSM/WCDMA acquisition order preference.
 *
 * Since: 1.0
 */
typedef enum { /*< since=1.0 >*/
    QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_AUTOMATIC = 0x00,
    QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_GSM       = 0x01,
    QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_WCDMA     = 0x02
} QmiNasGsmWcdmaAcquisitionOrderPreference;

/**
 * QmiNasTdScdmaBandPreference:
 * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_A: Band A.
 * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_B: Band B.
 * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_C: Band C.
 * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_D: Band D.
 * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_E: Band E.
 * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_F: Band F.
 *
 * Flags to specify TD-SCDMA-specific frequency band preferences.
 *
 * Since: 1.0
 */
typedef enum { /*< since=1.0 >*/
    QMI_NAS_TD_SCDMA_BAND_PREFERENCE_A = 1 << 0,
    QMI_NAS_TD_SCDMA_BAND_PREFERENCE_B = 1 << 1,
    QMI_NAS_TD_SCDMA_BAND_PREFERENCE_C = 1 << 2,
    QMI_NAS_TD_SCDMA_BAND_PREFERENCE_D = 1 << 3,
    QMI_NAS_TD_SCDMA_BAND_PREFERENCE_E = 1 << 4,
    QMI_NAS_TD_SCDMA_BAND_PREFERENCE_F = 1 << 5
} QmiNasTdScdmaBandPreference;

/**
 * QmiNasVoiceDomainPreference:
 * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_ONLY: Circuit-switched voice only
 * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_ONLY: Packet-switched voice only.
 * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_PREFERRED: Circuit-switched voice is preferred.
 *EGISTERED               = 0x01,
    QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 0x02,
    QMI_NAS_REGISTRATION_STATE_REGISTRATION_DENIED      = 0x03,
    QMI_NAS_REGISTRATION_STATE_UNKNOWN                  = 0x04
} QmiNasRegistrationState;

/**
 * QmiNasAttachState:
 * @QMI_NAS_ATTACH_STATE_UNKNOWN: Unknown attach state.
 * @QMI_NAS_ATTACH_STATE_ATTACHED: Attached.
 * @QMI_NAS_ATTACH_STATE_DETACHED: Detached.
 *
 * Domain attach state.
 *
 * Since: 1.0
 */
typedef enum { /*< since=1.0 >*/
    QMI_NAS_ATTACH_STATE_UNKNOWN  = 0x00,
    QMI_NAS_ATTACH_STATE_ATTACHED = 0x01,
    QMI_NAS_ATTACH_STATE_DETACHED = 0x02,
} QmiNasAttachState;

/**
 * QmiNasNetworkType:
 * @QMI_NAS_NETWORK_TYPE_UNKNOWN: Unknown.
 * @QMI_NAS_NETWORK_TYPE_3GPP2: 3GPP2 network.
 * @QMI_NAS_NETWORK_TYPE_3GPP: 3GPP network.
 *
 * Type of network.
 *
 * Since: 1.0
 */
typedef enum { /*< since=1.0 >*/
    QMI_NAS_NETWORK_TYPE_UNKNOWN = 0x00,
    QMI_NAS_NETWORK_TYPE_3GPP2   = 0x01,
    QMI_NAS_NETWORK_TYPE_3GPP    = 0x02,
} QmiNasNetworkType;

/**
 * QmiNasRoamingIndicatorStatus:
 * @QMI_NAS_ROAMING_INDICATOR_STATUS_ON: Roaming.
 * @QMI_NAS_ROAMING_INDICATOR_STATUS_OFF: Home.
 *
 * Status of the roaming indication.
 *
 * Since: 1.0
 */
typedef enum { /*< since=1.0 >*/
    QMI_NAS_ROAMING_INDICATOR_STATUS_ON  = 0x00,
    QMI_NAS_ROAMING_INDICATOR_STATUS_OFF = 0x01,
    /* next values only for 3GPP2 */
} QmiNasRoamingIndicatorStatus;

/**
 * QmiNasDataCapability:
 * @QMI_NAS_DATA_CAPABILITY_NONE: None or unknown.CE_TD_SCDMA    = 0x09,
    QMI_NAS_RADIO_INTERFACE_5GNR        = 0x0C,
} QmiNasRadioInterface;

/**
 * QmiNasActiveBand:
 * @QMI_NAS_ACTIVE_BAND_BC_0: Band class 0.
 * @QMI_NAS_ACTIVE_BAND_BC_1: Band class 1.
 * @QMI_NAS_ACTIVE_BAND_BC_2: Band class 2.
 * @QMI_NAS_ACTIVE_BAND_BC_3: Band class 3.
 * @QMI_NAS_ACTIVE_BAND_BC_4: Band class 4.
 * @QMI_NAS_ACTIVE_BAND_BC_5: Band class 5.
 * @QMI_NAS_ACTIVE_BAND_BC_6: Band class 6.
 * @QMI_NAS_ACTIVE_BAND_BC_7: Band class 7.
 * @QMI_NAS_ACTIVE_BAND_BC_8: Band class 8.
 * @QMI_NAS_ACTIVE_BAND_BC_9: Band class 9.
 * @QMI_NAS_ACTIVE_BAND_BC_10: Band class 10.
 * @QMI_NAS_ACTIVE_BAND_BC_11: Band class 11.
 * @QMI_NAS_ACTIVE_BAND_BC_12: Band class 12.
 * @QMI_NAS_ACTIVE_BAND_BC_13: Band class 13.
 * @QMI_NAS_ACTIVE_BAND_BC_14: Band class 14.
 * @QMI_NAS_ACTIVE_BAND_BC_15: Band class 15.
 * @QMI_NAS_ACTIVE_BAND_BC_16: Band class 16.
 * @QMI_NAS_ACTIVE_BAND_BC_17: Band class 17.
 * @QMI_NAS_ACTIVE_BAND_BC_18: Band class 18.
 * @QMI_NAS_ACTIVE_BAND_BC_19: Band class 19.
 * @QMI_NAS_ACTIVE_BAND_GSM_450: GSM 450.
 * @QMI_NAS_ACTIVE_BAND_GSM_480: GSM 480.
 * @QMI_NAS_ACTIVE_BAND_GSM_750: GSM 750.
 * @QMI_NAS_ACTIVE_BAND_GSM_850: GSM 850.
 * @QMI_NAS_ACTIVE_BAND_GSM_900_EXTENDED: GSM 900 (Extended).
 * @QMI_NAS_ACTIVE_BAND_GSM_900_PRIMARY: GSM 900 (Primary).
 * @QMI_NAS_ACTIVE_BAND_GSM_900_RAILWAYS: GSM 900 (Railways).
 * @QMI_NAS_ACTIVE_BAND_GSM_DCS_1800: GSM 1800.
 * @QMI_NAS_ACTIVE_BAND_GSM_PCS_1900: GSM 1900.
 * @QMI_NAS_ACTIVE_BAND_WCDMA_2100: WCDMA essageDmsGetOperatingModeOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_dms_get_operating_mode_output_unref().
 *
 * Since: 1.34
 */
QmiMessageDmsGetOperatingModeOutput *qmi_message_dms_get_operating_mode_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message DMS Set Operating Mode */


/**
 * SECTION: qmi-message-dms-set-operating-mode
 * @title: DMS Set Operating Mode response
 * @short_description: Methods to manage the DMS Set Operating Mode response.
 *
 * Collection of methods to create requests and parse responses of the DMS Set Operating Mode message.
 */

/* --- Input -- */

/**
 * QmiMessageDmsSetOperatingModeInput:
 *
 * The #QmiMessageDmsSetOperatingModeInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.0
 */
typedef struct _QmiMessageDmsSetOperatingModeInput QmiMessageDmsSetOperatingModeInput;
GType qmi_message_dms_set_operating_mode_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_DMS_SET_OPERATING_MODE_INPUT (qmi_message_dms_set_operating_mode_input_get_type ())


/**
 * qmi_message_dms_set_operating_mode_input_get_mode:
 * @self: a #QmiMessageDmsSetOperatingModeInput.
 * @value_mode: (out)(optional): a placeholder for the output #QmiDmsOperatingMode, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Mode' fge_dms_uim_unblock_pin_input_unref().
 *
 * Since: 1.0
 */
QmiMessageDmsUimUnblockPinInput *qmi_message_dms_uim_unblock_pin_input_new (void);

/* --- Output -- */

/**
 * QmiMessageDmsUimUnblockPinOutput:
 *
 * The #QmiMessageDmsUimUnblockPinOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.0
 */
typedef struct _QmiMessageDmsUimUnblockPinOutput QmiMessageDmsUimUnblockPinOutput;
GType qmi_message_dms_uim_unblock_pin_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_DMS_UIM_UNBLOCK_PIN_OUTPUT (qmi_message_dms_uim_unblock_pin_output_get_type ())


/**
 * qmi_message_dms_uim_unblock_pin_output_get_result:
 * @self: a QmiMessageDmsUimUnblockPinOutput.
 * @error: Return location for error or %NULL.
 *
 * Get the result of the QMI operation.
 *
 * Returns: (skip): %TRUE if the QMI operation succeeded, %FALSE if @error is set.
 *
 * Since: 1.0
 */
gboolean qmi_message_dms_uim_unblock_pin_output_get_result (
    QmiMessageDmsUimUnblockPinOutput *self,
    GError **error);


/**
 * qmi_message_dms_uim_unblock_pin_output_get_pin_retries_status:
 * @self: a #QmiMessageDmsUimUnblockPinOutput.
 * @value_pin_retries_status_verify_retries_left: (out)(optional): a placeholder for the output #guint8, or %NULL if not required.
 * @value_pin_retries_status_unblock_retries_left: (out)(optional): a placeholder for the output #guint8, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Pin Retries Statushods to manage the DMS UIM Verify PIN response.
 *
 * Collection of methods to create requests and parse responses of the DMS UIM Verify PIN message.
 */

/* --- Input -- */

/**
 * QmiMessageDmsUimVerifyPinInput:
 *
 * The #QmiMessageDmsUimVerifyPinInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.0
 */
typedef struct _QmiMessageDmsUimVerifyPinInput QmiMessageDmsUimVerifyPinInput;
GType qmi_message_dms_uim_verify_pin_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_DMS_UIM_VERIFY_PIN_INPUT (qmi_message_dms_uim_verify_pin_input_get_type ())


/**
 * qmi_message_dms_uim_verify_pin_input_get_info:
 * @self: a #QmiMessageDmsUimVerifyPinInput.
 * @value_info_pin_id: (out)(optional): a placeholder for the output #QmiDmsUimPinId, or %NULL if not required.
 * @value_info_pin: (out)(optional)(transfer none): a placeholder for the output constant string, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Info' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.0
 */
gboolean qmi_message_dms_uim_verify_pin_input_get_info (
    QmiMessageDmsUimVerifyPinInput *self,
    QmiDmsUimPinId *value_info_pin_id,
    const gchar **value_info_pin,
    GError **error);


/**
 * qmi_message_dms_uim_verify_pin_input_set_info:
 * @self: a #QmiMessageDmsUimVerifyPinInput.
 * @value_info_pin_id: a #QmiDmsUimPinId.
 * @value_info_pin: a constant string.
 * @eref().
 *
 * Since: 1.34
 */
QmiMessageDmsGetManufacturerOutput *qmi_message_dms_get_manufacturer_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message DMS Get Model */


/**
 * SECTION: qmi-message-dms-get-model
 * @title: DMS Get Model response
 * @short_description: Methods to manage the DMS Get Model response.
 *
 * Collection of methods to create requests and parse responses of the DMS Get Model message.
 */

/* --- Input -- */

/* Note: no fields in the Input container */

/* --- Output -- */

/**
 * QmiMessageDmsGetModelOutput:
 *
 * The #QmiMessageDmsGetModelOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.0
 */
typedef struct _QmiMessageDmsGetModelOutput QmiMessageDmsGetModelOutput;
GType qmi_message_dms_get_model_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_DMS_GET_MODEL_OUTPUT (qmi_message_dms_get_model_output_get_type ())


/**
 * qmi_message_dms_get_model_output_get_result:
 * @self: a QmiMessageDmsGetModelOutput.
 * @error: Return location for error or %NULL.
 *
 * Get the result of the QMI operation.
 *
 * Returns: (skip): %TRUE if the QMI operation succeeded, %FALSE if @error is set.
 *
 * Since: 1.0
 */
gboolean qmi_message_dms_get_model_output_get_result (
    QmiMessageDmsGetModelOutput *self,
    GError **error);


/**
 * qmi_message_dms_get_model_output_get_model:
 * @sself);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (QmiIndicationDmsEventReportOutput, qmi_indication_dms_event_report_output_unref)

/**
 * qmi_indication_dms_event_report_indication_parse:
 * @message: a #QmiMessage.
 * @error: return location for error or %NULL.
 *
 * Parses a #QmiMessage and builds a #QmiIndicationDmsEventReportOutput out of it.
 * The operation fails if the message is of the wrong type.
 *
 * Returns: a #QmiIndicationDmsEventReportOutput, or %NULL if @error is set. The returned value should be freed with qmi_indication_dms_event_report_output_unref().
 *
 * Since: 1.34
 */
QmiIndicationDmsEventReportOutput *qmi_indication_dms_event_report_indication_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message DMS Reset */


/**
 * SECTION: qmi-message-dms-reset
 * @title: DMS Reset response
 * @short_description: Methods to manage the DMS Reset response.
 *
 * Collection of methods to create requests and parse responses of the DMS Reset message.
 */

/* --- Input -- */

/* Note: no fields in the Input container */

/* --- Output -- */

/**
 * QmiMessageDmsResetOutput:
 *
 * The #QmiMessageDmsResetOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.0
 */
typedef struct _QmiMessageDmsResetOutput QmiMessageDmsResetOutput;
GType qmi_message_dms_reset_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_DMS_RESET_e_pdc_get_config_limits_input_set_token (
    QmiMessagePdcGetConfigLimitsInput *self,
    guint32 value_token,
    GError **error);


/**
 * qmi_message_pdc_get_config_limits_input_get_config_type:
 * @self: a #QmiMessagePdcGetConfigLimitsInput.
 * @value_config_type: (out)(optional): a placeholder for the output #QmiPdcConfigurationType, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Config Type' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.18
 */
gboolean qmi_message_pdc_get_config_limits_input_get_config_type (
    QmiMessagePdcGetConfigLimitsInput *self,
    QmiPdcConfigurationType *value_config_type,
    GError **error);


/**
 * qmi_message_pdc_get_config_limits_input_set_config_type:
 * @self: a #QmiMessagePdcGetConfigLimitsInput.
 * @value_config_type: a #QmiPdcConfigurationType.
 * @error: Return location for error or %NULL.
 *
 * Set the 'Config Type' field in the message.
 *
 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
 *
 * Since: 1.18
 */
gboolean qmi_message_pdc_get_config_limits_input_set_config_type (
    QmiMessagePdcGetConfigLimitsInput *self,
    QmiPdcConfigurationType value_config_type,
    GError **error);


/**
 * qmi_message_pdc_get_config_limits_input_ref:
 * @self: a #QmiMessagePdcGetConfigLimitsInput.
 *
 * Atomically increments the reference count of @self by one.
 *
 * Returns: the new reference to @self.
 *
 * Since: 1.18
 */
Qm
 *
 * Since: 1.34
 */
QmiMessagePdcActivateConfigOutput *qmi_message_pdc_activate_config_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PDC Get Config Info */


/**
 * SECTION: qmi-message-pdc-get-config-info
 * @title: PDC Get Config Info response
 * @short_description: Methods to manage the PDC Get Config Info response.
 *
 * Collection of methods to create requests and parse responses of the PDC Get Config Info message.
 */

/* --- Input -- */

/**
 * QmiMessagePdcGetConfigInfoInput:
 *
 * The #QmiMessagePdcGetConfigInfoInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.18
 */
typedef struct _QmiMessagePdcGetConfigInfoInput QmiMessagePdcGetConfigInfoInput;
GType qmi_message_pdc_get_config_info_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PDC_GET_CONFIG_INFO_INPUT (qmi_message_pdc_get_config_info_input_get_type ())


/**
 * qmi_message_pdc_get_config_info_input_get_token:
 * @self: a #QmiMessagePdcGetConfigInfoInput.
 * @value_token: (out)(optional): a placeholder for the output #guint32, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Token' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.18
 */
gboolean qmi_message_pdc_get_config_info_input_get_token (
    QmiMessagePdcGetConfigInfoInput * Since: 1.18
 */
void qmi_message_pdc_list_configs_output_unref (QmiMessagePdcListConfigsOutput *self);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (QmiMessagePdcListConfigsOutput, qmi_message_pdc_list_configs_output_unref)

/**
 * qmi_message_pdc_list_configs_response_parse:
 * @message: a #QmiMessage.
 * @error: return location for error or %NULL.
 *
 * Parses a #QmiMessage and builds a #QmiMessagePdcListConfigsOutput out of it.
 * The operation fails if the message is of the wrong type.
 *
 * Returns: a #QmiMessagePdcListConfigsOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_pdc_list_configs_output_unref().
 *
 * Since: 1.34
 */
QmiMessagePdcListConfigsOutput *qmi_message_pdc_list_configs_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PDC Delete Config */


/**
 * SECTION: qmi-message-pdc-delete-config
 * @title: PDC Delete Config response
 * @short_description: Methods to manage the PDC Delete Config response.
 *
 * Collection of methods to create requests and parse responses of the PDC Delete Config message.
 */

/* --- Input -- */

/**
 * QmiMessagePdcDeleteConfigInput:
 *
 * The #QmiMessagePdcDeleteConfigInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.18
 */
typedef struct _QmiMessagePdcDeleteConfigInput QmiMessagePdcDeleteConfigInput;
GType qmi_message_pdc_delete_confutput out of it.
 * The operation fails if the message is of the wrong type.
 *
 * Returns: a #QmiMessagePdcRegisterOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_pdc_register_output_unref().
 *
 * Since: 1.34
 */
QmiMessagePdcRegisterOutput *qmi_message_pdc_register_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PDC Config Change */


/**
 * SECTION: qmi-message-pdc-config-change
 * @title: PDC Config Change response
 * @short_description: Methods to manage the PDC Config Change response.
 *
 * Collection of methods to create requests and parse responses of the PDC Config Change message.
 */

/* --- Input -- */

/**
 * QmiMessagePdcConfigChangeInput:
 *
 * The #QmiMessagePdcConfigChangeInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.18
 */
typedef struct _QmiMessagePdcConfigChangeInput QmiMessagePdcConfigChangeInput;
GType qmi_message_pdc_config_change_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PDC_CONFIG_CHANGE_INPUT (qmi_message_pdc_config_change_input_get_type ())


/**
 * qmi_message_pdc_config_change_input_get_type_with_id_v2:
 * @self: a #QmiMessagePdcConfigChangeInput.
 * @value_type_with_id_v2_config_type: (out)(optional): a placeholder for the output #QmiPdcConfigurationType, or %NULL if not required.
 * @value_type_with_id_v2_id: (onref().
 *
 * Since: 1.34
 */
QmiIndicationPdcLoadConfigOutput *qmi_indication_pdc_load_config_indication_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* INDICATION: Qmi Indication PDC Activate Config */


/**
 * SECTION: qmi-indication-pdc-activate-config
 * @title: PDC Activate Config indication
 * @short_description: Methods to manage the PDC Activate Config indication.
 *
 * Collection of methods to parse indications of the PDC Activate Config message.
 */

/* --- Output -- */

/**
 * QmiIndicationPdcActivateConfigOutput:
 *
 * The #QmiIndicationPdcActivateConfigOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.18
 */
typedef struct _QmiIndicationPdcActivateConfigOutput QmiIndicationPdcActivateConfigOutput;
GType qmi_indication_pdc_activate_config_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_INDICATION_PDC_ACTIVATE_CONFIG_OUTPUT (qmi_indication_pdc_activate_config_output_get_type ())


/**
 * qmi_indication_pdc_activate_config_output_get_token:
 * @self: a #QmiIndicationPdcActivateConfigOutput.
 * @value_token: (out)(optional): a placeholder for the output #guint32, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Token' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.18
 */
gboolean qmi_indication_pdc_activate_config_output_get_token MESSAGE_PDC_LIST_CONFIGS
#define HAVE_QMI_MESSAGE_PDC_DELETE_CONFIG
#define HAVE_QMI_MESSAGE_PDC_LOAD_CONFIG
#define HAVE_QMI_MESSAGE_PDC_ACTIVATE_CONFIG
#define HAVE_QMI_MESSAGE_PDC_GET_CONFIG_INFO
#define HAVE_QMI_MESSAGE_PDC_GET_CONFIG_LIMITS
#define HAVE_QMI_MESSAGE_PDC_GET_DEFAULT_CONFIG_INFO
#define HAVE_QMI_MESSAGE_PDC_DEACTIVATE_CONFIG
#define HAVE_QMI_INDICATION_PDC_GET_SELECTED_CONFIG
#define HAVE_QMI_INDICATION_PDC_SET_SELECTED_CONFIG
#define HAVE_QMI_INDICATION_PDC_LIST_CONFIGS
#define HAVE_QMI_INDICATION_PDC_LOAD_CONFIG
#define HAVE_QMI_INDICATION_PDC_ACTIVATE_CONFIG
#define HAVE_QMI_INDICATION_PDC_GET_CONFIG_INFO
#define HAVE_QMI_INDICATION_PDC_DEACTIVATE_CONFIG
#define HAVE_QMI_INDICATION_PDC_REFRESH

/*****************************************************************************/
/* INDICATION: Qmi Indication PDC Get Selected Config */


/**
 * SECTION: qmi-indication-pdc-get-selected-config
 * @title: PDC Get Selected Config indication
 * @short_description: Methods to manage the PDC Get Selected Config indication.
 *
 * Collection of methods to parse indications of the PDC Get Selected Config message.
 */

/* --- Output -- */

/**
 * QmiIndicationPdcGetSelectedConfigOutput:
 *
 * The #QmiIndicationPdcGetSelectedConfigOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.18
 */
typedef struct _QmiIndicationPdcGetSelectedConfigOutput QmiIndicationPdcGetSelectedConfigOutput;
GType qmi_indication_pdc_get_selected_configo Tracking State */


/**
 * SECTION: qmi-message-pds-set-auto-tracking-state
 * @title: PDS Set Auto Tracking State response
 * @short_description: Methods to manage the PDS Set Auto Tracking State response.
 *
 * Collection of methods to create requests and parse responses of the PDS Set Auto Tracking State message.
 */

/* --- Input -- */

/**
 * QmiMessagePdsSetAutoTrackingStateInput:
 *
 * The #QmiMessagePdsSetAutoTrackingStateInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.0
 */
typedef struct _QmiMessagePdsSetAutoTrackingStateInput QmiMessagePdsSetAutoTrackingStateInput;
GType qmi_message_pds_set_auto_tracking_state_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PDS_SET_AUTO_TRACKING_STATE_INPUT (qmi_message_pds_set_auto_tracking_state_input_get_type ())


/**
 * qmi_message_pds_set_auto_tracking_state_input_get_state:
 * @self: a #QmiMessagePdsSetAutoTrackingStateInput.
 * @value_state_auto_tracking_state: (out)(optional): a placeholder for the output #gboolean, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'State' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.0
 */
gboolean qmi_message_pds_set_auto_tracking_state_input_get_state (
    QmiMessagePdsSetAutoTrackingStateInput *self,
    gboolean *value_state_auto_tracking_state,
    GError **error);


/**
 * qmi_message_pds_set_auto_tracking_state_input_set_statong type.
 *
 * Returns: a #QmiMessagePdsGetAgpsConfigOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_pds_get_agps_config_output_unref().
 *
 * Since: 1.34
 */
QmiMessagePdsGetAgpsConfigOutput *qmi_message_pds_get_agps_config_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PDS Set AGPS Config */


/**
 * SECTION: qmi-message-pds-set-agps-config
 * @title: PDS Set AGPS Config response
 * @short_description: Methods to manage the PDS Set AGPS Config response.
 *
 * Collection of methods to create requests and parse responses of the PDS Set AGPS Config message.
 */

/* --- Input -- */

/**
 * QmiMessagePdsSetAgpsConfigInput:
 *
 * The #QmiMessagePdsSetAgpsConfigInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.12
 */
typedef struct _QmiMessagePdsSetAgpsConfigInput QmiMessagePdsSetAgpsConfigInput;
GType qmi_message_pds_set_agps_config_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PDS_SET_AGPS_CONFIG_INPUT (qmi_message_pds_set_agps_config_input_get_type ())


/**
 * qmi_message_pds_set_agps_config_input_get_network_mode:
 * @self: a #QmiMessagePdsSetAgpsConfigInput.
 * @value_network_mode: (out)(optional): a placeholder for the output #QmiPdsNetworkMode, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Network Mode' f().
 *
 * Since: 1.34
 */
QmiMessagePdsGetDefaultTrackingSessionOutput *qmi_message_pds_get_default_tracking_session_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PDS Set Default Tracking Session */


/**
 * SECTION: qmi-message-pds-set-default-tracking-session
 * @title: PDS Set Default Tracking Session response
 * @short_description: Methods to manage the PDS Set Default Tracking Session response.
 *
 * Collection of methods to create requests and parse responses of the PDS Set Default Tracking Session message.
 */

/* --- Input -- */

/**
 * QmiMessagePdsSetDefaultTrackingSessionInput:
 *
 * The #QmiMessagePdsSetDefaultTrackingSessionInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.12
 */
typedef struct _QmiMessagePdsSetDefaultTrackingSessionInput QmiMessagePdsSetDefaultTrackingSessionInput;
GType qmi_message_pds_set_default_tracking_session_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PDS_SET_DEFAULT_TRACKING_SESSION_INPUT (qmi_message_pds_set_default_tracking_session_input_get_type ())


/**
 * qmi_message_pds_set_default_tracking_session_input_get_info:
 * @self: a #QmiMessagePdsSetDefaultTrackingSessionInput.
 * @value_info_session_operation: (out)(optional): a placeholder for the output #QmiPdsOperatingMode, or %NULL if not required.
 * @value_info_position_data_timeout: (outL if @error is set. The returned value should be freed with qmi_message_pds_reset_output_unref().
 *
 * Since: 1.34
 */
QmiMessagePdsResetOutput *qmi_message_pds_reset_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PDS Set Event Report */


/**
 * SECTION: qmi-message-pds-set-event-report
 * @title: PDS Set Event Report response
 * @short_description: Methods to manage the PDS Set Event Report response.
 *
 * Collection of methods to create requests and parse responses of the PDS Set Event Report message.
 */

/* --- Input -- */

/**
 * QmiMessagePdsSetEventReportInput:
 *
 * The #QmiMessagePdsSetEventReportInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.0
 */
typedef struct _QmiMessagePdsSetEventReportInput QmiMessagePdsSetEventReportInput;
GType qmi_message_pds_set_event_report_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PDS_SET_EVENT_REPORT_INPUT (qmi_message_pds_set_event_report_input_get_type ())


/**
 * qmi_message_pds_set_event_report_input_get_extended_external_xtra_data_request_reporting:
 * @self: a #QmiMessagePdsSetEventReportInput.
 * @value_extended_external_xtra_data_request_reporting: (out)(optional): a placeholder for the output #gboolean, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Extended External XTRA Data Request ReporQmiClientOma.
 * @input: a #QmiMessageOmaStartSessionInput.
 * @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.
 *
 * Asynchronously sends a Start Session 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_oma_start_session_finish() to get the result of the operation.
 *
 * Since: 1.6
 */
void qmi_client_oma_start_session (
    QmiClientOma *self,
    QmiMessageOmaStartSessionInput *input,
    guint timeout,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

/**
 * qmi_client_oma_start_session_finish:
 * @self: a #QmiClientOma.
 * @res: the #GAsyncResult obtained from the #GAsyncReadyCallback passed to qmi_client_oma_start_session().
 * @error: Return location for error or %NULL.
 *
 * Finishes an async operation started with qmi_client_oma_start_session().
 *
 * Returns: a #QmiMessageOmaStartSessionOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_oma_start_session_output_unref().
 *
 * Since: 1.6
 */
QmiMessageOmaStartSessionOutput *qmi_client_oma_start_session_finish (
    QmiClientOma *self,
    GAsyncResult *res,
    GError **error);

/**
 * qmi_client_oma_cancel_session:
 dSelectionOutput, qmi_message_oma_send_selection_output_unref)

/**
 * qmi_message_oma_send_selection_response_parse:
 * @message: a #QmiMessage.
 * @error: return location for error or %NULL.
 *
 * Parses a #QmiMessage and builds a #QmiMessageOmaSendSelectionOutput out of it.
 * The operation fails if the message is of the wrong type.
 *
 * Returns: a #QmiMessageOmaSendSelectionOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_oma_send_selection_output_unref().
 *
 * Since: 1.34
 */
QmiMessageOmaSendSelectionOutput *qmi_message_oma_send_selection_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message OMA Get Feature Setting */


/**
 * SECTION: qmi-message-oma-get-feature-setting
 * @title: OMA Get Feature Setting response
 * @short_description: Methods to manage the OMA Get Feature Setting response.
 *
 * Collection of methods to create requests and parse responses of the OMA Get Feature Setting message.
 */

/* --- Input -- */

/* Note: no fields in the Input container */

/* --- Output -- */

/**
 * QmiMessageOmaGetFeatureSettingOutput:
 *
 * The #QmiMessageOmaGetFeatureSettingOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.6
 */
typedef struct _QmiMessageOmaGetFeatureSettingOutput QmiMessageOmaGetFeatureSettingOutput;
GType qmi_message_oma_get_feature_setting_output.
 *
 * Since: 1.6
 */
gboolean qmi_message_oma_set_event_report_input_get_session_state_reporting (
    QmiMessageOmaSetEventReportInput *self,
    gboolean *value_session_state_reporting,
    GError **error);


/**
 * qmi_message_oma_set_event_report_input_set_session_state_reporting:
 * @self: a #QmiMessageOmaSetEventReportInput.
 * @value_session_state_reporting: a #gboolean.
 * @error: Return location for error or %NULL.
 *
 * Set the 'Session State Reporting' field in the message.
 *
 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
 *
 * Since: 1.6
 */
gboolean qmi_message_oma_set_event_report_input_set_session_state_reporting (
    QmiMessageOmaSetEventReportInput *self,
    gboolean value_session_state_reporting,
    GError **error);


/**
 * qmi_message_oma_set_event_report_input_get_network_initiated_alert_reporting:
 * @self: a #QmiMessageOmaSetEventReportInput.
 * @value_network_initiated_alert_reporting: (out)(optional): a placeholder for the output #gboolean, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Network Initiated Alert Reporting' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.6
 */
gboolean qmi_message_oma_set_event_report_input_get_network_initiated_alert_reporting (
    QmiMessageOmaSetEventReportInput *self,
    gboolean *value_network_initiated_alert_reporting,
    GError **error);


/**
 * qmi_message_oma_set_event_report_input_set_netwsrp,
    gint16 *value_lte_signal_strength_snr,
    GError **error);


/**
 * qmi_indication_nas_signal_info_output_get_wcdma_signal_strength:
 * @self: a #QmiIndicationNasSignalInfoOutput.
 * @value_wcdma_signal_strength_rssi: (out)(optional): a placeholder for the output #gint8, or %NULL if not required.
 * @value_wcdma_signal_strength_ecio: (out)(optional): a placeholder for the output #gint16, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'WCDMA Signal Strength' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.0
 */
gboolean qmi_indication_nas_signal_info_output_get_wcdma_signal_strength (
    QmiIndicationNasSignalInfoOutput *self,
    gint8 *value_wcdma_signal_strength_rssi,
    gint16 *value_wcdma_signal_strength_ecio,
    GError **error);


/**
 * qmi_indication_nas_signal_info_output_get_gsm_signal_strength:
 * @self: a #QmiIndicationNasSignalInfoOutput.
 * @value_gsm_signal_strength: (out)(optional): a placeholder for the output #gint8, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'GSM Signal Strength' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.0
 */
gboolean qmi_indication_nas_signal_info_output_get_gsm_signal_strength (
    QmiIndicationNasSignalInfoOutput *self,
    gint8 *value_gsm_signal_strength,
    GError **error);


/**
 * qmi_indication_nas_signal_info_output_get_hdr_signal, %FALSE otherwise.
 *
 * Since: 1.0
 */
gboolean qmi_indication_nas_system_info_output_get_gsm_call_barring_status (
    QmiIndicationNasSystemInfoOutput *self,
    QmiNasCallBarringStatus *value_gsm_call_barring_status_cs_status,
    QmiNasCallBarringStatus *value_gsm_call_barring_status_ps_status,
    GError **error);


/**
 * qmi_indication_nas_system_info_output_get_additional_lte_system_info:
 * @self: a #QmiIndicationNasSystemInfoOutput.
 * @value_additional_lte_system_info_geo_system_index: (out)(optional): a placeholder for the output #guint16, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Additional LTE System Info' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.0
 */
gboolean qmi_indication_nas_system_info_output_get_additional_lte_system_info (
    QmiIndicationNasSystemInfoOutput *self,
    guint16 *value_additional_lte_system_info_geo_system_index,
    GError **error);


/**
 * qmi_indication_nas_system_info_output_get_additional_wcdma_system_info:
 * @self: a #QmiIndicationNasSystemInfoOutput.
 * @value_additional_wcdma_system_info_geo_system_index: (out)(optional): a placeholder for the output #guint16, or %NULL if not required.
 * @value_additional_wcdma_system_info_cell_broadcast_support: (out)(optional): a placeholder for the output #QmiNasCellBroadcastCapability, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Additional WCDMA Systr or %NULL.
 *
 * Get the 'TD SCMA System Info v2' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.30
 */
gboolean qmi_indication_nas_system_info_output_get_td_scma_system_info_v2 (
    QmiIndicationNasSystemInfoOutput *self,
    gboolean *value_td_scma_system_info_v2_domain_valid,
    QmiNasNetworkServiceDomain *value_td_scma_system_info_v2_domain,
    gboolean *value_td_scma_system_info_v2_service_capability_valid,
    QmiNasNetworkServiceDomain *value_td_scma_system_info_v2_service_capability,
    gboolean *value_td_scma_system_info_v2_roaming_status_valid,
    QmiNasRoamingStatus *value_td_scma_system_info_v2_roaming_status,
    gboolean *value_td_scma_system_info_v2_forbidden_valid,
    gboolean *value_td_scma_system_info_v2_forbidden,
    gboolean *value_td_scma_system_info_v2_lac_valid,
    guint16 *value_td_scma_system_info_v2_lac,
    gboolean *value_td_scma_system_info_v2_cid_valid,
    guint32 *value_td_scma_system_info_v2_cid,
    gboolean *value_td_scma_system_info_v2_registration_reject_info_valid,
    QmiNasNetworkServiceDomain *value_td_scma_system_info_v2_registration_reject_domain,
    QmiNasRejectCause *value_td_scma_system_info_v2_registration_reject_cause,
    gboolean *value_td_scma_system_info_v2_network_id_valid,
    const gchar **value_td_scma_system_info_v2_mcc,
    const gchar **value_td_scma_system_info_v2_mnc,
    gboolean *value_td_scma_system_info_v2_hs_call_status_valid,
    QmiNasWcdmaHsService *valudicationNasOperatorNameOutput *self,
    QmiNasPlmnEncodingScheme *value_nitz_information_name_encoding,
    QmiNasPlmnNameCountryInitials *value_nitz_information_short_country_initials,
    QmiNasPlmnNameSpareBits *value_nitz_information_long_name_spare_bits,
    QmiNasPlmnNameSpareBits *value_nitz_information_short_name_spare_bits,
    GArray **value_nitz_information_long_name,
    GArray **value_nitz_information_short_name,
    GError **error);


/**
 * qmi_indication_nas_operator_name_output_get_operator_string_name:
 * @self: a #QmiIndicationNasOperatorNameOutput.
 * @value_operator_string_name: (out)(optional)(transfer none): a placeholder for the output constant string, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Operator String Name' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.18
 */
gboolean qmi_indication_nas_operator_name_output_get_operator_string_name (
    QmiIndicationNasOperatorNameOutput *self,
    const gchar **value_operator_string_name,
    GError **error);


/**
 * qmi_indication_nas_operator_name_output_get_operator_plmn_name: (skip)
 * @self: a #QmiIndicationNasOperatorNameOutput.
 * @value_operator_plmn_name: (out)(optional)(element-type QmiIndicationNasOperatorNameOutputOperatorPlmnNameElement)(transfer none): a placeholder for the output #GArray of #QmiIndicationNasOperatorNameOutputOperatorPlmnNameElement elements, or %NULL if not required. Do not free it, it1.0
 */
gboolean qmi_indication_nas_serving_system_output_get_cdma_system_info (
    QmiIndicationNasServingSystemOutput *self,
    guint16 *value_cdma_system_info_mcc,
    guint8 *value_cdma_system_info_imsi_11_12,
    GError **error);


/**
 * qmi_indication_nas_serving_system_output_get_detailed_service_status:
 * @self: a #QmiIndicationNasServingSystemOutput.
 * @value_detailed_service_status_status: (out)(optional): a placeholder for the output #QmiNasServiceStatus, or %NULL if not required.
 * @value_detailed_service_status_capability: (out)(optional): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
 * @value_detailed_service_status_hdr_status: (out)(optional): a placeholder for the output #QmiNasServiceStatus, or %NULL if not required.
 * @value_detailed_service_status_hdr_hybrid: (out)(optional): a placeholder for the output #gboolean, or %NULL if not required.
 * @value_detailed_service_status_forbidden: (out)(optional): a placeholder for the output #gboolean, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Detailed Service Status' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.0
 */
gboolean qmi_indication_nas_serving_system_output_get_detailed_service_status (
    QmiIndicationNasServingSystemOutput *self,
    QmiNasServiceStatus *value_detailed_service_status_status,
    QmiNasNetworkServiceDomain *value_detailed_service_status_capability,
    QAS_GET_NETWORK_TIME
#define HAVE_QMI_MESSAGE_NAS_GET_DRX
#define HAVE_QMI_MESSAGE_NAS_GET_LTE_CPHY_CA_INFO
#define HAVE_QMI_MESSAGE_NAS_SWI_GET_STATUS
#define HAVE_QMI_INDICATION_NAS_EVENT_REPORT
#define HAVE_QMI_INDICATION_NAS_SERVING_SYSTEM
#define HAVE_QMI_INDICATION_NAS_OPERATOR_NAME
#define HAVE_QMI_INDICATION_NAS_NETWORK_TIME
#define HAVE_QMI_INDICATION_NAS_SYSTEM_INFO
#define HAVE_QMI_INDICATION_NAS_SIGNAL_INFO
#define HAVE_QMI_INDICATION_NAS_NETWORK_REJECT

/*****************************************************************************/
/* INDICATION: Qmi Indication NAS Event Report */


/**
 * SECTION: qmi-indication-nas-event-report
 * @title: NAS Event Report indication
 * @short_description: Methods to manage the NAS Event Report indication.
 *
 * Collection of methods to parse indications of the NAS Event Report message.
 */

/* --- Output -- */


/**
 * QmiIndicationNasEventReportOutputRfBandInformationElement:
 * @radio_interface: a #QmiNasRadioInterface.
 * @active_band_class: a #QmiNasActiveBand.
 * @active_channel: a #guint16.
 *
 * A QmiIndicationNasEventReportOutputRfBandInformationElement struct.
 *
 * Since: 1.0
 */
typedef struct _QmiIndicationNasEventReportOutputRfBandInformationElement {
    QmiNasRadioInterface radio_interface;
    QmiNasActiveBand active_band_class;
    guint16 active_channel;
} QmiIndicationNasEventReportOutputRfBandInformationElement;

GType qmi_indication_nas_event_report_output_rf_band_information_element_get_type (void) G_GNUC_CONST;

/**
miDeviceServiceVersionInfo elements, or %NULL if @error
 *  is set. The returned value should be freed with g_array_unref().
 *
 * Since: 1.6
 */
GArray *qmi_device_get_service_version_info_finish (QmiDevice     *self,
                                                    GAsyncResult  *res,
                                                    GError       **error);

/**
 * qmi_device_get_consecutive_timeouts:
 * @self: a #QmiDevice.
 *
 * Gets the number of consecutive transaction timeouts in the device.
 *
 * Returns: a #guint.
 *
 * Since: 1.32
 */
guint qmi_device_get_consecutive_timeouts (QmiDevice *self);

/******************************************************************************/
/* qmi_wwan specific APIs */

/**
 * qmi_device_get_wwan_iface:
 * @self: a #QmiDevice.
 *
 * Get the WWAN interface name associated with the QMI control port.
 * This value will be loaded every time it's asked for it.
 *
 * <note><para>
 * This method is only applicable when using the qmi_wwan kernel driver.
 * </para></note>
 *
 * Returns: UTF-8 encoded network interface name, or %NULL if not available.
 *
 * Since: 1.14
 */
const gchar *qmi_device_get_wwan_iface (QmiDevice *self);

/**
 * QmiDeviceExpectedDataFormat:
 * @QMI_DEVICE_EXPECTED_DATA_FORMAT_UNKNOWN: Unknown.
 * @QMI_DEVICE_EXPECTED_DATA_FORMAT_802_3: 802.3.
 * @QMI_DEVICE_EXPECTED_DATA_FORMAT_RAW_IP: Raw IP.
 * @QMI_DEVICE_EXPECTED_DATA_FORMAT_QMAP_PASS_THROUGH: QMAP pass-through. Since 1.28.
 *
 * Data format expected by the kernel.
 *
 >*/
    GObject parent;
    QmiDevicePrivate *priv;
};

struct _QmiDeviceClass {
    /*< private >*/
    GObjectClass parent;
};

GType qmi_device_get_type (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (QmiDevice, g_object_unref)

/**
 * qmi_device_new:
 * @file: a #GFile.
 * @cancellable: optional #GCancellable object, %NULL to ignore.
 * @callback: a #GAsyncReadyCallback to call when the initialization is finished.
 * @user_data: the data to pass to callback function.
 *
 * Asynchronously creates a #QmiDevice object to manage @file.
 * When the operation is finished, @callback will be invoked. You can then call
 * qmi_device_new_finish() to get the result of the operation.
 *
 * Since: 1.0
 */
void qmi_device_new (GFile               *file,
                     GCancellable        *cancellable,
                     GAsyncReadyCallback  callback,
                     gpointer             user_data);

/**
 * qmi_device_new_finish:
 * @res: a #GAsyncResult.
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with qmi_device_new().
 *
 * Returns: (transfer full): A newly created #QmiDevice, or %NULL if @error is set.
 *
 * Since: 1.0
 */
QmiDevice *qmi_device_new_finish (GAsyncResult  *res,
                                  GError       **error);

/**
 * qmi_device_get_file:
 * @self: a #QmiDevice.
 *
 * Get the #GFile associated with this #QmiDevice.
 *
 * Returns: (transfer full): a #GFile that must be freed with g_object_unref().
 *
 * Since: 1.0
 */
GFile *qmi__second_name_capability_element_get_type (void) G_GNUC_CONST;


/**
 * QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement:
 * @session_type: a #QmiPbmSessionType.
 * @supported: a #gboolean.
 *
 * A QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement struct.
 *
 * Since: 1.6
 */
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement {
    QmiPbmSessionType session_type;
    gboolean supported;
} QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement;

GType qmi_message_pbm_get_all_capabilities_output_hidden_records_capability_element_get_type (void) G_GNUC_CONST;


/**
 * QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement:
 * @session_type: a #QmiPbmSessionType.
 * @maximum_records: a #guint8.
 * @used_records: a #guint8.
 * @maximum_string_length: a #guint8.
 *
 * A QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement struct.
 *
 * Since: 1.6
 */
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement {
    QmiPbmSessionType session_type;
    guint8 maximum_records;
    guint8 used_records;
    guint8 maximum_string_length;
} QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement;

GType qmi_message_pbm_get_all_capabilities_output_grouping_information_alpha_string_capability_element_get_type (void) G_GNUC_CONST;


/**
 * QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberurns: the newly created #QmiMessagePbmGetCapabilitiesInput. The returned value should be freed with qmi_message_pbm_get_capabilities_input_unref().
 *
 * Since: 1.6
 */
QmiMessagePbmGetCapabilitiesInput *qmi_message_pbm_get_capabilities_input_new (void);

/* --- Output -- */

/**
 * QmiMessagePbmGetCapabilitiesOutput:
 *
 * The #QmiMessagePbmGetCapabilitiesOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.6
 */
typedef struct _QmiMessagePbmGetCapabilitiesOutput QmiMessagePbmGetCapabilitiesOutput;
GType qmi_message_pbm_get_capabilities_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PBM_GET_CAPABILITIES_OUTPUT (qmi_message_pbm_get_capabilities_output_get_type ())


/**
 * qmi_message_pbm_get_capabilities_output_get_result:
 * @self: a QmiMessagePbmGetCapabilitiesOutput.
 * @error: Return location for error or %NULL.
 *
 * Get the result of the QMI operation.
 *
 * Returns: (skip): %TRUE if the QMI operation succeeded, %FALSE if @error is set.
 *
 * Since: 1.6
 */
gboolean qmi_message_pbm_get_capabilities_output_get_result (
    QmiMessagePbmGetCapabilitiesOutput *self,
    GError **error);


/**
 * qmi_message_pbm_get_capabilities_output_get_capability_basic_information:
 * @self: a #QmiMessagePbmGetCapabilitiesOutput.
 * @value_capability_basic_information_session_type: (out)(optional): a placeholder for the output #QmiPbmSessionType, or %NULL if not required.
 * @value_capability_basic_information_phonebook_type: . The returned value should be freed with qmi_message_imsp_get_enabler_state_output_unref().
 *
 * Since: 1.34
 */
QmiMessageImspGetEnablerStateOutput *qmi_client_imsp_get_enabler_state_finish (
    QmiClientImsp *self,
    GAsyncResult *res,
    GError **error);

G_END_DECLS

#endif /* __LIBQMI_GLIB_QMI_IMSP__ */

/* GENERATED CODE... DO NOT EDIT */

/*
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301 USA.
 *
 * Copyright (C) 2012 Lanedo GmbH
 * Copyright (C) 2012-2022 Aleksander Morgado <aleksander@aleksander.es>
 */


#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>

#include "qmi-enums.h"
#include "qmi-message.h"
#include "qmi-client.h"

#ifndef __LIBQMI_GLIB_QMI_ATR__
#define __LIBQMI_GLIB_QMI_ATR__

G_BEGIN_DECLS

#define HAVE_QMI_MESSAGE_ATR_SEND
#define HAVE_QMI_INDICATION_ATR_RECEIVED

/**#define QMI_TYPE_WDS_CONNECTION_STATUS (qmi_wds_connection_status_get_type ())

/* Define type-specific symbols */
#define __QMI_WDS_CONNECTION_STATUS_IS_ENUM__

/**
 * qmi_wds_connection_status_get_string:
 * @val: a QmiWdsConnectionStatus.
 *
 * Gets the nickname string for the #QmiWdsConnectionStatus specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.0
 */
const gchar *qmi_wds_connection_status_get_string (QmiWdsConnectionStatus val);
GType qmi_wds_data_bearer_technology_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_WDS_DATA_BEARER_TECHNOLOGY (qmi_wds_data_bearer_technology_get_type ())

/* Define type-specific symbols */
#define __QMI_WDS_DATA_BEARER_TECHNOLOGY_IS_ENUM__

/**
 * qmi_wds_data_bearer_technology_get_string:
 * @val: a QmiWdsDataBearerTechnology.
 *
 * Gets the nickname string for the #QmiWdsDataBearerTechnology specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.0
 */
const gchar *qmi_wds_data_bearer_technology_get_string (QmiWdsDataBearerTechnology val);
GType qmi_wds_network_type_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_WDS_NETWORK_TYPE (qmi_wds_network_type_get_type ())

/* Define type-specific symbols */
#define __QMI_WDS_NETWORK_TYPE_IS_ENUM__

/**
 * qmi_wds_network_type_get_string:
 * @val: a QmiWdsNetworkType.
 *
 * Gets the nickname string for the #QmiWdsNetworkType sI_VOICE_SUPPLEMENTARY_SERVICE_REASON_IS_ENUM__

/**
 * qmi_voice_supplementary_service_reason_get_string:
 * @val: a QmiVoiceSupplementaryServiceReason.
 *
 * Gets the nickname string for the #QmiVoiceSupplementaryServiceReason specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.30
 */
const gchar *qmi_voice_supplementary_service_reason_get_string (QmiVoiceSupplementaryServiceReason val);

/* enumerations from "../src/libqmi-glib/qmi-enums-wda.h" */
GType qmi_wda_link_layer_protocol_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_WDA_LINK_LAYER_PROTOCOL (qmi_wda_link_layer_protocol_get_type ())

/* Define type-specific symbols */
#define __QMI_WDA_LINK_LAYER_PROTOCOL_IS_ENUM__

/**
 * qmi_wda_link_layer_protocol_get_string:
 * @val: a QmiWdaLinkLayerProtocol.
 *
 * Gets the nickname string for the #QmiWdaLinkLayerProtocol specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.10
 */
const gchar *qmi_wda_link_layer_protocol_get_string (QmiWdaLinkLayerProtocol val);
GType qmi_wda_data_aggregation_protocol_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_WDA_DATA_AGGREGATION_PROTOCOL (qmi_wda_data_aggregation_protocol_get_type ())

/* Define type-specific symbols */
#define __QMI_WDA_DATA_AGGREGATION_PROTOCOL_IS_ENUM__

/**
 * qmi_wda_data_aggregation_protocol_get_string:
 * @val: a QmiWdaDataAggregationProtocolmnNameSpareBits specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.18
 */
const gchar *qmi_nas_plmn_name_spare_bits_get_string (QmiNasPlmnNameSpareBits val);
GType qmi_nas_usage_preference_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_NAS_USAGE_PREFERENCE (qmi_nas_usage_preference_get_type ())

/* Define type-specific symbols */
#define __QMI_NAS_USAGE_PREFERENCE_IS_ENUM__

/**
 * qmi_nas_usage_preference_get_string:
 * @val: a QmiNasUsagePreference.
 *
 * Gets the nickname string for the #QmiNasUsagePreference specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.24
 */
const gchar *qmi_nas_usage_preference_get_string (QmiNasUsagePreference val);
GType qmi_nas_swi_modem_mode_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_NAS_SWI_MODEM_MODE (qmi_nas_swi_modem_mode_get_type ())

/* Define type-specific symbols */
#define __QMI_NAS_SWI_MODEM_MODE_IS_ENUM__

/**
 * qmi_nas_swi_modem_mode_get_string:
 * @val: a QmiNasSwiModemMode.
 *
 * Gets the nickname string for the #QmiNasSwiModemMode specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.24
 */
const gchar *qmi_nas_swi_modem_mode_get_string (QmiNasSwiModemMode val);
GType qmi_nas_swi_system_mode_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_NAS_SWI_SYSTEM_MODEpe (void) G_GNUC_CONST;
#define QMI_TYPE_NAS_ACTIVE_BAND (qmi_nas_active_band_get_type ())

/* Define type-specific symbols */
#define __QMI_NAS_ACTIVE_BAND_IS_ENUM__

/**
 * qmi_nas_active_band_get_string:
 * @val: a QmiNasActiveBand.
 *
 * Gets the nickname string for the #QmiNasActiveBand specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.0
 */
const gchar *qmi_nas_active_band_get_string (QmiNasActiveBand val);
GType qmi_nas_network_service_domain_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_NAS_NETWORK_SERVICE_DOMAIN (qmi_nas_network_service_domain_get_type ())

/* Define type-specific symbols */
#define __QMI_NAS_NETWORK_SERVICE_DOMAIN_IS_ENUM__

/**
 * qmi_nas_network_service_domain_get_string:
 * @val: a QmiNasNetworkServiceDomain.
 *
 * Gets the nickname string for the #QmiNasNetworkServiceDomain specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.0
 */
const gchar *qmi_nas_network_service_domain_get_string (QmiNasNetworkServiceDomain val);
GType qmi_nas_evdo_sinr_level_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_NAS_EVDO_SINR_LEVEL (qmi_nas_evdo_sinr_level_get_type ())

/* Define type-specific symbols */
#define __QMI_NAS_EVDO_SINR_LEVEL_IS_ENUM__

/**
 * qmi_nas_evdo_sinr_level_get_string:
 * @val: a QmiNasEvdoSinrLevel.
 *
 * Gets the nickname string for the #QmiNasEvdoSinrLevel specifDATA_FORMAT (qmi_loc_predicted_orbits_data_format_get_type ())

/* Define type-specific symbols */
#define __QMI_LOC_PREDICTED_ORBITS_DATA_FORMAT_IS_ENUM__

/**
 * qmi_loc_predicted_orbits_data_format_get_string:
 * @val: a QmiLocPredictedOrbitsDataFormat.
 *
 * Gets the nickname string for the #QmiLocPredictedOrbitsDataFormat specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.22
 */
const gchar *qmi_loc_predicted_orbits_data_format_get_string (QmiLocPredictedOrbitsDataFormat val);
GType qmi_loc_lock_type_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_LOC_LOCK_TYPE (qmi_loc_lock_type_get_type ())

/* Define type-specific symbols */
#define __QMI_LOC_LOCK_TYPE_IS_ENUM__

/**
 * qmi_loc_lock_type_get_string:
 * @val: a QmiLocLockType.
 *
 * Gets the nickname string for the #QmiLocLockType specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.28
 */
const gchar *qmi_loc_lock_type_get_string (QmiLocLockType val);

/* enumerations from "../src/libqmi-glib/qmi-enums-nas.h" */
GType qmi_nas_radio_interface_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_NAS_RADIO_INTERFACE (qmi_nas_radio_interface_get_type ())

/* Define type-specific symbols */
#define __QMI_NAS_RADIO_INTERFACE_IS_ENUM__

/**
 * qmi_nas_radio_interface_get_string:
 * @val: a QmiNasRadioInterface.
 *
 * Gets the nickname string for the #QmiNasRs_radio_interface_get_string (QmiDmsRadioInterface val);
GType qmi_dms_uim_pin_id_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_DMS_UIM_PIN_ID (qmi_dms_uim_pin_id_get_type ())

/* Define type-specific symbols */
#define __QMI_DMS_UIM_PIN_ID_IS_ENUM__

/**
 * qmi_dms_uim_pin_id_get_string:
 * @val: a QmiDmsUimPinId.
 *
 * Gets the nickname string for the #QmiDmsUimPinId specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.0
 */
const gchar *qmi_dms_uim_pin_id_get_string (QmiDmsUimPinId val);
GType qmi_dms_uim_pin_status_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_DMS_UIM_PIN_STATUS (qmi_dms_uim_pin_status_get_type ())

/* Define type-specific symbols */
#define __QMI_DMS_UIM_PIN_STATUS_IS_ENUM__

/**
 * qmi_dms_uim_pin_status_get_string:
 * @val: a QmiDmsUimPinStatus.
 *
 * Gets the nickname string for the #QmiDmsUimPinStatus specified at @val.
 *
 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
 * Since: 1.0
 */
const gchar *qmi_dms_uim_pin_status_get_string (QmiDmsUimPinStatus val);
GType qmi_dms_operating_mode_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_DMS_OPERATING_MODE (qmi_dms_operating_mode_get_type ())

/* Define type-specific symbols */
#define __QMI_DMS_OPERATING_MODE_IS_ENUM__

/**
 * qmi_dms_operating_mode_get_string:
 * @val: a QmiDmsOperatingMode.
 *
 * Gets the nickname string for the #QmiDmsOperatingMode specifsDmsGetEthernetPduMacAddressOutput *qmi_message_gas_dms_get_ethernet_pdu_mac_address_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* Service-specific utils: GAS */


#if defined (LIBQMI_GLIB_COMPILATION)

G_GNUC_INTERNAL
gchar *__qmi_message_gas_get_printable (
    QmiMessage *self,
    QmiMessageContext *context,
    const gchar *line_prefix);

#endif


#define HAVE_QMI_SERVICE_GAS

/*****************************************************************************/
/* CLIENT: QMI Client GAS */

#define QMI_TYPE_CLIENT_GAS            (qmi_client_gas_get_type ())
#define QMI_CLIENT_GAS(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), QMI_TYPE_CLIENT_GAS, QmiClientGas))
#define QMI_CLIENT_GAS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  QMI_TYPE_CLIENT_GAS, QmiClientGasClass))
#define QMI_IS_CLIENT_GAS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), QMI_TYPE_CLIENT_GAS))
#define QMI_IS_CLIENT_GAS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  QMI_TYPE_CLIENT_GAS))
#define QMI_CLIENT_GAS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  QMI_TYPE_CLIENT_GAS, QmiClientGasClass))

typedef struct _QmiClientGas QmiClientGas;
typedef struct _QmiClientGasClass QmiClientGasClass;

/**
 * QmiClientGas:
 *
 * The #QmiClientGas structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.24
 */
struct _QmiClientGas {
    /*< private >*/
    QmiClient p_gas_dms_set_firmware_auto_sim_input_get_config_id (
    QmiMessageGasDmsSetFirmwareAutoSimInput *self,
    guint8 *value_config_id,
    GError **error);


/**
 * qmi_message_gas_dms_set_firmware_auto_sim_input_set_config_id:
 * @self: a #QmiMessageGasDmsSetFirmwareAutoSimInput.
 * @value_config_id: a #guint8.
 * @error: Return location for error or %NULL.
 *
 * Set the 'Config Id' field in the message.
 *
 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
 *
 * Since: 1.36
 */
gboolean qmi_message_gas_dms_set_firmware_auto_sim_input_set_config_id (
    QmiMessageGasDmsSetFirmwareAutoSimInput *self,
    guint8 value_config_id,
    GError **error);


/**
 * qmi_message_gas_dms_set_firmware_auto_sim_input_get_auto_sim_mode:
 * @self: a #QmiMessageGasDmsSetFirmwareAutoSimInput.
 * @value_auto_sim_mode: (out)(optional): a placeholder for the output #QmiGasFirmwareAutoSimMode, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Auto Sim Mode' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.36
 */
gboolean qmi_message_gas_dms_set_firmware_auto_sim_input_get_auto_sim_mode (
    QmiMessageGasDmsSetFirmwareAutoSimInput *self,
    QmiGasFirmwareAutoSimMode *value_auto_sim_mode,
    GError **error);


/**
 * qmi_message_gas_dms_set_firmware_auto_sim_input_set_auto_sim_mode:
 * @self: a #QmiMessageGasDmsSetFirmwareAutoSimInput.
 * @value_auto_sim_mode: a #QmiGasFirmwareAutoSimMode.
 *d value should be freed with qmi_message_gas_dms_set_active_firmware_output_unref().
 *
 * Since: 1.34
 */
QmiMessageGasDmsSetActiveFirmwareOutput *qmi_message_gas_dms_set_active_firmware_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message GAS DMS Get Firmware List */


/**
 * SECTION: qmi-message-gas-dms-get-firmware-list
 * @title: GAS DMS Get Firmware List response
 * @short_description: Methods to manage the GAS DMS Get Firmware List response.
 *
 * Collection of methods to create requests and parse responses of the GAS DMS Get Firmware List message.
 */

/* --- Input -- */

/**
 * QmiMessageGasDmsGetFirmwareListInput:
 *
 * The #QmiMessageGasDmsGetFirmwareListInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.24
 */
typedef struct _QmiMessageGasDmsGetFirmwareListInput QmiMessageGasDmsGetFirmwareListInput;
GType qmi_message_gas_dms_get_firmware_list_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_GAS_DMS_GET_FIRMWARE_LIST_INPUT (qmi_message_gas_dms_get_firmware_list_input_get_type ())


/**
 * qmi_message_gas_dms_get_firmware_list_input_get_version:
 * @self: a #QmiMessageGasDmsGetFirmwareListInput.
 * @value_version: (out)(optional)(transfer none): a placeholder for the output constant string, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Version' fSTATUS_UNKNOWN                            = 11,
    QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_STATUS_GW_SERVICE_PROVIDER_NAME           = 12,
    QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_STATUS_GW_SP_EHPLMN                       = 13,
    QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_STATUS_GW_ICCID                           = 14,
    QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_STATUS_GW_IMPI                            = 15,
    QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_STATUS_GW_NETWORK_SUBSET_SERVICE_PROVIDER = 16,
    QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_STATUS_GW_CARRIER                         = 17,
} QmiUimCardApplicationPersonalizationFeatureStatus;

/*****************************************************************************/
/* Helper enums for the 'QMI UIM Refresh' indication */

/**
 * QmiUimRefreshStage:
 * @QMI_UIM_REFRESH_STAGE_WAIT_FOR_OK: Waiting for REFRESH OK message.
 * @QMI_UIM_REFRESH_STAGE_START: Refresh started.
 * @QMI_UIM_REFRESH_STAGE_END_WITH_SUCCESS: Refresh completed successfully.
 * @QMI_UIM_REFRESH_STAGE_END_WITH_FAILURE: Refresh has failed.
 *
 * Current stage of the refresh procedure.
 *
 * Since: 1.28
 */
typedef enum { /*< since=1.28 >*/
    QMI_UIM_REFRESH_STAGE_WAIT_FOR_OK      = 0,
    QMI_UIM_REFRESH_STAGE_START            = 1,
    QMI_UIM_REFRESH_STAGE_END_WITH_SUCCESS = 2,
    QMI_UIM_REFRESH_STAGE_END_WITH_FAILURE = 3
} QmiUimRefreshStage;

/**
 * QmiUimRefreshMode:
 * @QMI_UIM_REFRESH_MODE_RESET: ReseERNARY_GW_PROVISIONING = 12,
    QMI_UIM_SESSION_TYPE_QUATERNARY_1X_PROVISIONING = 13,
    QMI_UIM_SESSION_TYPE_QUINARY_GW_PROVISIONING    = 14,
    QMI_UIM_SESSION_TYPE_QUINARY_1X_PROVISIONING    = 15,
    QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_3     = 16,
    QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_4     = 17,
    QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_5     = 18,
    QMI_UIM_SESSION_TYPE_CARD_SLOT_3                = 19,
    QMI_UIM_SESSION_TYPE_CARD_SLOT_4                = 20,
    QMI_UIM_SESSION_TYPE_CARD_SLOT_5                = 21,
    QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_3     = 22,
    QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_4     = 23,
    QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_5     = 24,
} QmiUimSessionType;

/*****************************************************************************/
/* Helper enums for the 'QMI UIM Get File Attributes' request/response */

/**
 * QmiUimFileType:
 * @QMI_UIM_FILE_TYPE_TRANSPARENT: Transparent.
 * @QMI_UIM_FILE_TYPE_CYCLIC: Cyclic.
 * @QMI_UIM_FILE_TYPE_LINEAR_FIXED: Linear fixed.
 * @QMI_UIM_FILE_TYPE_DEDICATED_FILE: Dedicated file.
 * @QMI_UIM_FILE_TYPE_MASTER_FILE: Master file.
 *
 * Type of UIM file.
 *
 * Since: 1.6
 */
typedef enum { /*< since=1.6 >*/
    QMI_UIM_FILE_TYPE_TRANSPARENT    = 0,
    QMI_UIM_FILE_TYPE_CYCLIC         = 1,
    QMI_UIM_FILE_TYPE_LINEAR_FIXED   = 2,
    QMI_UIM_FILE_TYPE_DEDICATED_FILE = 3,
    QMI_UIM_FILE_TYPE_MASTER_FILE    = 4
} QmiUimFileType;

/**
 * QmiUimSecurityAttributeLogic:
 * @QN_BEARER_CAPABILITY_UNAVAILABLE: Bearer capability unavailable.
 * @QMI_VOICE_CALL_END_REASON_SERVICE_OPTION_NOT_AVAILABLE: Service option not available.
 * @QMI_VOICE_CALL_END_REASON_ACM_LIMIT_EXCEEDED: ACM limit exceeded.
 * @QMI_VOICE_CALL_END_REASON_BEARER_SERVICE_NOT_IMPLEMENTED: Bearer service not implemented.
 * @QMI_VOICE_CALL_END_REASON_REQUESTED_FACILITY_NOT_IMPLEMENTED: Requested facility not implemented.
 * @QMI_VOICE_CALL_END_REASON_ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE: Only digital information bearer available.
 * @QMI_VOICE_CALL_END_REASON_SERVICE_OR_OPTION_NOT_IMPLEMENTED: Service or option not implemented.
 * @QMI_VOICE_CALL_END_REASON_INVALID_TRANSACTION_IDENTIFIER: Invalid transaction identifier.
 * @QMI_VOICE_CALL_END_REASON_USER_NOT_MEMBER_OF_CUG: User not member of closed user group.
 * @QMI_VOICE_CALL_END_REASON_INCOMPATIBLE_DESTINATION: Incompatible destination.
 * @QMI_VOICE_CALL_END_REASON_INVALID_TRANSIT_NETWORK_SELECTION: Invalid transit network selection.
 * @QMI_VOICE_CALL_END_REASON_SEMANTICALLY_INCORRECT_MESSAGE: Semantically incorrect message.
 * @QMI_VOICE_CALL_END_REASON_INVALID_MANDATORY_INFORMATION: Invalid mandatory information.
 * @QMI_VOICE_CALL_END_REASON_MESSAGE_TYPE_NOT_IMPLEMENTED: Message type not implemented.
 * @QMI_VOICE_CALL_END_REASON_MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE: Message type not compatible with protocol state.
 * @QMI_VOICE_CALL_END_REASON_INFORMATION_ELEMENT_NON_EXISTENT: Information element non existent.
 * @QCall is being originated.
 * @QMI_VOICE_CALL_STATE_INCOMING: Incoming call.
 * @QMI_VOICE_CALL_STATE_CONVERSATION: Call is in progress.
 * @QMI_VOICE_CALL_STATE_CC_IN_PROGRESS: Call is originating but waiting for call control to complete.
 * @QMI_VOICE_CALL_STATE_ALERTING: Alerting.
 * @QMI_VOICE_CALL_STATE_HOLD: On hold.
 * @QMI_VOICE_CALL_STATE_WAITING: Waiting.
 * @QMI_VOICE_CALL_STATE_DISCONNECTING: Disconnecting.
 * @QMI_VOICE_CALL_STATE_END: Call is finished.
 * @QMI_VOICE_CALL_STATE_SETUP: 3GPP specific. MT call is in setup state.
 *
 * State of a call.
 *
 * Since: 1.14
 */
typedef enum { /*< since=1.14 >*/
    QMI_VOICE_CALL_STATE_UNKNOWN        = 0x00,
    QMI_VOICE_CALL_STATE_ORIGINATION    = 0x01,
    QMI_VOICE_CALL_STATE_INCOMING       = 0x02,
    QMI_VOICE_CALL_STATE_CONVERSATION   = 0x03,
    QMI_VOICE_CALL_STATE_CC_IN_PROGRESS = 0x04,
    QMI_VOICE_CALL_STATE_ALERTING       = 0x05,
    QMI_VOICE_CALL_STATE_HOLD           = 0x06,
    QMI_VOICE_CALL_STATE_WAITING        = 0x07,
    QMI_VOICE_CALL_STATE_DISCONNECTING  = 0x08,
    QMI_VOICE_CALL_STATE_END            = 0x09,
    QMI_VOICE_CALL_STATE_SETUP          = 0x0A,
} QmiVoiceCallState;

/**
 * QmiVoiceCallType:
 * @QMI_VOICE_CALL_TYPE_VOICE: Voice call.
 * @QMI_VOICE_CALL_TYPE_VOICE_IP: VoIP call.
 * @QMI_VOICE_CALL_TYPE_OTAPA: OTAPA.
 * @QMI_VOICE_CALL_TYPE_NON_STD_OTASP: Non-standard OTASP.
 * @QMI_VOICE_CALL_TYPE_EMERGENCY: Emergency call.
 * @QMI_VOICE_CALL_TYPE_SUPS: Supplementary service.
 *
 * Type of a voice carvices_status_response_parse:
 * @message: a #QmiMessage.
 * @error: return location for error or %NULL.
 *
 * Parses a #QmiMessage and builds a #QmiMessageImsaGetImsServicesStatusOutput out of it.
 * The operation fails if the message is of the wrong type.
 *
 * Returns: a #QmiMessageImsaGetImsServicesStatusOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_imsa_get_ims_services_status_output_unref().
 *
 * Since: 1.34
 */
QmiMessageImsaGetImsServicesStatusOutput *qmi_message_imsa_get_ims_services_status_response_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message IMSA Register Indications */


/**
 * SECTION: qmi-message-imsa-register-indications
 * @title: IMSA Register Indications response
 * @short_description: Methods to manage the IMSA Register Indications response.
 *
 * Collection of methods to create requests and parse responses of the IMSA Register Indications message.
 */

/* --- Input -- */

/**
 * QmiMessageImsaRegisterIndicationsInput:
 *
 * The #QmiMessageImsaRegisterIndicationsInput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.36
 */
typedef struct _QmiMessageImsaRegisterIndicationsInput QmiMessageImsaRegisterIndicationsInput;
GType qmi_message_imsa_register_indications_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_IMSA_REGISTER_INDICATIONS_INPUT (qmVE_QMI_MESSAGE_IMSA_BIND
#define HAVE_QMI_INDICATION_IMSA_IMS_REGISTRATION_STATUS_CHANGED
#define HAVE_QMI_INDICATION_IMSA_IMS_SERVICES_STATUS_CHANGED

/*****************************************************************************/
/* INDICATION: Qmi Indication IMSA IMS Registration Status Changed */


/**
 * SECTION: qmi-indication-imsa-ims-registration-status-changed
 * @title: IMSA IMS Registration Status Changed indication
 * @short_description: Methods to manage the IMSA IMS Registration Status Changed indication.
 *
 * Collection of methods to parse indications of the IMSA IMS Registration Status Changed message.
 */

/* --- Output -- */

/**
 * QmiIndicationImsaImsRegistrationStatusChangedOutput:
 *
 * The #QmiIndicationImsaImsRegistrationStatusChangedOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.36
 */
typedef struct _QmiIndicationImsaImsRegistrationStatusChangedOutput QmiIndicationImsaImsRegistrationStatusChangedOutput;
GType qmi_indication_imsa_ims_registration_status_changed_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_INDICATION_IMSA_IMS_REGISTRATION_STATUS_CHANGED_OUTPUT (qmi_indication_imsa_ims_registration_status_changed_output_get_type ())


/**
 * qmi_indication_imsa_ims_registration_status_changed_output_get_ims_registration_technology:
 * @self: a #QmiIndicationImsaImsRegistrationStatusChangedOutput.
 * @value_ims_registration_technology: (out)(optional): a placeholder for the output #QmiImsaRegisr priv_unused;
};

struct _QmiClientWdaClass {
    /*< private >*/
    QmiClientClass parent;
};

GType qmi_client_wda_get_type (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (QmiClientWda, g_object_unref)

/**
 * qmi_client_wda_get_supported_messages:
 * @self: a #QmiClientWda.
 * @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.
 *
 * Asynchronously sends a Get Supported Messages 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_wda_get_supported_messages_finish() to get the result of the operation.
 *
 * Since: 1.14
 */
void qmi_client_wda_get_supported_messages (
    QmiClientWda *self,
    gpointer unused,
    guint timeout,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

/**
 * qmi_client_wda_get_supported_messages_finish:
 * @self: a #QmiClientWda.
 * @res: the #GAsyncResult obtained from the #GAsyncReadyCallback passed to qmi_client_wda_get_supported_messages().
 * @error: Return location for error or %NULL.
 *
 * Finishes an async operation started with qmi_client_wda_get_supported_messages().
 *
 * Returns: a #QmiMessageWdaGetSupportedMessagesOutputType *value_endpoint_info_endpoint_type,
    guint32 *value_endpoint_info_interface_number,
    GError **error);


/**
 * qmi_message_wda_set_data_format_input_set_endpoint_info:
 * @self: a #QmiMessageWdaSetDataFormatInput.
 * @value_endpoint_info_endpoint_type: a #QmiDataEndpointType.
 * @value_endpoint_info_interface_number: a #guint32.
 * @error: Return location for error or %NULL.
 *
 * Set the 'Endpoint Info' field in the message.
 *
 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
 *
 * Since: 1.18
 */
gboolean qmi_message_wda_set_data_format_input_set_endpoint_info (
    QmiMessageWdaSetDataFormatInput *self,
    QmiDataEndpointType value_endpoint_info_endpoint_type,
    guint32 value_endpoint_info_interface_number,
    GError **error);


/**
 * qmi_message_wda_set_data_format_input_get_downlink_data_aggregation_max_size:
 * @self: a #QmiMessageWdaSetDataFormatInput.
 * @value_downlink_data_aggregation_max_size: (out)(optional): a placeholder for the output #guint32, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Downlink Data Aggregation Max Size' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.10
 */
gboolean qmi_message_wda_set_data_format_input_get_downlink_data_aggregation_max_size (
    QmiMessageWdaSetDataFormatInput *self,
    guint32 *value_downlink_data_aggregation_max_size,
    GError **error);


/**
 * qmi_message_wda_set_data_format_input_set_doUSB_COMPOSITION_18 = 18,
    QMI_DMS_SWI_USB_COMPOSITION_19 = 19,
    QMI_DMS_SWI_USB_COMPOSITION_20 = 20,
    QMI_DMS_SWI_USB_COMPOSITION_21 = 21,
    QMI_DMS_SWI_USB_COMPOSITION_22 = 22,
} QmiDmsSwiUsbComposition;

/**
 * qmi_dms_swi_usb_composition_get_description:
 * @value: a #QmiDmsSwiUsbComposition.
 *
 * Gets a text description of the Sierra Wireless USB composition.
 *
 * Since: 1.20
 * Returns: a string.
 */
const gchar *qmi_dms_swi_usb_composition_get_description (QmiDmsSwiUsbComposition value);

/*****************************************************************************/
/* Helper enums for the 'QMI DMS Foxconn Change Device Mode' message */

/**
 * QmiDmsFoxconnDeviceMode:
 * @QMI_DMS_FOXCONN_DEVICE_MODE_UNKNOWN: Unknown mode.
 * @QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_ONLINE: Fastboot download mode for full partition files.
 * @QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_OTA: Fastboot download mode for OTA files.
 *
 * Foxconn specific device modes.
 *
 * Since: 1.26
 */
typedef enum { /*< since=1.26 >*/
    QMI_DMS_FOXCONN_DEVICE_MODE_UNKNOWN         = 0,
    QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_ONLINE = 0x05,
    QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_OTA    = 0x0A,
} QmiDmsFoxconnDeviceMode;

/*****************************************************************************/
/* Helper enums for the 'QMI DMS Foxconn Get Firmware Version' message */

/**
 * QmiDmsFoxconnFirmwareVersionType:
 * @QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG: E.g. T77W968.F0.0.0.2.3.GC.004.
 * @Qlic License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301 USA.
 *
 * Copyright (C) 2012 Google Inc.
 * Copyright (C) 2012-2017 Aleksander Morgado <aleksander@aleksander.es>
 */

#ifndef _LIBQMI_GLIB_QMI_ENUMS_PDC_H_
#define _LIBQMI_GLIB_QMI_ENUMS_PDC_H_

#if !defined (__LIBQMI_GLIB_H_INSIDE__) && !defined (LIBQMI_GLIB_COMPILATION)
#error "Only <libqmi-glib.h> can be included directly."
#endif

/**
 * SECTION: qmi-enums-pdc
 * @title: PDC enumerations and flags
 * @short_description: Enumerations and flags in the PDC service.
 *
 * This section defines enumerations and flags used in the PDC service
 * interface.
 */

/*****************************************************************************/
/* Helper enums for the 'QMI PDC' calls */

/**
 * QmiPdcConfigurationType:
 * @QMI_PDC_CONFIGURATION_TYPE_PLATFORM: Platform
 * @QMI_PDC_CONFIGURATION_TYPE_SOFTWARE: Software
 *
 * Configuration type for change/load configuration.
 *
 * Since: 1.18
 */
typedef enum { /*< since=1.18 >*/
   QMI_PDC_CONFIGURATION_TYPE_PLATFORM = 0,
   QMI_PDC_CONFIGURATION_TYPE_SOFTWARE = 1,
} QmiPdcConfigurationType;

/**
 * QmiPdcRefreshEventType:
 * @QMI_PDC_REFRESH_START: Refresh start event
 * @QMI_PDC_REFRESH_COMPLETE: Refresh complete event
 * @QMI_PDC_REFRESH_CLIENT_REFRESH: Client refresh event
 *
 * Refresh event ty_TETHERED = 0x01,
    QMI_WDS_CLIENT_TYPE_UNDEFINED = 0xFF,
} QmiWdsClientType;

/**
 * QMI_WDS_RATE_UNAVAILABLE:
 *
 * The TX/RX rate information is unavailable or cannot be measured.
 *
 * Since: 1.22.4
 */
#define QMI_WDS_RATE_UNAVAILABLE 0xFFFFFFFF

/**
 * QmiWdsIpSupportType:
 * @QMI_WDS_I
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#ifndef __LIBQMI_GLIB_FLAG_TYPES_H__
#define __LIBQMI_GLIB_FLAG_TYPES_H__
#include "qmi-enums.h"
#include "qmi-enums-wds.h"
#include "qmi-enums-dms.h"
#include "qmi-enums-nas.h"
#include "qmi-enums-wms.h"
#include "qmi-enums-pds.h"
#include "qmi-enums-pdc.h"
#include "qmi-enums-pbm.h"
#include "qmi-enums-uim.h"
#include "qmi-enums-sar.h"
#include "qmi-enums-oma.h"
#include "qmi-enums-wda.h"
#include "qmi-enums-voice.h"
#include "qmi-enums-loc.h"
#include "qmi-enums-qos.h"
#include "qmi-enums-gas.h"
#include "qmi-enums-dsd.h"
#include "qmi-enums-fox.h"
#include "qmi-enums-ssc.h"
#include "qmi-device.h"

#include <glib-object.h>

G_BEGIN_DECLS

/* enumerations from "../src/libqmi-glib/qmi-device.h" */
GType qmi_device_open_flags_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_DEVICE_OPEN_FLAGS (qmi_device_open_flags_get_type ())

/* Define type-specific symbols */
#define __QMI_DEVICE_OPEN_FLAGS_IS_FLAGS__

/**
 * qmi_device_open_flags_build_string_from_mask:
 * @mask: bitmask of QmiDeviceOpe_ERROR_3GPP_VALID_FLAG_NOT_SET     = 1004,
    QMI_WDS_DS_PROFILE_ERROR_3GPP_READ_ONLY_FLAG_SET     = 1005,
    QMI_WDS_DS_PROFILE_ERROR_3GPP_OUT_OF_PROFILES        = 1006,
    QMI_WDS_DS_PROFILE_ERROR_3GPP2_INVALID_PROFILE_ID    = 1101,
} QmiWdsDsProfileError;

/**
 * QmiWdsAutoconnectSetting:
 * @QMI_WDS_AUTOCONNECT_SETTING_DISABLED: Disabled.
 * @QMI_WDS_AUTOCONNECT_SETTING_ENABLED: Enabled.
 * @QMI_WDS_AUTOCONNECT_SETTING_PAUSED: Paused, resume on power cycle.
 *
 * Status of the autoconnect setting.
 *
 * Since: 1.14
 */
typedef enum { /*< since=1.14 >*/
    QMI_WDS_AUTOCONNECT_SETTING_DISABLED = 0,
    QMI_WDS_AUTOCONNECT_SETTING_ENABLED  = 1,
    QMI_WDS_AUTOCONNECT_SETTING_PAUSED   = 2,
} QmiWdsAutoconnectSetting;

/**
 * QmiWdsAutoconnectSettingRoaming:
 * @QMI_WDS_AUTOCONNECT_SETTING_ROAMING_ALLOWED: Autoconnect always allowed, even when roaming.
 * @QMI_WDS_AUTOCONNECT_SETTING_ROAMING_HOME_ONLY: Autoconnect allowed only in home network.
 *
 * Status of the autoconnect setting while roaming.
 *
 * Since: 1.14
 */
typedef enum { /*< since=1.14 >*/
    QMI_WDS_AUTOCONNECT_SETTING_ROAMING_ALLOWED   = 0,
    QMI_WDS_AUTOCONNECT_SETTING_ROAMING_HOME_ONLY = 1,
} QmiWdsAutoconnectSettingRoaming;

/*****************************************************************************/
/* Helper enums for the 'QMI WDS Set Event Report' message */

/**
 * QmiWdsSetEventReportTransferStatistics:
 * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_PACKETS_OK: report TX packet successes.
 * TDSCDMA: TD-SCDMA.
 *
 * Data system type.
 *
 * Since: 1.18
 */
typedef enum { /*< since=1.18 >*/
    QMI_WDS_DATA_SYSTEM_UNKNOWN     = 0,
    QMI_WDS_DATA_SYSTEM_CDMA1X      = 1,
    QMI_WDS_DATA_SYSTEM_CDMA1X_EVDO = 2,
    QMI_WDS_DATA_SYSTEM_GPRS        = 3,
    QMI_WDS_DATA_SYSTEM_WCDMA       = 4,
    QMI_WDS_DATA_SYSTEM_LTE         = 5,
    QMI_WDS_DATA_SYSTEM_TDSCDMA     = 6,
} QmiWdsDataSystem;

/**
 * QmiWdsRat3gpp2:
 * @QMI_WDS_RAT_3GPP2_NONE: Unknown, to be ignored.
 * @QMI_WDS_RAT_3GPP2_CDMA1X: CDMA 1x.
 * @QMI_WDS_RAT_3GPP2_EVDO_REV0: EVDO Rev0.
 * @QMI_WDS_RAT_3GPP2_EVDO_REVA: EVDO RevA.
 * @QMI_WDS_RAT_3GPP2_EVDO_REVB: EVDO RevB.
 * @QMI_WDS_RAT_3GPP2_EHRPD: eHRPD. Since 1.18.
 * @QMI_WDS_RAT_3GPP2_FMC: FMC. Since 1.18.
 * @QMI_WDS_RAT_3GPP2_NULL_BEARER: No bearer.
 *
 * Flags specifying the 3GPP2-specific Radio Access Technology, when the data
 * bearer network type is @QMI_WDS_NETWORK_TYPE_3GPP2.
 *
 * Since: 1.0
 */
typedef enum { /*< underscore_name=qmi_wds_rat_3gpp2,since=1.0 >*/
    QMI_WDS_RAT_3GPP2_NONE        = 0,
    QMI_WDS_RAT_3GPP2_CDMA1X      = 1 << 0,
    QMI_WDS_RAT_3GPP2_EVDO_REV0   = 1 << 1,
    QMI_WDS_RAT_3GPP2_EVDO_REVA   = 1 << 2,
    QMI_WDS_RAT_3GPP2_EVDO_REVB   = 1 << 3,
    QMI_WDS_RAT_3GPP2_EHRPD       = 1 << 4,
    QMI_WDS_RAT_3GPP2_FMC         = 1 << 5,
    QMI_WDS_RAT_3GPP2_NULL_BEARER = 1 << 15
} QmiWdsRat3gpp2;

/**
 * QmiWdsRat3gpp:
 * @QMI_WDS_RAT_3GPP_NONE: Unknown, to be ignored.
 * @QMI_WDS_RAT_3GPP_WCDMA: WCDMA.
 * @QMI_WDS_RAT_3GPP_G_UE_SECURITY_CAPABILITIES_MISMATCH: User Equipment (UE) security capabilities mismatch. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_SECURITY_MODE_REJECT_UNSPECIFIED: Security mode reject unspecified. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NON_EPS_AUTH_UNACCEPTABLE: Non-EPS authentication unaccpetable. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CS_FALLBACK_CALL_ESTABLISHMENT_NOT_ALLOWED: Circuit-Switched Fallback (CSFB) call establishment not allowed. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_EPS_BEARER_CONTEXT_ACTIVATED: No EPS bearer context activated. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_INVALID_STATE: EMM invalid state. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NAS_LAYER_FAILURE: NAS layer failure. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_MULTI_PDN_NOT_ALLOWED: Multi-PDN not allowed. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMBMS_NOT_ENABLED: EMBMS not enabled. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_PENDING_REDIAL_CALL_CLEANUP: Pending redial call cleanup. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMBMS_REGULAR_DEACTIVATION: EMBMS regular deactivation. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_TLB_REGULAR_DEACTIVATION: TLB regular deactivation. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LOWER_LAYER_REGISTRATION_FAILURE: Lower layer registration failure. Since 1.36.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_DETACH_EPS_SERVICES_NOT_ALLOWED: Detach EPS services not alERBOSE_CALL_END_REASON_CM_ALERT_STOP: CDMA specific. Received alert stop from the BS.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACTIVATION: CDMA specific. Received end activation.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_MAX_ACCESS_PROBES: CDMA specific. Maximum access probes transmitted.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CCS_NOT_SUPPORTED_BY_BS: CDMA specific. Concurrent service not supported by the BS.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_RESPONSE_FROM_BS: CDMA specific. No response received from the BS.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_REJECTED_BY_BS: CDMA specific. Rejected by the BS.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INCOMPATIBLE: CDMA specific. Concurrent services requested are incompatible.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ALREADY_IN_TC: CDMA specific. Already in TC.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED_DURING_GPS: CDMA specific. Call originated during GPS.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED_DURING_SMS: CDMA specific. Call originated during SMS.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_CDMA_SERVICE: CDMA specific. No service.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_MC_ABORT: MC abort. Since 1.24.10.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_PSIST_NG: Persistence test failure. Since 1.24.10.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_UIM_NOT_PRESENT: UIM not present. Since 1.24.10.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_RETRY_ORDER: Retry order.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_BLOCK: Access blocked. Since.0
 */
typedef enum { /*< since=1.0 >*/
    QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_MIP      = 1,
    QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_INTERNAL = 2,
    QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_CM       = 3,
    QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_3GPP     = 6,
    QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_PPP      = 7,
    QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_EHRPD    = 8,
    QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_IPV6     = 9
} QmiWdsVerboseCallEndReasonType;

/**
 * qmi_wds_verbose_call_end_reason_get_string:
 * @type: a #QmiWdsVerboseCallEndReasonType.
 * @reason: the reason id.
 *
 * Get verbose call end reason based on the reason type.
 *
 * Returns: (transfer none): a string with the reason, or %NULL if not found. Do not free the returned value.
 *
 * Since: 1.0
 */
const gchar *qmi_wds_verbose_call_end_reason_get_string (QmiWdsVerboseCallEndReasonType type,
                                                         gint16                         reason);

/**
 * QmiWdsVerboseCallEndReasonMip:
 * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_ERROR_REASON_UNKNOWN: Unknown reason.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REASON_UNSPECIFIED: FA error. Reason unspecified.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_ADMINISTRATIVELY_PROHIBITED: FA error. Administratively prohibited.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_INSUFFICIENT_RESOURCES: FA error. Insufficient resources.
 * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MOBILE_NODE_AUTHENTICATION_FAILURE: FA error. Mobile nonce: 1.0
 */
gchar *qmi_nas_lte_band_preference_build_string_from_mask (QmiNasLteBandPreference mask);

/* enumerations from "../src/libqmi-glib/qmi-flags64-wds.h" */

#define __QMI_WDS_APN_TYPE_MASK_IS_FLAGS__

#if defined __QMI_WDS_APN_TYPE_MASK_IS_ENUM__
#error Only flags expected, QmiWdsApnTypeMask is an enumeration
#endif

/**
 * qmi_wds_apn_type_mask_build_string_from_mask:
 * @mask: bitmask of QmiWdsApnTypeMask values.
 *
 * Builds a string containing a comma-separated list of nicknames for
 * each #QmiWdsApnTypeMask in @mask.
 *
 * Returns: (transfer full): a string with the list of nicknames, or %NULL if none given. The returned value should be freed with g_free().
 * Since: 1.30
 */
gchar *qmi_wds_apn_type_mask_build_string_from_mask (QmiWdsApnTypeMask mask);
G_END_DECLS

#endif /* __LIBQMI_GLIB_FLAGS64_TYPES_H__ */

/* Generated data ends here */

/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * libqmi-glib -- GLib/GIO based library to control QMI devices
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public Lic_card_result_sw1,
    guint8 *value_card_result_sw2,
    GError **error);


/**
 * qmi_message_uim_change_pin_output_get_result:
 * @self: a QmiMessageUimChangePinOutput.
 * @error: Return location for error or %NULL.
 *
 * Get the result of the QMI operation.
 *
 * Returns: (skip): %TRUE if the QMI operation succeeded, %FALSE if @error is set.
 *
 * Since: 1.14
 */
gboolean qmi_message_uim_change_pin_output_get_result (
    QmiMessageUimChangePinOutput *self,
    GError **error);


/**
 * qmi_message_uim_change_pin_output_get_retries_remaining:
 * @self: a #QmiMessageUimChangePinOutput.
 * @value_retries_remaining_verify_retries_left: (out)(optional): a placeholder for the output #guint8, or %NULL if not required.
 * @value_retries_remaining_unblock_retries_left: (out)(optional): a placeholder for the output #guint8, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Retries Remaining' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.14
 */
gboolean qmi_message_uim_change_pin_output_get_retries_remaining (
    QmiMessageUimChangePinOutput *self,
    guint8 *value_retries_remaining_verify_retries_left,
    guint8 *value_retries_remaining_unblock_retries_left,
    GError **error);


/**
 * qmi_message_uim_change_pin_output_get_response_in_indication_token:
 * @self: a #QmiMessageUimChangePinOutput.
 * @value_response_in_indication_token: (out)(optional): a placeholder for the output #guint32, or %N
    guint32 *value_response_in_indication_token,
    GError **error);


/**
 * qmi_message_uim_set_pin_protection_input_set_response_in_indication_token:
 * @self: a #QmiMessageUimSetPinProtectionInput.
 * @value_response_in_indication_token: a #guint32.
 * @error: Return location for error or %NULL.
 *
 * Set the 'Response In Indication Token' field in the message.
 *
 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
 *
 * Since: 1.14
 */
gboolean qmi_message_uim_set_pin_protection_input_set_response_in_indication_token (
    QmiMessageUimSetPinProtectionInput *self,
    guint32 value_response_in_indication_token,
    GError **error);


/**
 * qmi_message_uim_set_pin_protection_input_get_info:
 * @self: a #QmiMessageUimSetPinProtectionInput.
 * @value_info_pin_id: (out)(optional): a placeholder for the output #QmiUimPinId, or %NULL if not required.
 * @value_info_pin_enabled: (out)(optional): a placeholder for the output #gboolean, or %NULL if not required.
 * @value_info_pin_value: (out)(optional)(transfer none): a placeholder for the output constant string, or %NULL if not required.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Info' field from @self.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.14
 */
gboolean qmi_message_uim_set_pin_protection_input_get_info (
    QmiMessageUimSetPinProtectionInput *self,
    QmiUimPinId *value_info_pin_id,
    gboolean *value_info_pin_enabled,
    const gchar **valut-type guint8)(transfer none): a #GArray of #guint8 elements. A new reference to @value_session_application_identifier will be taken, so the caller must make sure the array was created with the correct #GDestroyNotify as clear function for each element in the array.
 * @error: Return location for error or %NULL.
 *
 * Set the 'Session' field in the message.
 *
 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
 *
 * Since: 1.22
 */
gboolean qmi_message_uim_read_record_input_set_session (
    QmiMessageUimReadRecordInput *self,
    QmiUimSessionType value_session_session_type,
    GArray *value_session_application_identifier,
    GError **error);


/**
 * qmi_message_uim_read_record_input_ref:
 * @self: a #QmiMessageUimReadRecordInput.
 *
 * Atomically increments the reference count of @self by one.
 *
 * Returns: the new reference to @self.
 *
 * Since: 1.6
 */
QmiMessageUimReadRecordInput *qmi_message_uim_read_record_input_ref (QmiMessageUimReadRecordInput *self);

/**
 * qmi_message_uim_read_record_input_unref:
 * @self: a #QmiMessageUimReadRecordInput.
 *
 * Atomically decrements the reference count of @self by one.
 * If the reference count drops to 0, @self is completely disposed.
 *
 * Since: 1.6
 */
void qmi_message_uim_read_record_input_unref (QmiMessageUimReadRecordInput *self);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (QmiMessageUimReadRecordInput, qmi_message_uim_read_record_input_unref)

/**
 * qmi_message_uim_read_record_input_new:
 *
 * Allocates a new #QmiMeion for error or %NULL.
 *
 * Parses a #QmiMessage and builds a #QmiIndicationUimSlotStatusOutput out of it.
 * The operation fails if the message is of the wrong type.
 *
 * 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
 */
QmiIndicationUimSlotStatusOutput *qmi_indication_uim_slot_status_indication_parse (
    QmiMessage *message,
    GError **error);

/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message UIM Reset */


/**
 * SECTION: qmi-message-uim-reset
 * @title: UIM Reset response
 * @short_description: Methods to manage the UIM Reset response.
 *
 * Collection of methods to create requests and parse responses of the UIM Reset message.
 */

/* --- Input -- */

/* Note: no fields in the Input container */

/* --- Output -- */

/**
 * QmiMessageUimResetOutput:
 *
 * The #QmiMessageUimResetOutput structure contains private data and should only be accessed
 * using the provided API.
 *
 * Since: 1.6
 */
typedef struct _QmiMessageUimResetOutput QmiMessageUimResetOutput;
GType qmi_message_uim_reset_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_UIM_RESET_OUTPUT (qmi_message_uim_reset_output_get_type ())


/**
 * qmi_message_uim_reset_output_get_result:
 * @self: a QmiMessageUimResetOutput.
 * @error: Return location for error or %NULL.
 *
 * Get the result of the QMI operation.
 *
 *x_1x_secondary: (out)(optional): a placeholder for the output #guint16, or %NULL if not required.
 * @value_card_status_cards_ptr: (out)(optional)(element-type QmiIndicationUimCardStatusOutputCardStatusCardsElementGir)(transfer none): a placeholder for the output array of #QmiIndicationUimCardStatusOutputCardStatusCardsElement elements, or %NULL if not required. Do not free or modify it, it is owned by @self.
 * @error: Return location for error or %NULL.
 *
 * Get the 'Card Status' field from @self.
 *
 * Version of qmi_indication_uim_card_status_output_get_card_status() using arrays of pointers to
 * structs instead of arrays of structs, for easier binding in other languages.
 *
 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
 *
 * Since: 1.32
 */
gboolean qmi_indication_uim_card_status_output_get_card_status_gir (
    QmiIndicationUimCardStatusOutput *self,
    guint16 *value_card_status_index_gw_primary,
    guint16 *value_card_status_index_1x_primary,
    guint16 *value_card_status_index_gw_secondary,
    guint16 *value_card_status_index_1x_secondary,
    GPtrArray **value_card_status_cards_ptr,
    GError **error);


/**
 * qmi_indication_uim_card_status_output_ref:
 * @self: a #QmiIndicationUimCardStatusOutput.
 *
 * Atomically increments the reference count of @self by one.
 *
 * Returns: the new reference to @se