Functions

  core_error_get_string (val)
  core_error_quark ()
  ctl_data_format_get_string (val)
  ctl_data_link_protocol_get_string (val)
  ctl_flag_build_string_from_mask (mask)
  data_endpoint_type_get_string (val)
  device_expected_data_format_get_string (val)
  device_open_flags_build_string_from_mask (mask)
  device_release_client_flags_build_string_from_mask (mask)
  dms_activation_state_get_string (val)
  dms_band_capability_build_string_from_mask (mask)
  dms_boot_image_download_mode_get_string (val)
  dms_data_service_capability_get_string (val)
  dms_dell_device_mode_get_string (val)
  dms_dell_firmware_version_type_get_string (val)
  dms_firmware_image_type_get_string (val)
  dms_foxconn_device_mode_get_string (val)
  dms_foxconn_device_mode_get_type ()
  dms_foxconn_firmware_version_type_get_string (val)
  dms_foxconn_firmware_version_type_get_type ()
  dms_hp_device_mode_get_string (val)
  dms_lte_band_capability_build_string_from_mask (mask)
  dms_mac_type_get_string (val)
  dms_offline_reason_build_string_from_mask (mask)
  dms_operating_mode_get_string (val)
  dms_power_state_build_string_from_mask (mask)
  dms_radio_interface_get_string (val)
  dms_sim_capability_get_string (val)
  dms_swi_usb_composition_get_description (value)
  dms_swi_usb_composition_get_string (val)
  dms_time_reference_type_get_string (val)
  dms_time_source_get_string (val)
  dms_uim_facility_get_string (val)
  dms_uim_facility_state_get_string (val)
  dms_uim_pin_id_get_string (val)
  dms_uim_pin_status_get_string (val)
  dms_uim_state_get_string (val)
  dsd_apn_type_get_string (val)
  dsd_apn_type_preference_build_string_from_mask (mask)
  gas_firmware_listing_mode_get_string (val)
  loc_delete_cell_database_build_string_from_mask (mask)
  loc_delete_clock_info_build_string_from_mask (mask)
  loc_delete_gnss_data_build_string_from_mask (mask)
  loc_delete_sv_info_build_string_from_mask (mask)
  loc_engine_state_get_string (val)
  loc_event_registration_flag_build_string_from_mask (mask)
  loc_fix_recurrence_type_get_string (val)
  loc_health_status_get_string (val)
  loc_indication_status_get_string (val)
  loc_intermediate_report_state_get_string (val)
  loc_navigation_data_get_string (val)
  loc_nmea_type_build_string_from_mask (mask)
  loc_operation_mode_get_string (val)
  loc_predicted_orbits_data_format_get_string (val)
  loc_reliability_get_string (val)
  loc_satellite_status_get_string (val)
  loc_satellite_valid_information_build_string_from_mask (mask)
  loc_sensor_data_usage_build_string_from_mask (mask)
  loc_server_address_type_build_string_from_mask (mask)
  loc_server_type_get_string (val)
  loc_session_status_get_string (val)
  loc_system_get_string (val)
  loc_technology_used_build_string_from_mask (mask)
  loc_time_source_get_string (val)
  message_add_raw_tlv (self, type, raw, length)
  message_dms_dell_change_device_mode_input_get_mode (self, value_mode)
  message_dms_dell_change_device_mode_input_get_type ()
  message_dms_dell_change_device_mode_input_new ()
  message_dms_dell_change_device_mode_input_ref (self)
  message_dms_dell_change_device_mode_input_set_mode (self, value_mode)
  message_dms_dell_change_device_mode_input_unref (self)
  message_dms_dell_change_device_mode_output_get_result (self)
  message_dms_dell_change_device_mode_output_get_type ()
  message_dms_dell_change_device_mode_output_ref (self)
  message_dms_dell_change_device_mode_output_unref (self)
  message_dms_dell_get_firmware_version_input_get_type ()
  message_dms_dell_get_firmware_version_input_get_version_type (self, value_version_type)
  message_dms_dell_get_firmware_version_input_new ()
  message_dms_dell_get_firmware_version_input_ref (self)
  message_dms_dell_get_firmware_version_input_set_version_type (self, value_version_type)
  message_dms_dell_get_firmware_version_input_unref (self)
  message_dms_dell_get_firmware_version_output_get_result (self)
  message_dms_dell_get_firmware_version_output_get_type ()
  message_dms_dell_get_firmware_version_output_get_version (self, value_version)
  message_dms_dell_get_firmware_version_output_ref (self)
  message_dms_dell_get_firmware_version_output_unref (self)
  message_foreach_raw_tlv (self, func, *user_data)
  message_get_client_id (self)
  message_get_data (self)
  message_get_length (self)
  message_get_message_id (self)
  message_get_printable (self, line_prefix)
  message_get_printable_full (self, context, line_prefix)
  message_get_raw (self)
  message_get_raw_tlv (self, type)
  message_get_service (self)
  message_get_tlv_printable (self, line_prefix, type, raw, raw_length)
  message_get_transaction_id (self)
  message_get_version_introduced (self)
  message_get_version_introduced_full (self, context)
  message_is_indication (self)
  message_is_request (self)
  message_is_response (self)
  message_new (service, client_id, transaction_id, message_id)
  message_new_from_data (service, client_id, qmi_data)
  message_new_from_raw (raw)
  message_ref (self)
  message_response_new (request, error)
  message_set_transaction_id (self, transaction_id)
  message_tlv_read_fixed_size_string (self, tlv_offset, offset, string_length)
  message_tlv_read_gdouble (self, tlv_offset, offset, endian)
  message_tlv_read_gfloat (self, tlv_offset, offset, out)
  message_tlv_read_gfloat_endian (self, tlv_offset, offset, endian)
  message_tlv_read_gint16 (self, tlv_offset, offset, endian)
  message_tlv_read_gint32 (self, tlv_offset, offset, endian)
  message_tlv_read_gint64 (self, tlv_offset, offset, endian)
  message_tlv_read_gint8 (self, tlv_offset, offset)
  message_tlv_read_guint16 (self, tlv_offset, offset, endian)
  message_tlv_read_guint32 (self, tlv_offset, offset, endian)
  message_tlv_read_guint64 (self, tlv_offset, offset, endian)
  message_tlv_read_guint8 (self, tlv_offset, offset)
  message_tlv_read_init (self, type)
  message_tlv_read_sized_guint (self, tlv_offset, offset, n_bytes, endian)
  message_tlv_read_string (self, tlv_offset, offset, n_size_prefix_bytes, max_size)
  message_tlv_write_complete (self, tlv_offset)
  message_tlv_write_gint16 (self, endian, in_)
  message_tlv_write_gint32 (self, endian, in_)
  message_tlv_write_gint64 (self, endian, in_)
  message_tlv_write_gint8 (self, in_)
  message_tlv_write_guint16 (self, endian, in_)
  message_tlv_write_guint32 (self, endian, in_)
  message_tlv_write_guint64 (self, endian, in_)
  message_tlv_write_guint8 (self, in_)
  message_tlv_write_init (self, type)
  message_tlv_write_reset (self, tlv_offset)
  message_tlv_write_sized_guint (self, n_bytes, endian, in_)
  message_tlv_write_string (self, n_size_prefix_bytes, in_, in_length)
  message_unref (self)
  nas_active_band_get_string (val)
  nas_attach_state_get_string (val)
  nas_band_preference_build_string_from_mask (mask)
  nas_call_barring_status_get_string (val)
  nas_cdma_pilot_type_get_string (val)
  nas_cdma_prl_preference_get_string (val)
  nas_cell_broadcast_capability_get_string (val)
  nas_change_duration_get_string (val)
  nas_data_capability_get_string (val)
  nas_day_of_week_get_string (val)
  nas_daylight_savings_adjustment_get_string (val)
  nas_dl_bandwidth_get_string (val)
  nas_evdo_sinr_level_get_string (val)
  nas_gsm_wcdma_acquisition_order_preference_get_string (val)
  nas_hdr_personality_get_string (val)
  nas_hdr_protocol_revision_get_string (val)
  nas_lte_band_preference_build_string_from_mask (mask)
  nas_lte_cell_access_status_get_string (val)
  nas_lte_registration_domain_get_string (val)
  nas_network_description_display_get_string (val)
  nas_network_description_encoding_get_string (val)
  nas_network_name_display_condition_build_string_from_mask (mask)
  nas_network_name_source_get_string (val)
  nas_network_register_type_get_string (val)
  nas_network_scan_result_get_string (val)
  nas_network_scan_type_build_string_from_mask (mask)
  nas_network_selection_preference_get_string (val)
  nas_network_selection_registration_restriction_get_string (val)
  nas_network_service_domain_get_string (val)
  nas_network_status_build_string_from_mask (mask)
  nas_network_type_get_string (val)
  nas_plmn_encoding_scheme_get_string (val)
  nas_plmn_name_country_initials_get_string (val)
  nas_plmn_name_spare_bits_get_string (val)
  nas_preference_duration_get_string (val)
  nas_ps_attach_action_get_string (val)
  nas_radio_interface_get_string (val)
  nas_radio_technology_preference_build_string_from_mask (mask)
  nas_rat_mode_preference_build_string_from_mask (mask)
  nas_read_string_from_network_description_encoded_array (encoding, array)
  nas_read_string_from_plmn_encoded_array (encoding, array)
  nas_registration_state_get_string (val)
  nas_roaming_indicator_status_get_string (val)
  nas_roaming_preference_get_string (val)
  nas_roaming_status_get_string (val)
  nas_scell_state_get_string (val)
  nas_service_domain_preference_get_string (val)
  nas_service_status_get_string (val)
  nas_signal_strength_request_build_string_from_mask (mask)
  nas_sim_reject_state_get_string (val)
  nas_swi_emm_connection_state_get_string (val)
  nas_swi_emm_state_get_string (val)
  nas_swi_ims_reg_state_get_string (val)
  nas_swi_modem_mode_get_string (val)
  nas_swi_ps_state_get_string (val)
  nas_swi_system_mode_get_string (val)
  nas_td_scdma_band_preference_build_string_from_mask (mask)
  nas_usage_preference_get_string (val)
  nas_voice_domain_preference_get_string (val)
  nas_wcdma_hs_service_get_string (val)
  nas_wcdma_rrc_state_get_string (val)
  oma_hfa_feature_done_state_get_string (val)
  oma_session_failed_reason_get_string (val)
  oma_session_state_get_string (val)
  oma_session_type_get_string (val)
  pbm_event_registration_flag_build_string_from_mask (mask)
  pbm_phonebook_type_build_string_from_mask (mask)
  pbm_session_type_get_string (val)
  pdc_configuration_type_get_string (val)
  pds_data_valid_build_string_from_mask (mask)
  pds_network_mode_get_string (val)
  pds_operating_mode_get_string (val)
  pds_operation_mode_get_string (val)
  pds_position_session_status_get_string (val)
  pds_tracking_session_state_get_string (val)
  protocol_error_get_string (val)
  protocol_error_quark ()
  qos_event_get_string (val)
  qos_status_get_string (val)
  service_flag_build_string_from_mask (mask)
  service_get_string (val)
  uim_card_application_personalization_feature_get_string (val)
  uim_card_application_personalization_state_get_string (val)
  uim_card_application_state_get_string (val)
  uim_card_application_type_get_string (val)
  uim_card_error_get_string (val)
  uim_card_protocol_get_string (val)
  uim_card_state_get_string (val)
  uim_event_registration_flag_build_string_from_mask (mask)
  uim_file_type_get_string (val)
  uim_physical_card_state_get_string (val)
  uim_pin_id_get_string (val)
  uim_pin_state_get_string (val)
  uim_security_attribute_build_string_from_mask (mask)
  uim_security_attribute_logic_get_string (val)
  uim_session_type_get_string (val)
  uim_slot_state_get_string (val)
  utils_get_traces_enabled ()
  utils_read_fixed_size_string_from_buffer (buffer, buffer_size, fixed_size, out)
  utils_read_gfloat_from_buffer (buffer, buffer_size, out)
  utils_read_gint16_from_buffer (buffer, buffer_size, endian, out)
  utils_read_gint32_from_buffer (buffer, buffer_size, endian, out)
  utils_read_gint64_from_buffer (buffer, buffer_size, endian, out)
  utils_read_gint8_from_buffer (buffer, buffer_size, out)
  utils_read_guint16_from_buffer (buffer, buffer_size, endian, out)
  utils_read_guint32_from_buffer (buffer, buffer_size, endian, out)
  utils_read_guint64_from_buffer (buffer, buffer_size, endian, out)
  utils_read_guint8_from_buffer (buffer, buffer_size, out)
  utils_read_sized_guint_from_buffer (buffer, buffer_size, n_bytes, endian, out)
  utils_read_string_from_buffer (buffer, buffer_size, length_prefix_size, max_size, out)
  utils_set_traces_enabled (enabled)
  utils_write_fixed_size_string_to_buffer (buffer, buffer_size, fixed_size, in_)
  utils_write_gint16_to_buffer (buffer, buffer_size, endian, in_)
  utils_write_gint32_to_buffer (buffer, buffer_size, endian, in_)
  utils_write_gint64_to_buffer (buffer, buffer_size, endian, in_)
  utils_write_gint8_to_buffer (buffer, buffer_size, in_)
  utils_write_guint16_to_buffer (buffer, buffer_size, endian, in_)
  utils_write_guint32_to_buffer (buffer, buffer_size, endian, in_)
  utils_write_guint64_to_buffer (buffer, buffer_size, endian, in_)
  utils_write_guint8_to_buffer (buffer, buffer_size, in_)
  utils_write_sized_guint_to_buffer (buffer, buffer_size, n_bytes, endian, in_)
  utils_write_string_to_buffer (buffer, buffer_size, length_prefix_size, in_)
  voice_alpha_data_coding_scheme_get_string (val)
  voice_als_get_string (val)
  voice_call_control_result_type_get_string (val)
  voice_call_control_supplementary_service_type_get_string (val)
  voice_call_direction_get_string (val)
  voice_call_end_reason_get_string (val)
  voice_call_mode_get_string (val)
  voice_call_state_get_string (val)
  voice_call_type_get_string (val)
  voice_domain_get_string (val)
  voice_presentation_get_string (val)
  voice_privacy_get_string (val)
  voice_service_option_get_string (val)
  voice_tty_mode_get_string (val)
  voice_user_action_get_string (val)
  voice_uss_data_coding_scheme_get_string (val)
  voice_wcdma_amr_status_build_string_from_mask (mask)
  wda_data_aggregation_protocol_get_string (val)
  wda_link_layer_protocol_get_string (val)
  wds_authentication_build_string_from_mask (mask)
  wds_autoconnect_setting_get_string (val)
  wds_autoconnect_setting_roaming_get_string (val)
  wds_call_end_reason_get_string (val)
  wds_call_type_get_string (val)
  wds_client_type_get_string (val)
  wds_connection_status_get_string (val)
  wds_data_bearer_technology_get_string (val)
  wds_data_call_status_get_string (val)
  wds_data_call_type_get_string (val)
  wds_data_system_get_string (val)
  wds_data_system_network_type_get_string (val)
  wds_delivery_order_get_string (val)
  wds_dormancy_status_get_string (val)
  wds_ds_profile_error_get_string (val)
  wds_extended_data_bearer_technology_3gpp2_build_string_from_mask (mask)
  wds_extended_data_bearer_technology_3gpp_build_string_from_mask (mask)
  wds_extended_technology_preference_get_string (val)
  wds_get_current_settings_requested_settings_build_string_from_mask (mask)
  wds_ip_family_get_string (val)
  wds_network_type_get_string (val)
  wds_packet_statistics_mask_flag_build_string_from_mask (mask)
  wds_pdp_data_compression_type_get_string (val)
  wds_pdp_header_compression_type_get_string (val)
  wds_pdp_type_get_string (val)
  wds_profile_family_get_string (val)
  wds_profile_type_get_string (val)
  wds_qos_class_identifier_get_string (val)
  wds_radio_access_technology_get_string (val)
  wds_rat_3gpp2_build_string_from_mask (mask)
  wds_rat_3gpp_build_string_from_mask (mask)
  wds_sdu_erroneous_delivery_get_string (val)
  wds_sdu_error_ratio_get_string (val)
  wds_sdu_residual_bit_error_ratio_get_string (val)
  wds_set_event_report_transfer_statistics_build_string_from_mask (mask)
  wds_so_cdma1x_build_string_from_mask (mask)
  wds_so_evdo_rev0_build_string_from_mask (mask)
  wds_so_evdo_reva_build_string_from_mask (mask)
  wds_so_evdo_revb_build_string_from_mask (mask)
  wds_technology_preference_build_string_from_mask (mask)
  wds_tethered_call_type_get_string (val)
  wds_traffic_class_get_string (val)
  wds_verbose_call_end_reason_3gpp_get_string (val)
  wds_verbose_call_end_reason_cm_get_string (val)
  wds_verbose_call_end_reason_ehrpd_get_string (val)
  wds_verbose_call_end_reason_get_string (type, reason)
  wds_verbose_call_end_reason_internal_get_string (val)
  wds_verbose_call_end_reason_ipv6_get_string (val)
  wds_verbose_call_end_reason_mip_get_string (val)
  wds_verbose_call_end_reason_ppp_get_string (val)
  wds_verbose_call_end_reason_type_get_string (val)
  wms_ack_indicator_get_string (val)
  wms_cdma_cause_code_get_string (val)
  wms_cdma_error_class_get_string (val)
  wms_cdma_service_option_get_string (val)
  wms_gsm_umts_rp_cause_get_string (val)
  wms_gsm_umts_tp_cause_get_string (val)
  wms_message_class_get_string (val)
  wms_message_delivery_failure_type_get_string (val)
  wms_message_format_get_string (val)
  wms_message_mode_get_string (val)
  wms_message_protocol_get_string (val)
  wms_message_tag_type_get_string (val)
  wms_message_type_get_string (val)
  wms_notification_type_get_string (val)
  wms_receipt_action_get_string (val)
  wms_storage_type_get_string (val)
  wms_transfer_indication_get_string (val)

Details

Qmi.core_error_get_string(val)
Parameters:val (Qmi.CoreError) – a Qmi.CoreError.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.CoreError specified at val.

New in version 1.0.

Qmi.core_error_quark()
Return type:int
Qmi.ctl_data_format_get_string(val)
Parameters:val (Qmi.CtlDataFormat) – a Qmi.CtlDataFormat.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.CtlDataFormat specified at val.

Parameters:val (Qmi.CtlDataLinkProtocol) – a Qmi.CtlDataLinkProtocol.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.CtlDataLinkProtocol specified at val.

Qmi.ctl_flag_build_string_from_mask(mask)
Parameters:mask (Qmi.CtlFlag) – bitmask of Qmi.CtlFlag values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.CtlFlag in mask.

Qmi.data_endpoint_type_get_string(val)
Parameters:val (Qmi.DataEndpointType) – a Qmi.DataEndpointType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DataEndpointType specified at val.

New in version 1.18.

Qmi.device_expected_data_format_get_string(val)
Parameters:val (Qmi.DeviceExpectedDataFormat) – a Qmi.DeviceExpectedDataFormat.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DeviceExpectedDataFormat specified at val.

New in version 1.14.

Qmi.device_open_flags_build_string_from_mask(mask)
Parameters:mask (Qmi.DeviceOpenFlags) – bitmask of Qmi.DeviceOpenFlags values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.DeviceOpenFlags in mask.

New in version 1.0.

Qmi.device_release_client_flags_build_string_from_mask(mask)
Parameters:mask (Qmi.DeviceReleaseClientFlags) – bitmask of Qmi.DeviceReleaseClientFlags values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.DeviceReleaseClientFlags in mask.

New in version 1.0.

Qmi.dms_activation_state_get_string(val)
Parameters:val (Qmi.DmsActivationState) – a Qmi.DmsActivationState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsActivationState specified at val.

New in version 1.0.

Qmi.dms_band_capability_build_string_from_mask(mask)
Parameters:mask (Qmi.DmsBandCapability) – bitmask of Qmi.DmsBandCapability values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.DmsBandCapability in mask.

New in version 1.0.

Qmi.dms_boot_image_download_mode_get_string(val)
Parameters:val (Qmi.DmsBootImageDownloadMode) – a Qmi.DmsBootImageDownloadMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsBootImageDownloadMode specified at val.

New in version 1.18.

Qmi.dms_data_service_capability_get_string(val)
Parameters:val (Qmi.DmsDataServiceCapability) – a Qmi.DmsDataServiceCapability.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsDataServiceCapability specified at val.

New in version 1.0.

Qmi.dms_dell_device_mode_get_string(val)
Parameters:val (Qmi.DmsDellDeviceMode) – a Qmi.DmsDellDeviceMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsDellDeviceMode specified at val.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.dms_foxconn_device_mode_get_string() instead.

Qmi.dms_dell_firmware_version_type_get_string(val)
Parameters:val (Qmi.DmsDellFirmwareVersionType) – a Qmi.DmsFoxconnFirmwareVersionType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsFoxconnFirmwareVersionType specified at val.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.dms_foxconn_firmware_version_type_get_string() instead.

Qmi.dms_firmware_image_type_get_string(val)
Parameters:val (Qmi.DmsFirmwareImageType) – a Qmi.DmsFirmwareImageType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsFirmwareImageType specified at val.

New in version 1.0.

Qmi.dms_foxconn_device_mode_get_string(val)
Parameters:val (Qmi.DmsFoxconnDeviceMode) – a Qmi.DmsFoxconnDeviceMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsFoxconnDeviceMode specified at val.

New in version 1.26.

Qmi.dms_foxconn_device_mode_get_type()
Return type:GObject.GType
Qmi.dms_foxconn_firmware_version_type_get_string(val)
Parameters:val (Qmi.DmsFoxconnFirmwareVersionType) – a Qmi.DmsFoxconnFirmwareVersionType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsFoxconnFirmwareVersionType specified at val.

New in version 1.26.

Qmi.dms_foxconn_firmware_version_type_get_type()
Return type:GObject.GType
Qmi.dms_hp_device_mode_get_string(val)
Parameters:val (Qmi.DmsHpDeviceMode) – a Qmi.DmsHpDeviceMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsHpDeviceMode specified at val.

New in version 1.18.

Qmi.dms_lte_band_capability_build_string_from_mask(mask)
Parameters:mask (Qmi.DmsLteBandCapability) – bitmask of Qmi.DmsLteBandCapability values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.DmsLteBandCapability in mask.

New in version 1.0.

Qmi.dms_mac_type_get_string(val)
Parameters:val (Qmi.DmsMacType) – a Qmi.DmsMacType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsMacType specified at val.

New in version 1.26.

Qmi.dms_offline_reason_build_string_from_mask(mask)
Parameters:mask (Qmi.DmsOfflineReason) – bitmask of Qmi.DmsOfflineReason values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.DmsOfflineReason in mask.

New in version 1.0.

Qmi.dms_operating_mode_get_string(val)
Parameters:val (Qmi.DmsOperatingMode) – a Qmi.DmsOperatingMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsOperatingMode specified at val.

New in version 1.0.

Qmi.dms_power_state_build_string_from_mask(mask)
Parameters:mask (Qmi.DmsPowerState) – bitmask of Qmi.DmsPowerState values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.DmsPowerState in mask.

New in version 1.0.

Qmi.dms_radio_interface_get_string(val)
Parameters:val (Qmi.DmsRadioInterface) – a Qmi.DmsRadioInterface.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsRadioInterface specified at val.

New in version 1.0.

Qmi.dms_sim_capability_get_string(val)
Parameters:val (Qmi.DmsSimCapability) – a Qmi.DmsSimCapability.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsSimCapability specified at val.

New in version 1.0.

Qmi.dms_swi_usb_composition_get_description(value)
Parameters:value (Qmi.DmsSwiUsbComposition) – a Qmi.DmsSwiUsbComposition.
Returns:a string.
Return type:str

Gets a text description of the Sierra Wireless USB composition.

New in version 1.20.

Qmi.dms_swi_usb_composition_get_string(val)
Parameters:val (Qmi.DmsSwiUsbComposition) – a Qmi.DmsSwiUsbComposition.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsSwiUsbComposition specified at val.

New in version 1.20.

Qmi.dms_time_reference_type_get_string(val)
Parameters:val (Qmi.DmsTimeReferenceType) – a Qmi.DmsTimeReferenceType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsTimeReferenceType specified at val.

New in version 1.0.

Qmi.dms_time_source_get_string(val)
Parameters:val (Qmi.DmsTimeSource) – a Qmi.DmsTimeSource.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsTimeSource specified at val.

New in version 1.0.

Qmi.dms_uim_facility_get_string(val)
Parameters:val (Qmi.DmsUimFacility) – a Qmi.DmsUimFacility.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsUimFacility specified at val.

New in version 1.0.

Qmi.dms_uim_facility_state_get_string(val)
Parameters:val (Qmi.DmsUimFacilityState) – a Qmi.DmsUimFacilityState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsUimFacilityState specified at val.

New in version 1.0.

Qmi.dms_uim_pin_id_get_string(val)
Parameters:val (Qmi.DmsUimPinId) – a Qmi.DmsUimPinId.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsUimPinId specified at val.

New in version 1.0.

Qmi.dms_uim_pin_status_get_string(val)
Parameters:val (Qmi.DmsUimPinStatus) – a Qmi.DmsUimPinStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsUimPinStatus specified at val.

New in version 1.0.

Qmi.dms_uim_state_get_string(val)
Parameters:val (Qmi.DmsUimState) – a Qmi.DmsUimState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DmsUimState specified at val.

New in version 1.0.

Qmi.dsd_apn_type_get_string(val)
Parameters:val (Qmi.DsdApnType) – a Qmi.DsdApnType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.DsdApnType specified at val.

New in version 1.26.

Qmi.dsd_apn_type_preference_build_string_from_mask(mask)
Parameters:mask (Qmi.DsdApnTypePreference) – bitmask of Qmi.DsdApnTypePreference values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.DsdApnTypePreference in mask.

New in version 1.26.

Qmi.gas_firmware_listing_mode_get_string(val)
Parameters:val (Qmi.GasFirmwareListingMode) – a Qmi.GasFirmwareListingMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.GasFirmwareListingMode specified at val.

New in version 1.24.

Qmi.loc_delete_cell_database_build_string_from_mask(mask)
Parameters:mask (Qmi.LocDeleteCellDatabase) – bitmask of Qmi.LocDeleteCellDatabase values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocDeleteCellDatabase in mask.

New in version 1.22.

Qmi.loc_delete_clock_info_build_string_from_mask(mask)
Parameters:mask (Qmi.LocDeleteClockInfo) – bitmask of Qmi.LocDeleteClockInfo values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocDeleteClockInfo in mask.

New in version 1.22.

Qmi.loc_delete_gnss_data_build_string_from_mask(mask)
Parameters:mask (Qmi.LocDeleteGnssData) – bitmask of Qmi.LocDeleteGnssData values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocDeleteGnssData in mask.

New in version 1.22.

Qmi.loc_delete_sv_info_build_string_from_mask(mask)
Parameters:mask (Qmi.LocDeleteSvInfo) – bitmask of Qmi.LocDeleteSvInfo values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocDeleteSvInfo in mask.

New in version 1.22.

Qmi.loc_engine_state_get_string(val)
Parameters:val (Qmi.LocEngineState) – a Qmi.LocEngineState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocEngineState specified at val.

New in version 1.22.

Qmi.loc_event_registration_flag_build_string_from_mask(mask)
Parameters:mask (Qmi.LocEventRegistrationFlag) – bitmask of Qmi.LocEventRegistrationFlag values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocEventRegistrationFlag in mask.

New in version 1.22.

Qmi.loc_fix_recurrence_type_get_string(val)
Parameters:val (Qmi.LocFixRecurrenceType) – a Qmi.LocFixRecurrenceType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocFixRecurrenceType specified at val.

New in version 1.22.

Qmi.loc_health_status_get_string(val)
Parameters:val (Qmi.LocHealthStatus) – a Qmi.LocHealthStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocHealthStatus specified at val.

New in version 1.22.

Qmi.loc_indication_status_get_string(val)
Parameters:val (Qmi.LocIndicationStatus) – a Qmi.LocIndicationStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocIndicationStatus specified at val.

New in version 1.22.

Qmi.loc_intermediate_report_state_get_string(val)
Parameters:val (Qmi.LocIntermediateReportState) – a Qmi.LocIntermediateReportState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocIntermediateReportState specified at val.

New in version 1.20.

Qmi.loc_navigation_data_get_string(val)
Parameters:val (Qmi.LocNavigationData) – a Qmi.LocNavigationData.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocNavigationData specified at val.

New in version 1.22.

Qmi.loc_nmea_type_build_string_from_mask(mask)
Parameters:mask (Qmi.LocNmeaType) – bitmask of Qmi.LocNmeaType values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocNmeaType in mask.

New in version 1.26.

Qmi.loc_operation_mode_get_string(val)
Parameters:val (Qmi.LocOperationMode) – a Qmi.LocOperationMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocOperationMode specified at val.

New in version 1.22.

Qmi.loc_predicted_orbits_data_format_get_string(val)
Parameters:val (Qmi.LocPredictedOrbitsDataFormat) – a Qmi.LocPredictedOrbitsDataFormat.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocPredictedOrbitsDataFormat specified at val.

New in version 1.22.

Qmi.loc_reliability_get_string(val)
Parameters:val (Qmi.LocReliability) – a Qmi.LocReliability.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocReliability specified at val.

New in version 1.22.

Qmi.loc_satellite_status_get_string(val)
Parameters:val (Qmi.LocSatelliteStatus) – a Qmi.LocSatelliteStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocSatelliteStatus specified at val.

New in version 1.22.

Qmi.loc_satellite_valid_information_build_string_from_mask(mask)
Parameters:mask (Qmi.LocSatelliteValidInformation) – bitmask of Qmi.LocSatelliteValidInformation values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocSatelliteValidInformation in mask.

New in version 1.22.

Qmi.loc_sensor_data_usage_build_string_from_mask(mask)
Parameters:mask (Qmi.LocSensorDataUsage) – bitmask of Qmi.LocSensorDataUsage values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocSensorDataUsage in mask.

New in version 1.22.

Qmi.loc_server_address_type_build_string_from_mask(mask)
Parameters:mask (Qmi.LocServerAddressType) – bitmask of Qmi.LocServerAddressType values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocServerAddressType in mask.

New in version 1.22.

Qmi.loc_server_type_get_string(val)
Parameters:val (Qmi.LocServerType) – a Qmi.LocServerType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocServerType specified at val.

New in version 1.22.

Qmi.loc_session_status_get_string(val)
Parameters:val (Qmi.LocSessionStatus) – a Qmi.LocSessionStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocSessionStatus specified at val.

New in version 1.22.

Qmi.loc_system_get_string(val)
Parameters:val (Qmi.LocSystem) – a Qmi.LocSystem.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocSystem specified at val.

New in version 1.22.

Qmi.loc_technology_used_build_string_from_mask(mask)
Parameters:mask (Qmi.LocTechnologyUsed) – bitmask of Qmi.LocTechnologyUsed values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.LocTechnologyUsed in mask.

New in version 1.22.

Qmi.loc_time_source_get_string(val)
Parameters:val (Qmi.LocTimeSource) – a Qmi.LocTimeSource.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.LocTimeSource specified at val.

New in version 1.22.

Qmi.message_add_raw_tlv(self, type, raw, length)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • type (int) – specific ID of the TLV to add.
  • raw (int) – raw data buffer with the value of the TLV.
  • length (int) – length of the raw data buffer.
Raises:

GLib.Error

Returns:

True if the TLV is successfully added, otherwise False is returned and error is set.

Return type:

bool

Creates a new type TLV with the value given in raw, and adds it to the #QmiMessage.

New in version 1.0.

Qmi.message_dms_dell_change_device_mode_input_get_mode(self, value_mode)
Parameters:
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

Return type:

bool

Get the ‘Mode’ field from self.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnChangeDeviceModeInput.get_mode() instead.

Qmi.message_dms_dell_change_device_mode_input_get_type()
Return type:GObject.GType
Qmi.message_dms_dell_change_device_mode_input_new()
Returns:the newly created #QmiMessageDmsDellChangeDeviceModeInput. The returned value should be freed with Qmi.message_dms_dell_change_device_mode_input_unref().
Return type:Qmi.MessageDmsFoxconnChangeDeviceModeInput

Allocates a new #QmiMessageDmsDellChangeDeviceModeInput.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnChangeDeviceModeInput.new() instead.

Qmi.message_dms_dell_change_device_mode_input_ref(self)
Parameters:self (Qmi.MessageDmsFoxconnChangeDeviceModeInput) – a #QmiMessageDmsDellChangeDeviceModeInput.
Returns:the new reference to self.
Return type:Qmi.MessageDmsFoxconnChangeDeviceModeInput

Atomically increments the reference count of self by one.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnChangeDeviceModeInput.ref() instead.

Qmi.message_dms_dell_change_device_mode_input_set_mode(self, value_mode)
Parameters:
Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Mode’ field in the message.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnChangeDeviceModeInput.set_mode() instead.

Qmi.message_dms_dell_change_device_mode_input_unref(self)
Parameters:self (Qmi.MessageDmsFoxconnChangeDeviceModeInput) – a #QmiMessageDmsDellChangeDeviceModeInput.

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

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnChangeDeviceModeInput.unref() instead.

Qmi.message_dms_dell_change_device_mode_output_get_result(self)
Parameters:self (Qmi.MessageDmsFoxconnChangeDeviceModeOutput) – a QmiMessageDmsDellChangeDeviceModeOutput.
Raises:GLib.Error
Returns:True if the QMI operation succeeded, False if error is set.
Return type:bool

Get the result of the QMI operation.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnChangeDeviceModeOutput.get_result() instead.

Qmi.message_dms_dell_change_device_mode_output_get_type()
Return type:GObject.GType
Qmi.message_dms_dell_change_device_mode_output_ref(self)
Parameters:self (Qmi.MessageDmsFoxconnChangeDeviceModeOutput) – a #QmiMessageDmsDellChangeDeviceModeOutput.
Returns:the new reference to self.
Return type:Qmi.MessageDmsFoxconnChangeDeviceModeOutput

Atomically increments the reference count of self by one.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnChangeDeviceModeOutput.ref() instead.

Qmi.message_dms_dell_change_device_mode_output_unref(self)
Parameters:self (Qmi.MessageDmsFoxconnChangeDeviceModeOutput) – a #QmiMessageDmsDellChangeDeviceModeOutput.

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

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnChangeDeviceModeOutput.unref() instead.

Qmi.message_dms_dell_get_firmware_version_input_get_type()
Return type:GObject.GType
Qmi.message_dms_dell_get_firmware_version_input_get_version_type(self, value_version_type)
Parameters:
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

Return type:

bool

Get the ‘Version Type’ field from self.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionInput.get_version_type() instead.

Qmi.message_dms_dell_get_firmware_version_input_new()
Returns:the newly created #QmiMessageDmsDellGetFirmwareVersionInput. The returned value should be freed with Qmi.message_dms_dell_get_firmware_version_input_unref().
Return type:Qmi.MessageDmsFoxconnGetFirmwareVersionInput

Allocates a new #QmiMessageDmsDellGetFirmwareVersionInput.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionInput.new() instead.

Qmi.message_dms_dell_get_firmware_version_input_ref(self)
Parameters:self (Qmi.MessageDmsFoxconnGetFirmwareVersionInput) – a #QmiMessageDmsDellGetFirmwareVersionInput.
Returns:the new reference to self.
Return type:Qmi.MessageDmsFoxconnGetFirmwareVersionInput

Atomically increments the reference count of self by one.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionInput.ref() instead.

Qmi.message_dms_dell_get_firmware_version_input_set_version_type(self, value_version_type)
Parameters:
Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Version Type’ field in the message.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionInput.set_version_type() instead.

Qmi.message_dms_dell_get_firmware_version_input_unref(self)
Parameters:self (Qmi.MessageDmsFoxconnGetFirmwareVersionInput) – a #QmiMessageDmsDellGetFirmwareVersionInput.

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

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionInput.unref() instead.

Qmi.message_dms_dell_get_firmware_version_output_get_result(self)
Parameters:self (Qmi.MessageDmsFoxconnGetFirmwareVersionOutput) – a QmiMessageDmsDellGetFirmwareVersionOutput.
Raises:GLib.Error
Returns:True if the QMI operation succeeded, False if error is set.
Return type:bool

Get the result of the QMI operation.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionOutput.get_result() instead.

Qmi.message_dms_dell_get_firmware_version_output_get_type()
Return type:GObject.GType
Qmi.message_dms_dell_get_firmware_version_output_get_version(self, value_version)
Parameters:
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

Return type:

bool

Get the ‘Version’ field from self.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionOutput.get_version() instead.

Qmi.message_dms_dell_get_firmware_version_output_ref(self)
Parameters:self (Qmi.MessageDmsFoxconnGetFirmwareVersionOutput) – a #QmiMessageDmsDellGetFirmwareVersionOutput.
Returns:the new reference to self.
Return type:Qmi.MessageDmsFoxconnGetFirmwareVersionOutput

Atomically increments the reference count of self by one.

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionOutput.ref() instead.

Qmi.message_dms_dell_get_firmware_version_output_unref(self)
Parameters:self (Qmi.MessageDmsFoxconnGetFirmwareVersionOutput) – a #QmiMessageDmsDellGetFirmwareVersionOutput.

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

New in version 1.22.4.

Deprecated since version 1.26: Use Qmi.MessageDmsFoxconnGetFirmwareVersionOutput.unref() instead.

Qmi.message_foreach_raw_tlv(self, func, *user_data)
Parameters:

Calls the given function for each TLV found within the #QmiMessage.

New in version 1.0.

Qmi.message_get_client_id(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:the client ID.
Return type:int

Gets the client ID of the message.

New in version 1.0.

Qmi.message_get_data(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Raises:GLib.Error
Returns:The raw QMI buffer, or None if error is set.
length:return location for the size of the output buffer.
Return type:(int, length: int)

Gets the data buffer of the #QmiMessage without the QMUX header.

New in version 1.24.

Qmi.message_get_length(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:the length of the raw data.
Return type:int

Gets the length of the raw data corresponding to the given #QmiMessage.

New in version 1.0.

Qmi.message_get_message_id(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:the ID.
Return type:int

Gets the ID of the message.

New in version 1.0.

Qmi.message_get_printable(self, line_prefix)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • line_prefix (str) – prefix string to use in each new generated line.
Returns:

a newly allocated string, which should be freed with GLib.free().

Return type:

str

Gets a printable string with the contents of the whole QMI message.

If known, the printable string will contain translated TLV values as well as the raw data buffer contents.

New in version 1.0.

Deprecated since version 1.18: Use Qmi.message_get_printable_full() instead.

Qmi.message_get_printable_full(self, context, line_prefix)
Parameters:
Returns:

a newly allocated string, which should be freed with GLib.free().

Return type:

str

Gets a printable string with the contents of the whole QMI message.

If known, the printable string will contain translated TLV values as well as the raw data buffer contents.

The translation of the contents may be specific to the context provided, e.g. for vendor-specific messages.

If no context given, the behavior is the same as Qmi.message_get_printable().

New in version 1.18.

Qmi.message_get_raw(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Raises:GLib.Error
Returns:The raw data buffer, or None if error is set.
length:return location for the size of the output buffer.
Return type:(int, length: int)

Gets the raw data buffer of the #QmiMessage.

New in version 1.0.

Qmi.message_get_raw_tlv(self, type)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • type (int) – specific ID of the TLV to get.
Returns:

The raw data buffer of the TLV, or None if not found.

length:return location for the length of the TLV.

Return type:

(int, length: int)

Get the raw data buffer of a specific TLV within the #QmiMessage.

New in version 1.0.

Qmi.message_get_service(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:a Qmi.Service.
Return type:Qmi.Service

Gets the service corresponding to the given #QmiMessage.

New in version 1.0.

Qmi.message_get_tlv_printable(self, line_prefix, type, raw, raw_length)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • line_prefix (str) – prefix string to use in each new generated line.
  • type (int) – type of the TLV.
  • raw (int) – raw data buffer with the value of the TLV.
  • raw_length (int) – length of the raw data buffer.
Returns:

a newly allocated string, which should be freed with GLib.free().

Return type:

str

Gets a printable string with the contents of the TLV.

This method is the most generic one and doesn’t try to translate the TLV contents.

New in version 1.0.

Qmi.message_get_transaction_id(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:the transaction ID.
Return type:int

Gets the transaction ID of the message.

New in version 1.0.

Qmi.message_get_version_introduced(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:True if major and minor are set, False otherwise.
major:return location for the major version.
minor:return location for the minor version.
Return type:(bool, major: int, minor: int)

Gets, if known, the service version in which the given message was first introduced.

New in version 1.0.

Deprecated since version 1.18: Use Qmi.message_get_version_introduced_full() instead.

Qmi.message_get_version_introduced_full(self, context)
Parameters:
Returns:

True if major and minor are set, False otherwise.

major:return location for the major version.
minor:return location for the minor version.

Return type:

(bool, major: int, minor: int)

Gets, if known, the service version in which the given message was first introduced.

The lookup of the version may be specific to the context provided, e.g. for vendor-specific messages.

If no context given, the behavior is the same as Qmi.message_get_version_introduced().

Since 1.26, this method will return False as the library no longer provides version information for each message, given that this information was never reliable.

New in version 1.18.

Deprecated since version 1.26: The version information of each message is no longer available.

Qmi.message_is_indication(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:True if self is an indication message, False otherwise.
Return type:bool

Checks whether the given #QmiMessage is an indication.

New in version 1.0.

Qmi.message_is_request(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:True if self is a request message, False otherwise.
Return type:bool

Checks whether the given #QmiMessage is a request.

New in version 1.8.

Qmi.message_is_response(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:True if self is a response message, False otherwise.
Return type:bool

Checks whether the given #QmiMessage is a response.

New in version 1.0.

Qmi.message_new(service, client_id, transaction_id, message_id)
Parameters:
  • service (Qmi.Service) – a Qmi.Service
  • client_id (int) – client ID of the originating control point.
  • transaction_id (int) – transaction ID.
  • message_id (int) – message ID.
Returns:

a newly created #QmiMessage. The returned value should be freed with Qmi.message_unref().

Return type:

GLib.ByteArray

Create a new #QmiMessage with the specified parameters.

Note that transaction_id must be less than GObject.G_MAXUINT8 if service is Qmi.Service.CTL.

New in version 1.0.

Qmi.message_new_from_data(service, client_id, qmi_data)
Parameters:
  • service (Qmi.Service) – a Qmi.Service
  • client_id (int) – client ID of the originating control point.
  • qmi_data (bytes) – data buffer containing only the QMI part of the message.
Raises:

GLib.Error

Returns:

a newly created #QmiMessage, which should be freed with Qmi.message_unref(). If qmi_data doesn’t contain a complete QMI data payload None is returned. If there is a complete QMI data payload but it appears not to be valid, None is returned and error is set.

qmi_data:data buffer containing only the QMI part of the message.

Return type:

(GLib.ByteArray, qmi_data: bytes)

Create a new #QmiMessage for the given service and client_id and including the given QMI data buffer.

Whenever a complete QMI message is read, its data gets removed from the qmi_data buffer.

This method should be used instead of Qmi.message_new_from_raw() if the input data doesn’t have QMUX headers.

New in version 1.24.

Qmi.message_new_from_raw(raw)
Parameters:raw (bytes) – raw data buffer.
Raises:GLib.Error
Returns:a newly created #QmiMessage, which should be freed with Qmi.message_unref(). If raw doesn’t contain a complete QMI message None is returned. If there is a complete QMI message but it appears not to be valid, None is returned and error is set.
raw:raw data buffer.
Return type:(GLib.ByteArray, raw: bytes)

Create a new #QmiMessage from the given raw data buffer.

Whenever a complete QMI message is read, its raw data gets removed from the raw buffer.

New in version 1.0.

Qmi.message_ref(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.
Returns:the new reference to self.
Return type:GLib.ByteArray

Atomically increments the reference count of self by one.

New in version 1.0.

Qmi.message_response_new(request, error)
Parameters:
Returns:

a newly created #QmiMessage. The returned value should be freed with Qmi.message_unref().

Return type:

GLib.ByteArray

Create a new response #QmiMessage for the specified request.

New in version 1.8.

Qmi.message_set_transaction_id(self, transaction_id)
Parameters:

Overwrites the transaction ID of the message.

New in version 1.8.

Qmi.message_tlv_read_fixed_size_string(self, tlv_offset, offset, string_length)
Parameters:
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:buffer preallocated by the client, with at least string_length bytes.

Return type:

(bool, offset: int, out: str)

Reads a string from the TLV.

The string written in out will need to be NUL-terminated by the caller.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

Since 1.24.6 the read string is guaranteed to be valid UTF-8.

The fixed sized field may be suffixed with e.g. 0xFF if the contents are shorter than string_length. Since 1.26, this method will return the valid UTF-8 characters in the start of the string, instead of returning an error when doing the full UTF-8 string validation.

New in version 1.12.

Qmi.message_tlv_read_gdouble(self, tlv_offset, offset, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read float.

Return type:

(bool, offset: int, out: float)

Reads a 64-bit floating-point number from the TLV.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.22.

Qmi.message_tlv_read_gfloat(self, tlv_offset, offset, out)
Parameters:
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

Return type:

bool

Reads a 32-bit floating-point number from the TLV.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

The implementation assumes the float is encoded with the same endianness as the host, which may not be true. The use of this method is discouraged, and new code should use Qmi.message_tlv_read_gfloat_endian() instead.

New in version 1.12.

Deprecated since version 1.22: Use Qmi.message_tlv_read_gfloat_endian() instead.

Qmi.message_tlv_read_gfloat_endian(self, tlv_offset, offset, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read float.

Return type:

(bool, offset: int, out: float)

Reads a 32-bit floating-point number from the TLV.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_gint16(self, tlv_offset, offset, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read #gint16.

Return type:

(bool, offset: int, out: int)

Reads a signed 16-bit integer from the TLV, in host byte order.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_gint32(self, tlv_offset, offset, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read #gint32.

Return type:

(bool, offset: int, out: int)

Reads a signed 32-bit integer from the TLV, in host byte order.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_gint64(self, tlv_offset, offset, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read #gint64.

Return type:

(bool, offset: int, out: int)

Reads a signed 64-bit integer from the TLV, in host byte order.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_gint8(self, tlv_offset, offset)
Parameters:
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read #gint8.

Return type:

(bool, offset: int, out: int)

Reads a signed byte from the TLV.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_guint16(self, tlv_offset, offset, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read #guint16.

Return type:

(bool, offset: int, out: int)

Reads an unsigned 16-bit integer from the TLV, in host byte order.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_guint32(self, tlv_offset, offset, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read #guint32.

Return type:

(bool, offset: int, out: int)

Reads an unsigned 32-bit integer from the TLV, in host byte order.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_guint64(self, tlv_offset, offset, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read #guint64.

Return type:

(bool, offset: int, out: int)

Reads an unsigned 64-bit integer from the TLV, in host byte order.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_guint8(self, tlv_offset, offset)
Parameters:
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of the offset within the TLV value.
out:return location for the read #guint8.

Return type:

(bool, offset: int, out: int)

Reads an unsigned byte from the TLV.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_init(self, type)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • type (int) – specific ID of the TLV to read.
Raises:

GLib.Error

Returns:

the offset where the TLV starts, or 0 if an error happens.

out_tlv_length:optional return location for the TLV size.

Return type:

(int, out_tlv_length: int)

Starts reading a given TLV from the #QmiMessage.

New in version 1.12.

Qmi.message_tlv_read_sized_guint(self, tlv_offset, offset, n_bytes, endian)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • n_bytes (int) – number of bytes to read.
  • endian (Qmi.Endian) – source endianness, which will be swapped to host byte order if necessary.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read #guint64.

Return type:

(bool, offset: int, out: int)

Reads a b_bytes-sized integer from the TLV, in host byte order.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

New in version 1.12.

Qmi.message_tlv_read_string(self, tlv_offset, offset, n_size_prefix_bytes, max_size)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • tlv_offset (int) – offset that was returned by Qmi.message_tlv_read_init().
  • offset (int) – address of a the offset within the TLV value.
  • n_size_prefix_bytes (int) – number of bytes used in the size prefix.
  • max_size (int) – maximum number of bytes to read, or 0 to read all available bytes.
Raises:

GLib.Error

Returns:

True if the variable is successfully read, otherwise False is returned and error is set.

offset:address of a the offset within the TLV value.
out:return location for the read string. The returned value should be freed with GLib.free().

Return type:

(bool, offset: int, out: str)

Reads a string from the TLV.

offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.

Since 1.24.6 the read string is guaranteed to be valid UTF-8. Also, in order to overcome known firmware errors on string fields, this method will also attempt to parse the string as GSM-7 or UCS-2 if the initial UTF-8 validation fails.

New in version 1.12.

Qmi.message_tlv_write_complete(self, tlv_offset)
Parameters:
Raises:

GLib.Error

Returns:

True if the TLV is successfully completed, otherwise False is returned and error is set.

Return type:

bool

Completes building a TLV in the #QmiMessage.

In case of error the TLV will be reseted; i.e. there is no need to explicitly call Qmi.message_tlv_write_reset().

New in version 1.12.

Qmi.message_tlv_write_gint16(self, endian, in_)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • endian (Qmi.Endian) – target endianness, swapped from host byte order if necessary.
  • in (int) – a #gint16 in host byte order.
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends a signed 16-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

New in version 1.12.

Qmi.message_tlv_write_gint32(self, endian, in_)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • endian (Qmi.Endian) – target endianness, swapped from host byte order if necessary.
  • in (int) – a #gint32 in host byte order.
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends a signed 32-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

New in version 1.12.

Qmi.message_tlv_write_gint64(self, endian, in_)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • endian (Qmi.Endian) – target endianness, swapped from host byte order if necessary.
  • in (int) – a #gint64 in host byte order.
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends a signed 32-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

New in version 1.12.

Qmi.message_tlv_write_gint8(self, in_)
Parameters:
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends a signed byte variable to the TLV being built.

New in version 1.12.

Qmi.message_tlv_write_guint16(self, endian, in_)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • endian (Qmi.Endian) – target endianness, swapped from host byte order if necessary.
  • in (int) – a #guint16 in host byte order.
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends an unsigned 16-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

New in version 1.12.

Qmi.message_tlv_write_guint32(self, endian, in_)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • endian (Qmi.Endian) – target endianness, swapped from host byte order if necessary.
  • in (int) – a #guint32 in host byte order.
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends an unsigned 32-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

New in version 1.12.

Qmi.message_tlv_write_guint64(self, endian, in_)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • endian (Qmi.Endian) – target endianness, swapped from host byte order if necessary.
  • in (int) – a #guint64 in host byte order.
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends an unsigned 64-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

New in version 1.12.

Qmi.message_tlv_write_guint8(self, in_)
Parameters:
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends an unsigned byte to the TLV being built.

New in version 1.12.

Qmi.message_tlv_write_init(self, type)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • type (int) – specific ID of the TLV to add.
Raises:

GLib.Error

Returns:

the offset where the TLV was started to be added, or 0 if an error happens.

Return type:

int

Starts building a new TLV in the #QmiMessage.

In order to finish adding the TLV, Qmi.message_tlv_write_complete() needs to be called.

If any error happens adding fields on the TLV, the previous state can be recovered using Qmi.message_tlv_write_reset().

New in version 1.12.

Qmi.message_tlv_write_reset(self, tlv_offset)
Parameters:

Removes the TLV being currently added.

New in version 1.12.

Qmi.message_tlv_write_sized_guint(self, n_bytes, endian, in_)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • n_bytes (int) – number of bytes to write.
  • endian (Qmi.Endian) – target endianness, swapped from host byte order if necessary.
  • in (int) – a #guint64 in host byte order.
Raises:

GLib.Error

Returns:

True if the variable is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends a n_bytes-sized unsigned integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

The value of n_bytes can be any between 1 and 8.

New in version 1.12.

Qmi.message_tlv_write_string(self, n_size_prefix_bytes, in_, in_length)
Parameters:
  • self (GLib.ByteArray) – a #QmiMessage.
  • n_size_prefix_bytes (int) – number of bytes to use in the size prefix.
  • in (str) – string to write.
  • in_length (int) – length of in, or -1 if in is NUL-terminated.
Raises:

GLib.Error

Returns:

True if the string is successfully added, otherwise False is returned and error is set.

Return type:

bool

Appends a string to the TLV being built.

Fixed-sized strings should give n_size_prefix_bytes equal to 0.

New in version 1.12.

Qmi.message_unref(self)
Parameters:self (GLib.ByteArray) – a #QmiMessage.

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

New in version 1.0.

Qmi.nas_active_band_get_string(val)
Parameters:val (Qmi.NasActiveBand) – a Qmi.NasActiveBand.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasActiveBand specified at val.

New in version 1.0.

Qmi.nas_attach_state_get_string(val)
Parameters:val (Qmi.NasAttachState) – a Qmi.NasAttachState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasAttachState specified at val.

New in version 1.0.

Qmi.nas_band_preference_build_string_from_mask(mask)
Parameters:mask (Qmi.NasBandPreference) – bitmask of Qmi.NasBandPreference values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasBandPreference in mask.

New in version 1.0.

Qmi.nas_call_barring_status_get_string(val)
Parameters:val (Qmi.NasCallBarringStatus) – a Qmi.NasCallBarringStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasCallBarringStatus specified at val.

New in version 1.0.

Qmi.nas_cdma_pilot_type_get_string(val)
Parameters:val (Qmi.NasCdmaPilotType) – a Qmi.NasCdmaPilotType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasCdmaPilotType specified at val.

New in version 1.0.

Qmi.nas_cdma_prl_preference_get_string(val)
Parameters:val (Qmi.NasCdmaPrlPreference) – a Qmi.NasCdmaPrlPreference.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasCdmaPrlPreference specified at val.

New in version 1.0.

Qmi.nas_cell_broadcast_capability_get_string(val)
Parameters:val (Qmi.NasCellBroadcastCapability) – a Qmi.NasCellBroadcastCapability.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasCellBroadcastCapability specified at val.

New in version 1.0.

Qmi.nas_change_duration_get_string(val)
Parameters:val (Qmi.NasChangeDuration) – a Qmi.NasChangeDuration.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasChangeDuration specified at val.

New in version 1.0.

Qmi.nas_data_capability_get_string(val)
Parameters:val (Qmi.NasDataCapability) – a Qmi.NasDataCapability.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasDataCapability specified at val.

New in version 1.0.

Qmi.nas_day_of_week_get_string(val)
Parameters:val (Qmi.NasDayOfWeek) – a Qmi.NasDayOfWeek.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasDayOfWeek specified at val.

New in version 1.4.

Qmi.nas_daylight_savings_adjustment_get_string(val)
Parameters:val (Qmi.NasDaylightSavingsAdjustment) – a Qmi.NasDaylightSavingsAdjustment.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasDaylightSavingsAdjustment specified at val.

New in version 1.4.

Qmi.nas_dl_bandwidth_get_string(val)
Parameters:val (Qmi.NasDLBandwidth) – a Qmi.NasDLBandwidth.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasDLBandwidth specified at val.

New in version 1.16.

Qmi.nas_evdo_sinr_level_get_string(val)
Parameters:val (Qmi.NasEvdoSinrLevel) – a Qmi.NasEvdoSinrLevel.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasEvdoSinrLevel specified at val.

New in version 1.0.

Qmi.nas_gsm_wcdma_acquisition_order_preference_get_string(val)
Parameters:val (Qmi.NasGsmWcdmaAcquisitionOrderPreference) – a Qmi.NasGsmWcdmaAcquisitionOrderPreference.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasGsmWcdmaAcquisitionOrderPreference specified at val.

New in version 1.0.

Qmi.nas_hdr_personality_get_string(val)
Parameters:val (Qmi.NasHdrPersonality) – a Qmi.NasHdrPersonality.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasHdrPersonality specified at val.

New in version 1.0.

Qmi.nas_hdr_protocol_revision_get_string(val)
Parameters:val (Qmi.NasHdrProtocolRevision) – a Qmi.NasHdrProtocolRevision.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasHdrProtocolRevision specified at val.

New in version 1.0.

Qmi.nas_lte_band_preference_build_string_from_mask(mask)
Parameters:mask (Qmi.NasLteBandPreference) – bitmask of Qmi.NasLteBandPreference values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasLteBandPreference in mask.

New in version 1.0.

Qmi.nas_lte_cell_access_status_get_string(val)
Parameters:val (Qmi.NasLteCellAccessStatus) – a Qmi.NasLteCellAccessStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasLteCellAccessStatus specified at val.

New in version 1.24.

Qmi.nas_lte_registration_domain_get_string(val)
Parameters:val (Qmi.NasLteRegistrationDomain) – a Qmi.NasLteRegistrationDomain.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasLteRegistrationDomain specified at val.

New in version 1.24.

Qmi.nas_network_description_display_get_string(val)
Parameters:val (Qmi.NasNetworkDescriptionDisplay) – a Qmi.NasNetworkDescriptionDisplay.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkDescriptionDisplay specified at val.

New in version 1.0.

Qmi.nas_network_description_encoding_get_string(val)
Parameters:val (Qmi.NasNetworkDescriptionEncoding) – a Qmi.NasNetworkDescriptionEncoding.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkDescriptionEncoding specified at val.

New in version 1.0.

Qmi.nas_network_name_display_condition_build_string_from_mask(mask)
Parameters:mask (Qmi.NasNetworkNameDisplayCondition) – bitmask of Qmi.NasNetworkNameDisplayCondition values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasNetworkNameDisplayCondition in mask.

New in version 1.18.

Qmi.nas_network_name_source_get_string(val)
Parameters:val (Qmi.NasNetworkNameSource) – a Qmi.NasNetworkNameSource.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkNameSource specified at val.

New in version 1.24.

Qmi.nas_network_register_type_get_string(val)
Parameters:val (Qmi.NasNetworkRegisterType) – a Qmi.NasNetworkRegisterType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkRegisterType specified at val.

New in version 1.0.

Qmi.nas_network_scan_result_get_string(val)
Parameters:val (Qmi.NasNetworkScanResult) – a Qmi.NasNetworkScanResult.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkScanResult specified at val.

New in version 1.24.

Qmi.nas_network_scan_type_build_string_from_mask(mask)
Parameters:mask (Qmi.NasNetworkScanType) – bitmask of Qmi.NasNetworkScanType values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasNetworkScanType in mask.

New in version 1.0.

Qmi.nas_network_selection_preference_get_string(val)
Parameters:val (Qmi.NasNetworkSelectionPreference) – a Qmi.NasNetworkSelectionPreference.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkSelectionPreference specified at val.

New in version 1.0.

Qmi.nas_network_selection_registration_restriction_get_string(val)
Parameters:val (Qmi.NasNetworkSelectionRegistrationRestriction) – a Qmi.NasNetworkSelectionRegistrationRestriction.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkSelectionRegistrationRestriction specified at val.

New in version 1.24.

Qmi.nas_network_service_domain_get_string(val)
Parameters:val (Qmi.NasNetworkServiceDomain) – a Qmi.NasNetworkServiceDomain.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkServiceDomain specified at val.

New in version 1.0.

Qmi.nas_network_status_build_string_from_mask(mask)
Parameters:mask (Qmi.NasNetworkStatus) – bitmask of Qmi.NasNetworkStatus values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasNetworkStatus in mask.

New in version 1.0.

Qmi.nas_network_type_get_string(val)
Parameters:val (Qmi.NasNetworkType) – a Qmi.NasNetworkType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasNetworkType specified at val.

New in version 1.0.

Qmi.nas_plmn_encoding_scheme_get_string(val)
Parameters:val (Qmi.NasPlmnEncodingScheme) – a Qmi.NasPlmnEncodingScheme.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasPlmnEncodingScheme specified at val.

New in version 1.18.

Qmi.nas_plmn_name_country_initials_get_string(val)
Parameters:val (Qmi.NasPlmnNameCountryInitials) – a Qmi.NasPlmnNameCountryInitials.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasPlmnNameCountryInitials specified at val.

New in version 1.18.

Qmi.nas_plmn_name_spare_bits_get_string(val)
Parameters:val (Qmi.NasPlmnNameSpareBits) – a Qmi.NasPlmnNameSpareBits.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasPlmnNameSpareBits specified at val.

New in version 1.18.

Qmi.nas_preference_duration_get_string(val)
Parameters:val (Qmi.NasPreferenceDuration) – a Qmi.NasPreferenceDuration.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasPreferenceDuration specified at val.

New in version 1.0.

Qmi.nas_ps_attach_action_get_string(val)
Parameters:val (Qmi.NasPsAttachAction) – a Qmi.NasPsAttachAction.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasPsAttachAction specified at val.

New in version 1.20.

Qmi.nas_radio_interface_get_string(val)
Parameters:val (Qmi.NasRadioInterface) – a Qmi.NasRadioInterface.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasRadioInterface specified at val.

New in version 1.0.

Qmi.nas_radio_technology_preference_build_string_from_mask(mask)
Parameters:mask (Qmi.NasRadioTechnologyPreference) – bitmask of Qmi.NasRadioTechnologyPreference values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasRadioTechnologyPreference in mask.

New in version 1.0.

Qmi.nas_rat_mode_preference_build_string_from_mask(mask)
Parameters:mask (Qmi.NasRatModePreference) – bitmask of Qmi.NasRatModePreference values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasRatModePreference in mask.

New in version 1.0.

Qmi.nas_read_string_from_network_description_encoded_array(encoding, array)
Parameters:
Returns:

the UTF-8 encoded string, or None if an error happened during the conversion. The returned value should be freed with GLib.free().

Return type:

str

Converts the encoded data in array to UTF-8 and returns a newly allocated NUL-terminated string.

New in version 1.24.6.

Qmi.nas_read_string_from_plmn_encoded_array(encoding, array)
Parameters:
Returns:

the UTF-8 encoded string, or None if an error happened during the conversion. The returned value should be freed with GLib.free().

Return type:

str

Converts the encoded data in array to UTF-8 and returns a newly allocated NUL-terminated string.

New in version 1.24.6.

Qmi.nas_registration_state_get_string(val)
Parameters:val (Qmi.NasRegistrationState) – a Qmi.NasRegistrationState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasRegistrationState specified at val.

New in version 1.0.

Qmi.nas_roaming_indicator_status_get_string(val)
Parameters:val (Qmi.NasRoamingIndicatorStatus) – a Qmi.NasRoamingIndicatorStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasRoamingIndicatorStatus specified at val.

New in version 1.0.

Qmi.nas_roaming_preference_get_string(val)
Parameters:val (Qmi.NasRoamingPreference) – a Qmi.NasRoamingPreference.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasRoamingPreference specified at val.

New in version 1.0.

Qmi.nas_roaming_status_get_string(val)
Parameters:val (Qmi.NasRoamingStatus) – a Qmi.NasRoamingStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasRoamingStatus specified at val.

New in version 1.0.

Qmi.nas_scell_state_get_string(val)
Parameters:val (Qmi.NasScellState) – a Qmi.NasScellState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasScellState specified at val.

New in version 1.16.

Qmi.nas_service_domain_preference_get_string(val)
Parameters:val (Qmi.NasServiceDomainPreference) – a Qmi.NasServiceDomainPreference.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasServiceDomainPreference specified at val.

New in version 1.0.

Qmi.nas_service_status_get_string(val)
Parameters:val (Qmi.NasServiceStatus) – a Qmi.NasServiceStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasServiceStatus specified at val.

New in version 1.0.

Qmi.nas_signal_strength_request_build_string_from_mask(mask)
Parameters:mask (Qmi.NasSignalStrengthRequest) – bitmask of Qmi.NasSignalStrengthRequest values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasSignalStrengthRequest in mask.

New in version 1.0.

Qmi.nas_sim_reject_state_get_string(val)
Parameters:val (Qmi.NasSimRejectState) – a Qmi.NasSimRejectState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasSimRejectState specified at val.

New in version 1.0.

Qmi.nas_swi_emm_connection_state_get_string(val)
Parameters:val (Qmi.NasSwiEmmConnectionState) – a Qmi.NasSwiEmmConnectionState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasSwiEmmConnectionState specified at val.

New in version 1.24.

Qmi.nas_swi_emm_state_get_string(val)
Parameters:val (Qmi.NasSwiEmmState) – a Qmi.NasSwiEmmState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasSwiEmmState specified at val.

New in version 1.24.

Qmi.nas_swi_ims_reg_state_get_string(val)
Parameters:val (Qmi.NasSwiImsRegState) – a Qmi.NasSwiImsRegState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasSwiImsRegState specified at val.

New in version 1.24.

Qmi.nas_swi_modem_mode_get_string(val)
Parameters:val (Qmi.NasSwiModemMode) – a Qmi.NasSwiModemMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasSwiModemMode specified at val.

New in version 1.24.

Qmi.nas_swi_ps_state_get_string(val)
Parameters:val (Qmi.NasSwiPsState) – a Qmi.NasSwiPsState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasSwiPsState specified at val.

New in version 1.24.

Qmi.nas_swi_system_mode_get_string(val)
Parameters:val (Qmi.NasSwiSystemMode) – a Qmi.NasSwiSystemMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasSwiSystemMode specified at val.

New in version 1.24.

Qmi.nas_td_scdma_band_preference_build_string_from_mask(mask)
Parameters:mask (Qmi.NasTdScdmaBandPreference) – bitmask of Qmi.NasTdScdmaBandPreference values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.NasTdScdmaBandPreference in mask.

New in version 1.0.

Qmi.nas_usage_preference_get_string(val)
Parameters:val (Qmi.NasUsagePreference) – a Qmi.NasUsagePreference.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasUsagePreference specified at val.

New in version 1.24.

Qmi.nas_voice_domain_preference_get_string(val)
Parameters:val (Qmi.NasVoiceDomainPreference) – a Qmi.NasVoiceDomainPreference.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasVoiceDomainPreference specified at val.

New in version 1.24.

Qmi.nas_wcdma_hs_service_get_string(val)
Parameters:val (Qmi.NasWcdmaHsService) – a Qmi.NasWcdmaHsService.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasWcdmaHsService specified at val.

New in version 1.0.

Qmi.nas_wcdma_rrc_state_get_string(val)
Parameters:val (Qmi.NasWcdmaRrcState) – a Qmi.NasWcdmaRrcState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.NasWcdmaRrcState specified at val.

New in version 1.10.

Qmi.oma_hfa_feature_done_state_get_string(val)
Parameters:val (Qmi.OmaHfaFeatureDoneState) – a Qmi.OmaHfaFeatureDoneState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.OmaHfaFeatureDoneState specified at val.

New in version 1.6.

Qmi.oma_session_failed_reason_get_string(val)
Parameters:val (Qmi.OmaSessionFailedReason) – a Qmi.OmaSessionFailedReason.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.OmaSessionFailedReason specified at val.

New in version 1.6.

Qmi.oma_session_state_get_string(val)
Parameters:val (Qmi.OmaSessionState) – a Qmi.OmaSessionState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.OmaSessionState specified at val.

New in version 1.6.

Qmi.oma_session_type_get_string(val)
Parameters:val (Qmi.OmaSessionType) – a Qmi.OmaSessionType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.OmaSessionType specified at val.

New in version 1.6.

Qmi.pbm_event_registration_flag_build_string_from_mask(mask)
Parameters:mask (Qmi.PbmEventRegistrationFlag) – bitmask of Qmi.PbmEventRegistrationFlag values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.PbmEventRegistrationFlag in mask.

New in version 1.6.

Qmi.pbm_phonebook_type_build_string_from_mask(mask)
Parameters:mask (Qmi.PbmPhonebookType) – bitmask of Qmi.PbmPhonebookType values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.PbmPhonebookType in mask.

New in version 1.6.

Qmi.pbm_session_type_get_string(val)
Parameters:val (Qmi.PbmSessionType) – a Qmi.PbmSessionType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.PbmSessionType specified at val.

New in version 1.6.

Qmi.pdc_configuration_type_get_string(val)
Parameters:val (Qmi.PdcConfigurationType) – a Qmi.PdcConfigurationType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.PdcConfigurationType specified at val.

New in version 1.18.

Qmi.pds_data_valid_build_string_from_mask(mask)
Parameters:mask (Qmi.PdsDataValid) – bitmask of Qmi.PdsDataValid values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.PdsDataValid in mask.

New in version 1.0.

Qmi.pds_network_mode_get_string(val)
Parameters:val (Qmi.PdsNetworkMode) – a Qmi.PdsNetworkMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.PdsNetworkMode specified at val.

New in version 1.12.

Qmi.pds_operating_mode_get_string(val)
Parameters:val (Qmi.PdsOperatingMode) – a Qmi.PdsOperatingMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.PdsOperatingMode specified at val.

New in version 1.12.

Qmi.pds_operation_mode_get_string(val)
Parameters:val (Qmi.PdsOperationMode) – a Qmi.PdsOperationMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.PdsOperationMode specified at val.

New in version 1.0.

Qmi.pds_position_session_status_get_string(val)
Parameters:val (Qmi.PdsPositionSessionStatus) – a Qmi.PdsPositionSessionStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.PdsPositionSessionStatus specified at val.

New in version 1.0.

Qmi.pds_tracking_session_state_get_string(val)
Parameters:val (Qmi.PdsTrackingSessionState) – a Qmi.PdsTrackingSessionState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.PdsTrackingSessionState specified at val.

New in version 1.0.

Qmi.protocol_error_get_string(val)
Parameters:val (Qmi.ProtocolError) – a Qmi.ProtocolError.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.ProtocolError specified at val.

New in version 1.0.

Qmi.protocol_error_quark()
Return type:int
Qmi.qos_event_get_string(val)
Parameters:val (Qmi.QosEvent) – a Qmi.QosEvent.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.QosEvent specified at val.

New in version 1.22.

Qmi.qos_status_get_string(val)
Parameters:val (Qmi.QosStatus) – a Qmi.QosStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.QosStatus specified at val.

New in version 1.22.

Qmi.service_flag_build_string_from_mask(mask)
Parameters:mask (Qmi.ServiceFlag) – bitmask of Qmi.ServiceFlag values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.ServiceFlag in mask.

Qmi.service_get_string(val)
Parameters:val (Qmi.Service) – a Qmi.Service.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.Service specified at val.

New in version 1.0.

Qmi.uim_card_application_personalization_feature_get_string(val)
Parameters:val (Qmi.UimCardApplicationPersonalizationFeature) – a Qmi.UimCardApplicationPersonalizationFeature.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimCardApplicationPersonalizationFeature specified at val.

New in version 1.10.

Qmi.uim_card_application_personalization_state_get_string(val)
Parameters:val (Qmi.UimCardApplicationPersonalizationState) – a Qmi.UimCardApplicationPersonalizationState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimCardApplicationPersonalizationState specified at val.

New in version 1.10.

Qmi.uim_card_application_state_get_string(val)
Parameters:val (Qmi.UimCardApplicationState) – a Qmi.UimCardApplicationState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimCardApplicationState specified at val.

New in version 1.10.

Qmi.uim_card_application_type_get_string(val)
Parameters:val (Qmi.UimCardApplicationType) – a Qmi.UimCardApplicationType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimCardApplicationType specified at val.

New in version 1.10.

Qmi.uim_card_error_get_string(val)
Parameters:val (Qmi.UimCardError) – a Qmi.UimCardError.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimCardError specified at val.

New in version 1.10.

Qmi.uim_card_protocol_get_string(val)
Parameters:val (Qmi.UimCardProtocol) – a Qmi.UimCardProtocol.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimCardProtocol specified at val.

New in version 1.26.

Qmi.uim_card_state_get_string(val)
Parameters:val (Qmi.UimCardState) – a Qmi.UimCardState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimCardState specified at val.

New in version 1.10.

Qmi.uim_event_registration_flag_build_string_from_mask(mask)
Parameters:mask (Qmi.UimEventRegistrationFlag) – bitmask of Qmi.UimEventRegistrationFlag values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.UimEventRegistrationFlag in mask.

New in version 1.22.4.

Qmi.uim_file_type_get_string(val)
Parameters:val (Qmi.UimFileType) – a Qmi.UimFileType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimFileType specified at val.

New in version 1.6.

Qmi.uim_physical_card_state_get_string(val)
Parameters:val (Qmi.UimPhysicalCardState) – a Qmi.UimPhysicalCardState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimPhysicalCardState specified at val.

New in version 1.26.

Qmi.uim_pin_id_get_string(val)
Parameters:val (Qmi.UimPinId) – a Qmi.UimPinId.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimPinId specified at val.

New in version 1.14.

Qmi.uim_pin_state_get_string(val)
Parameters:val (Qmi.UimPinState) – a Qmi.UimPinState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimPinState specified at val.

New in version 1.10.

Qmi.uim_security_attribute_build_string_from_mask(mask)
Parameters:mask (Qmi.UimSecurityAttribute) – bitmask of Qmi.UimSecurityAttribute values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.UimSecurityAttribute in mask.

New in version 1.6.

Qmi.uim_security_attribute_logic_get_string(val)
Parameters:val (Qmi.UimSecurityAttributeLogic) – a Qmi.UimSecurityAttributeLogic.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimSecurityAttributeLogic specified at val.

New in version 1.6.

Qmi.uim_session_type_get_string(val)
Parameters:val (Qmi.UimSessionType) – a Qmi.UimSessionType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimSessionType specified at val.

New in version 1.6.

Qmi.uim_slot_state_get_string(val)
Parameters:val (Qmi.UimSlotState) – a Qmi.UimSlotState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.UimSlotState specified at val.

New in version 1.26.

Qmi.utils_get_traces_enabled()
Returns:True if traces are enabled, False otherwise.
Return type:bool

Checks whether QMI message traces are currently enabled.

New in version 1.0.

Qmi.utils_read_fixed_size_string_from_buffer(buffer, buffer_size, fixed_size, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • fixed_size (int) – number of bytes to read.
  • out (str) – buffer preallocated by the client, with at least fixed_size bytes.

Reads a fixed_size-sized string from the buffer into the out buffer.

Also note that both buffer and buffer_size get updated after the fixed_size bytes read.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_fixed_size_string() instead.

Qmi.utils_read_gfloat_from_buffer(buffer, buffer_size, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • out (float) – return location for the read variable.

Reads a 32-bit floating-point number from the buffer.

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.

New in version 1.10.

Deprecated since version 1.12: Use Qmi.message_tlv_read_gfloat() instead.

Qmi.utils_read_gint16_from_buffer(buffer, buffer_size, endian, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped to host byte order if necessary
  • out (int) – return location for the read variable.

Reads a signed 16-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 2 bytes are available in the buffer.

Also note that both buffer and buffer_size get updated after the 2 bytes read.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_gint16() instead.

Qmi.utils_read_gint32_from_buffer(buffer, buffer_size, endian, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped to host byte order if necessary
  • out (int) – return location for the read variable.

Reads a signed 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.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_gint32() instead.

Qmi.utils_read_gint64_from_buffer(buffer, buffer_size, endian, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped to host byte order if necessary
  • out (int) – return location for the read variable.

Reads a signed 64-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 8 bytes are available in the buffer.

Also note that both buffer and buffer_size get updated after the 8 bytes read.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_gint64() instead.

Qmi.utils_read_gint8_from_buffer(buffer, buffer_size, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • out (int) – return location for the read variable.

Reads a signed byte from the buffer.

The user needs to make sure that at least 1 byte is available in the buffer.

Also note that both buffer and buffer_size get updated after the 1 byte read.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_gint8() instead.

Qmi.utils_read_guint16_from_buffer(buffer, buffer_size, endian, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped to host byte order if necessary
  • out (int) – return location for the read variable.

Reads an unsigned 16-bit integer from the buffer. The number in the buffer is expected to be given in the byte order specificed 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 2 bytes are available in the buffer.

Also note that both buffer and buffer_size get updated after the 2 bytes read.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_guint16() instead.

Qmi.utils_read_guint32_from_buffer(buffer, buffer_size, endian, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped to host byte order if necessary
  • out (int) – 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.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_guint32() instead.

Qmi.utils_read_guint64_from_buffer(buffer, buffer_size, endian, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped to host byte order if necessary
  • out (int) – return location for the read variable.

Reads an unsigned 64-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 8 bytes are available in the buffer.

Also note that both buffer and buffer_size get updated after the 8 bytes read.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_guint64() instead.

Qmi.utils_read_guint8_from_buffer(buffer, buffer_size, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • out (int) – return location for the read variable.

Reads an unsigned byte from the buffer.

The user needs to make sure that at least 1 byte is available in the buffer.

Also note that both buffer and buffer_size get updated after the 1 byte read.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_guint8() instead.

Qmi.utils_read_sized_guint_from_buffer(buffer, buffer_size, n_bytes, endian, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • n_bytes (int) – number of bytes to read.
  • endian (Qmi.Endian) – endianness of firmware value; swapped to host byte order if necessary
  • out (int) – return location for the read variable.

Reads a n_bytes-sized unsigned 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 n_bytes bytes are available in the buffer.

Also note that both buffer and buffer_size get updated after the n_bytes bytes read.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_sized_guint() instead.

Qmi.utils_read_string_from_buffer(buffer, buffer_size, length_prefix_size, max_size, out)
Parameters:
  • buffer (int) – a buffer with raw binary data.
  • buffer_size (int) – size of buffer.
  • length_prefix_size (int) – size of the length prefix integer in bits.
  • max_size (int) – maximum number of bytes to read, or 0 to read all available bytes.
  • out (str) – return location for the read string. The returned value should be freed with GLib.free().

Reads a string from the buffer.

If length_prefix_size is greater than 0, only the amount of bytes given there will be read. Otherwise, up to buffer_size bytes will be read.

Also note that both buffer and buffer_size get updated after the write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_read_string() instead.

Qmi.utils_set_traces_enabled(enabled)
Parameters:enabled (bool) – True to enable traces, False to disable them.

Sets whether QMI message traces are enabled or disabled.

New in version 1.0.

Qmi.utils_write_fixed_size_string_to_buffer(buffer, buffer_size, fixed_size, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • fixed_size (int) – number of bytes to write.
  • in (str) – string to write.

Writes a fixed_size-sized string to the buffer, without any length prefix.

The user needs to make sure that the buffer is at least fixed_size bytes long.

Also note that both buffer and buffer_size get updated after the fixed_size bytes write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_string() instead.

Qmi.utils_write_gint16_to_buffer(buffer, buffer_size, endian, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped from host byte order if necessary
  • in (int) – location of the variable to be written.

Writes a signed 16-bit integer into the buffer. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

The user needs to make sure that the buffer is at least 2 bytes long.

Also note that both buffer and buffer_size get updated after the 2 bytes write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_gint16() instead.

Qmi.utils_write_gint32_to_buffer(buffer, buffer_size, endian, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped from host byte order if necessary
  • in (int) – location of the variable to be written.

Writes a signed 32-bit integer into the buffer. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

The user needs to make sure that the buffer is at least 4 bytes long.

Also note that both buffer and buffer_size get updated after the 4 bytes write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_gint32() instead.

Qmi.utils_write_gint64_to_buffer(buffer, buffer_size, endian, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped from host byte order if necessary
  • in (int) – location of the variable to be written.

Writes a signed 64-bit integer into the buffer. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

The user needs to make sure that the buffer is at least 8 bytes long.

Also note that both buffer and buffer_size get updated after the 8 bytes write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_gint64() instead.

Qmi.utils_write_gint8_to_buffer(buffer, buffer_size, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • in (int) – location of the variable to be written.

Writes a signed byte into the buffer.

The user needs to make sure that the buffer is at least 1 byte long.

Also note that both buffer and buffer_size get updated after the 1 byte write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_gint8() instead.

Qmi.utils_write_guint16_to_buffer(buffer, buffer_size, endian, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped from host byte order if necessary
  • in (int) – location of the variable to be written.

Writes an unsigned 16-bit integer into the buffer. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

The user needs to make sure that the buffer is at least 2 bytes long.

Also note that both buffer and buffer_size get updated after the 2 bytes write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_guint16() instead.

Qmi.utils_write_guint32_to_buffer(buffer, buffer_size, endian, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped from host byte order if necessary
  • in (int) – location of the variable to be written.

Writes an unsigned 32-bit integer into the buffer. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

The user needs to make sure that the buffer is at least 4 bytes long.

Also note that both buffer and buffer_size get updated after the 4 bytes write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_guint32() instead.

Qmi.utils_write_guint64_to_buffer(buffer, buffer_size, endian, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • endian (Qmi.Endian) – endianness of firmware value; swapped from host byte order if necessary
  • in (int) – location of the variable to be written.

Writes an unsigned 64-bit integer into the buffer. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

The user needs to make sure that the buffer is at least 8 bytes long.

Also note that both buffer and buffer_size get updated after the 8 bytes write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_guint64() instead.

Qmi.utils_write_guint8_to_buffer(buffer, buffer_size, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • in (int) – location of the variable to be written.

Writes an unsigned byte into the buffer.

The user needs to make sure that the buffer is at least 1 byte long.

Also note that both buffer and buffer_size get updated after the 1 byte write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_guint8() instead.

Qmi.utils_write_sized_guint_to_buffer(buffer, buffer_size, n_bytes, endian, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • n_bytes (int) – number of bytes to write.
  • endian (Qmi.Endian) – endianness of firmware value; swapped from host byte order if necessary
  • in (int) – location of the variable to be written.

Writes a n_bytes-sized unsigned integer into the buffer. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.

The user needs to make sure that the buffer is at least n_bytes bytes long.

Also note that both buffer and buffer_size get updated after the n_bytes bytes write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_sized_guint() instead.

Qmi.utils_write_string_to_buffer(buffer, buffer_size, length_prefix_size, in_)
Parameters:
  • buffer (int) – a buffer.
  • buffer_size (int) – size of buffer.
  • length_prefix_size (int) – size of the length prefix integer in bits.
  • in (str) – string to write.

Writes a string to the buffer.

If length_prefix_size is greater than 0, a length prefix integer will be included in the write operation.

The user needs to make sure that the buffer has enough space for both the whole string and the length prefix.

Also note that both buffer and buffer_size get updated after the write.

New in version 1.0.

Deprecated since version 1.12: Use Qmi.message_tlv_write_string() instead.

Qmi.voice_alpha_data_coding_scheme_get_string(val)
Parameters:val (Qmi.VoiceAlphaDataCodingScheme) – a Qmi.VoiceAlphaDataCodingScheme.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceAlphaDataCodingScheme specified at val.

New in version 1.26.

Qmi.voice_als_get_string(val)
Parameters:val (Qmi.VoiceAls) – a Qmi.VoiceAls.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceAls specified at val.

New in version 1.14.

Qmi.voice_call_control_result_type_get_string(val)
Parameters:val (Qmi.VoiceCallControlResultType) – a Qmi.VoiceCallControlResultType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceCallControlResultType specified at val.

New in version 1.26.

Qmi.voice_call_control_supplementary_service_type_get_string(val)
Parameters:val (Qmi.VoiceCallControlSupplementaryServiceType) – a Qmi.VoiceCallControlSupplementaryServiceType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceCallControlSupplementaryServiceType specified at val.

New in version 1.26.

Qmi.voice_call_direction_get_string(val)
Parameters:val (Qmi.VoiceCallDirection) – a Qmi.VoiceCallDirection.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceCallDirection specified at val.

New in version 1.14.

Qmi.voice_call_end_reason_get_string(val)
Parameters:val (Qmi.VoiceCallEndReason) – a Qmi.VoiceCallEndReason.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceCallEndReason specified at val.

New in version 1.26.

Qmi.voice_call_mode_get_string(val)
Parameters:val (Qmi.VoiceCallMode) – a Qmi.VoiceCallMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceCallMode specified at val.

New in version 1.14.

Qmi.voice_call_state_get_string(val)
Parameters:val (Qmi.VoiceCallState) – a Qmi.VoiceCallState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceCallState specified at val.

New in version 1.14.

Qmi.voice_call_type_get_string(val)
Parameters:val (Qmi.VoiceCallType) – a Qmi.VoiceCallType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceCallType specified at val.

New in version 1.14.

Qmi.voice_domain_get_string(val)
Parameters:val (Qmi.VoiceDomain) – a Qmi.VoiceDomain.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceDomain specified at val.

New in version 1.14.

Qmi.voice_presentation_get_string(val)
Parameters:val (Qmi.VoicePresentation) – a Qmi.VoicePresentation.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoicePresentation specified at val.

New in version 1.14.

Qmi.voice_privacy_get_string(val)
Parameters:val (Qmi.VoicePrivacy) – a Qmi.VoicePrivacy.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoicePrivacy specified at val.

New in version 1.14.

Qmi.voice_service_option_get_string(val)
Parameters:val (Qmi.VoiceServiceOption) – a Qmi.VoiceServiceOption.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceServiceOption specified at val.

New in version 1.14.

Qmi.voice_tty_mode_get_string(val)
Parameters:val (Qmi.VoiceTtyMode) – a Qmi.VoiceTtyMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceTtyMode specified at val.

New in version 1.14.

Qmi.voice_user_action_get_string(val)
Parameters:val (Qmi.VoiceUserAction) – a Qmi.VoiceUserAction.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceUserAction specified at val.

New in version 1.26.

Qmi.voice_uss_data_coding_scheme_get_string(val)
Parameters:val (Qmi.VoiceUssDataCodingScheme) – a Qmi.VoiceUssDataCodingScheme.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.VoiceUssDataCodingScheme specified at val.

New in version 1.26.

Qmi.voice_wcdma_amr_status_build_string_from_mask(mask)
Parameters:mask (Qmi.VoiceWcdmaAmrStatus) – bitmask of Qmi.VoiceWcdmaAmrStatus values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.VoiceWcdmaAmrStatus in mask.

New in version 1.14.

Qmi.wda_data_aggregation_protocol_get_string(val)
Parameters:val (Qmi.WdaDataAggregationProtocol) – a Qmi.WdaDataAggregationProtocol.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdaDataAggregationProtocol specified at val.

New in version 1.10.

Parameters:val (Qmi.WdaLinkLayerProtocol) – a Qmi.WdaLinkLayerProtocol.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdaLinkLayerProtocol specified at val.

New in version 1.10.

Qmi.wds_authentication_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsAuthentication) – bitmask of Qmi.WdsAuthentication values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsAuthentication in mask.

New in version 1.0.

Qmi.wds_autoconnect_setting_get_string(val)
Parameters:val (Qmi.WdsAutoconnectSetting) – a Qmi.WdsAutoconnectSetting.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsAutoconnectSetting specified at val.

New in version 1.14.

Qmi.wds_autoconnect_setting_roaming_get_string(val)
Parameters:val (Qmi.WdsAutoconnectSettingRoaming) – a Qmi.WdsAutoconnectSettingRoaming.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsAutoconnectSettingRoaming specified at val.

New in version 1.14.

Qmi.wds_call_end_reason_get_string(val)
Parameters:val (Qmi.WdsCallEndReason) – a Qmi.WdsCallEndReason.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsCallEndReason specified at val.

New in version 1.0.

Qmi.wds_call_type_get_string(val)
Parameters:val (Qmi.WdsCallType) – a Qmi.WdsCallType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsCallType specified at val.

New in version 1.0.

Qmi.wds_client_type_get_string(val)
Parameters:val (Qmi.WdsClientType) – a Qmi.WdsClientType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsClientType specified at val.

New in version 1.18.

Qmi.wds_connection_status_get_string(val)
Parameters:val (Qmi.WdsConnectionStatus) – a Qmi.WdsConnectionStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsConnectionStatus specified at val.

New in version 1.0.

Qmi.wds_data_bearer_technology_get_string(val)
Parameters:val (Qmi.WdsDataBearerTechnology) – a Qmi.WdsDataBearerTechnology.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsDataBearerTechnology specified at val.

New in version 1.0.

Qmi.wds_data_call_status_get_string(val)
Parameters:val (Qmi.WdsDataCallStatus) – a Qmi.WdsDataCallStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsDataCallStatus specified at val.

New in version 1.18.

Qmi.wds_data_call_type_get_string(val)
Parameters:val (Qmi.WdsDataCallType) – a Qmi.WdsDataCallType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsDataCallType specified at val.

New in version 1.18.

Qmi.wds_data_system_get_string(val)
Parameters:val (Qmi.WdsDataSystem) – a Qmi.WdsDataSystem.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsDataSystem specified at val.

New in version 1.18.

Qmi.wds_data_system_network_type_get_string(val)
Parameters:val (Qmi.WdsDataSystemNetworkType) – a Qmi.WdsDataSystemNetworkType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsDataSystemNetworkType specified at val.

New in version 1.14.

Qmi.wds_delivery_order_get_string(val)
Parameters:val (Qmi.WdsDeliveryOrder) – a Qmi.WdsDeliveryOrder.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsDeliveryOrder specified at val.

New in version 1.14.

Qmi.wds_dormancy_status_get_string(val)
Parameters:val (Qmi.WdsDormancyStatus) – a Qmi.WdsDormancyStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsDormancyStatus specified at val.

New in version 1.18.

Qmi.wds_ds_profile_error_get_string(val)
Parameters:val (Qmi.WdsDsProfileError) – a Qmi.WdsDsProfileError.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsDsProfileError specified at val.

New in version 1.8.

Qmi.wds_extended_data_bearer_technology_3gpp2_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsExtendedDataBearerTechnology3gpp2) – bitmask of Qmi.WdsExtendedDataBearerTechnology3gpp2 values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsExtendedDataBearerTechnology3gpp2 in mask.

New in version 1.18.

Qmi.wds_extended_data_bearer_technology_3gpp_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsExtendedDataBearerTechnology3gpp) – bitmask of Qmi.WdsExtendedDataBearerTechnology3gpp values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsExtendedDataBearerTechnology3gpp in mask.

New in version 1.18.

Qmi.wds_extended_technology_preference_get_string(val)
Parameters:val (Qmi.WdsExtendedTechnologyPreference) – a Qmi.WdsExtendedTechnologyPreference.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsExtendedTechnologyPreference specified at val.

New in version 1.0.

Qmi.wds_get_current_settings_requested_settings_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsGetCurrentSettingsRequestedSettings) – bitmask of Qmi.WdsGetCurrentSettingsRequestedSettings values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsGetCurrentSettingsRequestedSettings in mask.

New in version 1.0.

Qmi.wds_ip_family_get_string(val)
Parameters:val (Qmi.WdsIpFamily) – a Qmi.WdsIpFamily.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsIpFamily specified at val.

New in version 1.0.

Qmi.wds_network_type_get_string(val)
Parameters:val (Qmi.WdsNetworkType) – a Qmi.WdsNetworkType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsNetworkType specified at val.

New in version 1.0.

Qmi.wds_packet_statistics_mask_flag_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsPacketStatisticsMaskFlag) – bitmask of Qmi.WdsPacketStatisticsMaskFlag values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsPacketStatisticsMaskFlag in mask.

New in version 1.6.

Qmi.wds_pdp_data_compression_type_get_string(val)
Parameters:val (Qmi.WdsPdpDataCompressionType) – a Qmi.WdsPdpDataCompressionType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsPdpDataCompressionType specified at val.

New in version 1.18.

Qmi.wds_pdp_header_compression_type_get_string(val)
Parameters:val (Qmi.WdsPdpHeaderCompressionType) – a Qmi.WdsPdpHeaderCompressionType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsPdpHeaderCompressionType specified at val.

New in version 1.18.

Qmi.wds_pdp_type_get_string(val)
Parameters:val (Qmi.WdsPdpType) – a Qmi.WdsPdpType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsPdpType specified at val.

New in version 1.0.

Qmi.wds_profile_family_get_string(val)
Parameters:val (Qmi.WdsProfileFamily) – a Qmi.WdsProfileFamily.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsProfileFamily specified at val.

New in version 1.22.

Qmi.wds_profile_type_get_string(val)
Parameters:val (Qmi.WdsProfileType) – a Qmi.WdsProfileType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsProfileType specified at val.

New in version 1.0.

Qmi.wds_qos_class_identifier_get_string(val)
Parameters:val (Qmi.WdsQosClassIdentifier) – a Qmi.WdsQosClassIdentifier.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsQosClassIdentifier specified at val.

New in version 1.18.

Qmi.wds_radio_access_technology_get_string(val)
Parameters:val (Qmi.WdsRadioAccessTechnology) – a Qmi.WdsRadioAccessTechnology.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsRadioAccessTechnology specified at val.

New in version 1.18.

Qmi.wds_rat_3gpp2_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsRat3gpp2) – bitmask of Qmi.WdsRat3gpp2 values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsRat3gpp2 in mask.

New in version 1.0.

Qmi.wds_rat_3gpp_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsRat3gpp) – bitmask of Qmi.WdsRat3gpp values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsRat3gpp in mask.

New in version 1.0.

Qmi.wds_sdu_erroneous_delivery_get_string(val)
Parameters:val (Qmi.WdsSduErroneousDelivery) – a Qmi.WdsSduErroneousDelivery.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsSduErroneousDelivery specified at val.

New in version 1.14.

Qmi.wds_sdu_error_ratio_get_string(val)
Parameters:val (Qmi.WdsSduErrorRatio) – a Qmi.WdsSduErrorRatio.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsSduErrorRatio specified at val.

New in version 1.14.

Qmi.wds_sdu_residual_bit_error_ratio_get_string(val)
Parameters:val (Qmi.WdsSduResidualBitErrorRatio) – a Qmi.WdsSduResidualBitErrorRatio.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsSduResidualBitErrorRatio specified at val.

New in version 1.14.

Qmi.wds_set_event_report_transfer_statistics_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsSetEventReportTransferStatistics) – bitmask of Qmi.WdsSetEventReportTransferStatistics values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsSetEventReportTransferStatistics in mask.

New in version 1.18.

Qmi.wds_so_cdma1x_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsSoCdma1x) – bitmask of Qmi.WdsSoCdma1x values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsSoCdma1x in mask.

New in version 1.0.

Qmi.wds_so_evdo_rev0_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsSoEvdoRev0) – bitmask of Qmi.WdsSoEvdoRev0 values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsSoEvdoRev0 in mask.

New in version 1.18.

Qmi.wds_so_evdo_reva_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsSoEvdoRevA) – bitmask of Qmi.WdsSoEvdoRevA values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsSoEvdoRevA in mask.

New in version 1.0.

Qmi.wds_so_evdo_revb_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsSoEvdoRevB) – bitmask of Qmi.WdsSoEvdoRevB values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsSoEvdoRevB in mask.

New in version 1.18.

Qmi.wds_technology_preference_build_string_from_mask(mask)
Parameters:mask (Qmi.WdsTechnologyPreference) – bitmask of Qmi.WdsTechnologyPreference values.
Returns:a string with the list of nicknames, or None if none given. The returned value should be freed with GLib.free().
Return type:str

Builds a string containing a comma-separated list of nicknames for each Qmi.WdsTechnologyPreference in mask.

New in version 1.0.

Qmi.wds_tethered_call_type_get_string(val)
Parameters:val (Qmi.WdsTetheredCallType) – a Qmi.WdsTetheredCallType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsTetheredCallType specified at val.

New in version 1.18.

Qmi.wds_traffic_class_get_string(val)
Parameters:val (Qmi.WdsTrafficClass) – a Qmi.WdsTrafficClass.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsTrafficClass specified at val.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_3gpp_get_string(val)
Parameters:val (Qmi.WdsVerboseCallEndReason3gpp) – a Qmi.WdsVerboseCallEndReason3gpp.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsVerboseCallEndReason3gpp specified at val.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_cm_get_string(val)
Parameters:val (Qmi.WdsVerboseCallEndReasonCm) – a Qmi.WdsVerboseCallEndReasonCm.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsVerboseCallEndReasonCm specified at val.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_ehrpd_get_string(val)
Parameters:val (Qmi.WdsVerboseCallEndReasonEhrpd) – a Qmi.WdsVerboseCallEndReasonEhrpd.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsVerboseCallEndReasonEhrpd specified at val.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_get_string(type, reason)
Parameters:
Returns:

a string with the reason, or None if not found. Do not free the returned value.

Return type:

str

Get verbose call end reason based on the reason type.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_internal_get_string(val)
Parameters:val (Qmi.WdsVerboseCallEndReasonInternal) – a Qmi.WdsVerboseCallEndReasonInternal.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsVerboseCallEndReasonInternal specified at val.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_ipv6_get_string(val)
Parameters:val (Qmi.WdsVerboseCallEndReasonIpv6) – a Qmi.WdsVerboseCallEndReasonIpv6.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsVerboseCallEndReasonIpv6 specified at val.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_mip_get_string(val)
Parameters:val (Qmi.WdsVerboseCallEndReasonMip) – a Qmi.WdsVerboseCallEndReasonMip.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsVerboseCallEndReasonMip specified at val.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_ppp_get_string(val)
Parameters:val (Qmi.WdsVerboseCallEndReasonPpp) – a Qmi.WdsVerboseCallEndReasonPpp.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsVerboseCallEndReasonPpp specified at val.

New in version 1.0.

Qmi.wds_verbose_call_end_reason_type_get_string(val)
Parameters:val (Qmi.WdsVerboseCallEndReasonType) – a Qmi.WdsVerboseCallEndReasonType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WdsVerboseCallEndReasonType specified at val.

New in version 1.0.

Qmi.wms_ack_indicator_get_string(val)
Parameters:val (Qmi.WmsAckIndicator) – a Qmi.WmsAckIndicator.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsAckIndicator specified at val.

New in version 1.0.

Qmi.wms_cdma_cause_code_get_string(val)
Parameters:val (Qmi.WmsCdmaCauseCode) – a Qmi.WmsCdmaCauseCode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsCdmaCauseCode specified at val.

New in version 1.0.

Qmi.wms_cdma_error_class_get_string(val)
Parameters:val (Qmi.WmsCdmaErrorClass) – a Qmi.WmsCdmaErrorClass.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsCdmaErrorClass specified at val.

New in version 1.0.

Qmi.wms_cdma_service_option_get_string(val)
Parameters:val (Qmi.WmsCdmaServiceOption) – a Qmi.WmsCdmaServiceOption.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsCdmaServiceOption specified at val.

New in version 1.0.

Qmi.wms_gsm_umts_rp_cause_get_string(val)
Parameters:val (Qmi.WmsGsmUmtsRpCause) – a Qmi.WmsGsmUmtsRpCause.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsGsmUmtsRpCause specified at val.

New in version 1.0.

Qmi.wms_gsm_umts_tp_cause_get_string(val)
Parameters:val (Qmi.WmsGsmUmtsTpCause) – a Qmi.WmsGsmUmtsTpCause.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsGsmUmtsTpCause specified at val.

New in version 1.0.

Qmi.wms_message_class_get_string(val)
Parameters:val (Qmi.WmsMessageClass) – a Qmi.WmsMessageClass.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsMessageClass specified at val.

New in version 1.0.

Qmi.wms_message_delivery_failure_type_get_string(val)
Parameters:val (Qmi.WmsMessageDeliveryFailureType) – a Qmi.WmsMessageDeliveryFailureType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsMessageDeliveryFailureType specified at val.

New in version 1.0.

Qmi.wms_message_format_get_string(val)
Parameters:val (Qmi.WmsMessageFormat) – a Qmi.WmsMessageFormat.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsMessageFormat specified at val.

New in version 1.0.

Qmi.wms_message_mode_get_string(val)
Parameters:val (Qmi.WmsMessageMode) – a Qmi.WmsMessageMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsMessageMode specified at val.

New in version 1.0.

Qmi.wms_message_protocol_get_string(val)
Parameters:val (Qmi.WmsMessageProtocol) – a Qmi.WmsMessageProtocol.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsMessageProtocol specified at val.

New in version 1.0.

Qmi.wms_message_tag_type_get_string(val)
Parameters:val (Qmi.WmsMessageTagType) – a Qmi.WmsMessageTagType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsMessageTagType specified at val.

New in version 1.0.

Qmi.wms_message_type_get_string(val)
Parameters:val (Qmi.WmsMessageType) – a Qmi.WmsMessageType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsMessageType specified at val.

New in version 1.0.

Qmi.wms_notification_type_get_string(val)
Parameters:val (Qmi.WmsNotificationType) – a Qmi.WmsNotificationType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsNotificationType specified at val.

New in version 1.0.

Qmi.wms_receipt_action_get_string(val)
Parameters:val (Qmi.WmsReceiptAction) – a Qmi.WmsReceiptAction.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsReceiptAction specified at val.

New in version 1.0.

Qmi.wms_storage_type_get_string(val)
Parameters:val (Qmi.WmsStorageType) – a Qmi.WmsStorageType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsStorageType specified at val.

New in version 1.0.

Qmi.wms_transfer_indication_get_string(val)
Parameters:val (Qmi.WmsTransferIndication) – a Qmi.WmsTransferIndication.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Qmi.WmsTransferIndication specified at val.

New in version 1.0.