Functions¶
Details¶
- Mbim.access_media_type_get_string(val)¶
- Parameters:
val (
Mbim.AccessMediaType) – aMbim.AccessMediaType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.AccessMediaTypespecified at val.New in version 1.28.
- Mbim.activation_command_get_string(val)¶
- Parameters:
val (
Mbim.ActivationCommand) – aMbim.ActivationCommand.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ActivationCommandspecified at val.New in version 1.0.
- Mbim.activation_state_get_string(val)¶
- Parameters:
val (
Mbim.ActivationState) – aMbim.ActivationState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ActivationStatespecified at val.New in version 1.0.
- Mbim.atds_provider_array_free(array)¶
- Parameters:
array (
Mbim.AtdsProvider) – aNoneterminated array ofMbim.AtdsProviderstructs.
Frees the memory allocated for the array of
Mbim.AtdsProviderstructs.New in version 1.16.
- Mbim.atds_provider_plmn_mode_get_string(val)¶
- Parameters:
val (
Mbim.AtdsProviderPlmnMode) – aMbim.AtdsProviderPlmnMode.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.AtdsProviderPlmnModespecified at val.New in version 1.16.
- Mbim.atds_rat_mode_get_string(val)¶
- Parameters:
val (
Mbim.AtdsRatMode) – aMbim.AtdsRatMode.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.AtdsRatModespecified at val.New in version 1.16.
- Mbim.auth_protocol_get_string(val)¶
- Parameters:
val (
Mbim.AuthProtocol) – aMbim.AuthProtocol.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.AuthProtocolspecified at val.New in version 1.0.
- Mbim.carrier_lock_cause_get_string(val)¶
- Parameters:
val (
Mbim.CarrierLockCause) – aMbim.CarrierLockCause.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CarrierLockCausespecified at val.New in version 1.30.
- Mbim.carrier_lock_modem_state_get_string(val)¶
- Parameters:
val (
Mbim.CarrierLockModemState) – aMbim.CarrierLockModemState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CarrierLockModemStatespecified at val.New in version 1.30.
- Mbim.carrier_lock_status_get_string(val)¶
- Parameters:
val (
Mbim.CarrierLockStatus) – aMbim.CarrierLockStatus.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CarrierLockStatusspecified at val.New in version 1.30.
- Mbim.cell_info_cdma_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoCdma) – aNoneterminated array ofMbim.CellInfoCdmastructs.
Frees the memory allocated for the array of
Mbim.CellInfoCdmastructs.New in version 1.28.
- Mbim.cell_info_neighboring_gsm_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringGsm) – aNoneterminated array ofMbim.CellInfoNeighboringGsmstructs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringGsmstructs.New in version 1.28.
- Mbim.cell_info_neighboring_lte_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringLte) – aNoneterminated array ofMbim.CellInfoNeighboringLtestructs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringLtestructs.New in version 1.28.
- Mbim.cell_info_neighboring_nr_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringNr) – aNoneterminated array ofMbim.CellInfoNeighboringNrstructs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringNrstructs.New in version 1.28.
- Mbim.cell_info_neighboring_tdscdma_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringTdscdma) – aNoneterminated array ofMbim.CellInfoNeighboringTdscdmastructs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringTdscdmastructs.New in version 1.28.
- Mbim.cell_info_neighboring_umts_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringUmts) – aNoneterminated array ofMbim.CellInfoNeighboringUmtsstructs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringUmtsstructs.New in version 1.28.
- Mbim.cell_info_serving_nr_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoServingNr) – aNoneterminated array ofMbim.CellInfoServingNrstructs.
Frees the memory allocated for the array of
Mbim.CellInfoServingNrstructs.New in version 1.28.
- Mbim.cellular_class_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.CellularClass) – bitmask ofMbim.CellularClassvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.CellularClassin mask.New in version 1.0.
- Mbim.cid_atds_get_string(val)¶
- Parameters:
val (
Mbim.CidAtds) – aMbim.CidAtds.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidAtdsspecified at val.New in version 1.16.
- Mbim.cid_auth_get_string(val)¶
- Parameters:
val (
Mbim.CidAuth) – aMbim.CidAuth.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidAuthspecified at val.New in version 1.0.
- Mbim.cid_basic_connect_get_string(val)¶
- Parameters:
val (
Mbim.CidBasicConnect) – aMbim.CidBasicConnect.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidBasicConnectspecified at val.New in version 1.0.
- Mbim.cid_can_notify(service, cid)¶
- Parameters:
service (
Mbim.Service) – aMbim.Service.cid (
int) – a command ID.
- Returns:
- Return type:
Checks whether the given command allows notifying.
New in version 1.0.
- Mbim.cid_can_query(service, cid)¶
- Parameters:
service (
Mbim.Service) – aMbim.Service.cid (
int) – a command ID.
- Returns:
- Return type:
Checks whether the given command allows querying.
New in version 1.0.
- Mbim.cid_can_set(service, cid)¶
- Parameters:
service (
Mbim.Service) – aMbim.Service.cid (
int) – a command ID.
- Returns:
- Return type:
Checks whether the given command allows setting.
New in version 1.0.
- Mbim.cid_compal_get_string(val)¶
- Parameters:
val (
Mbim.CidCompal) – aMbim.CidCompal.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidCompalspecified at val.New in version 1.32.
- Mbim.cid_dss_get_string(val)¶
- Parameters:
val (
Mbim.CidDss) – aMbim.CidDss.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidDssspecified at val.New in version 1.0.
- Mbim.cid_fibocom_get_string(val)¶
- Parameters:
val (
Mbim.CidFibocom) – aMbim.CidFibocom.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidFibocomspecified at val.New in version 1.32.
- Mbim.cid_get_printable(service, cid)¶
- Parameters:
service (
Mbim.Service) – aMbim.Service.cid (
int) – a command ID.
- Returns:
a constant string.
- Return type:
Gets a printable string for the command specified by the service and the cid.
New in version 1.0.
- Mbim.cid_google_get_string(val)¶
- Parameters:
val (
Mbim.CidGoogle) – aMbim.CidGoogle.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidGooglespecified at val.New in version 1.30.
- Mbim.cid_intel_firmware_update_get_string(val)¶
- Parameters:
val (
Mbim.CidIntelFirmwareUpdate) – aMbim.CidIntelFirmwareUpdate.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidIntelFirmwareUpdatespecified at val.New in version 1.16.
- Mbim.cid_intel_mutual_authentication_get_string(val)¶
- Parameters:
val (
Mbim.CidIntelMutualAuthentication) – aMbim.CidIntelMutualAuthentication.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidIntelMutualAuthenticationspecified at val.New in version 1.30.
- Mbim.cid_intel_thermal_rf_get_string(val)¶
- Parameters:
val (
Mbim.CidIntelThermalRf) – aMbim.CidIntelThermalRf.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidIntelThermalRfspecified at val.New in version 1.28.
- Mbim.cid_intel_tools_get_string(val)¶
- Parameters:
val (
Mbim.CidIntelTools) – aMbim.CidIntelTools.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidIntelToolsspecified at val.New in version 1.30.
- Mbim.cid_ms_basic_connect_extensions_get_string(val)¶
- Parameters:
val (
Mbim.CidMsBasicConnectExtensions) – aMbim.CidMsBasicConnectExtensions.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsBasicConnectExtensionsspecified at val.New in version 1.18.
- Mbim.cid_ms_firmware_id_get_string(val)¶
- Parameters:
val (
Mbim.CidMsFirmwareId) – aMbim.CidMsFirmwareId.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsFirmwareIdspecified at val.New in version 1.0.
- Mbim.cid_ms_host_shutdown_get_string(val)¶
- Parameters:
val (
Mbim.CidMsHostShutdown) – aMbim.CidMsHostShutdown.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsHostShutdownspecified at val.New in version 1.8.
- Mbim.cid_ms_sar_get_string(val)¶
- Parameters:
val (
Mbim.CidMsSar) – aMbim.CidMsSar.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsSarspecified at val.New in version 1.26.
- Mbim.cid_ms_uicc_low_level_access_get_string(val)¶
- Parameters:
val (
Mbim.CidMsUiccLowLevelAccess) – aMbim.CidMsUiccLowLevelAccess.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsUiccLowLevelAccessspecified at val.New in version 1.26.
- Mbim.cid_ms_voice_extensions_get_string(val)¶
- Parameters:
val (
Mbim.CidMsVoiceExtensions) – aMbim.CidMsVoiceExtensions.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsVoiceExtensionsspecified at val.New in version 1.28.
- Mbim.cid_phonebook_get_string(val)¶
- Parameters:
val (
Mbim.CidPhonebook) – aMbim.CidPhonebook.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidPhonebookspecified at val.New in version 1.0.
- Mbim.cid_proxy_control_get_string(val)¶
- Parameters:
val (
Mbim.CidProxyControl) – aMbim.CidProxyControl.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidProxyControlspecified at val.New in version 1.10.
- Mbim.cid_qdu_get_string(val)¶
- Parameters:
val (
Mbim.CidQdu) – aMbim.CidQdu.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidQduspecified at val.New in version 1.26.
- Mbim.cid_qmi_get_string(val)¶
- Parameters:
val (
Mbim.CidQmi) – aMbim.CidQmi.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidQmispecified at val.New in version 1.14.
- Mbim.cid_quectel_get_string(val)¶
- Parameters:
val (
Mbim.CidQuectel) – aMbim.CidQuectel.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidQuectelspecified at val.New in version 1.26.2.
- Mbim.cid_sms_get_string(val)¶
- Parameters:
val (
Mbim.CidSms) – aMbim.CidSms.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidSmsspecified at val.New in version 1.0.
- Mbim.cid_stk_get_string(val)¶
- Parameters:
val (
Mbim.CidStk) – aMbim.CidStk.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidStkspecified at val.New in version 1.0.
- Mbim.cid_ussd_get_string(val)¶
- Parameters:
val (
Mbim.CidUssd) – aMbim.CidUssd.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidUssdspecified at val.New in version 1.0.
- Mbim.compression_get_string(val)¶
- Parameters:
val (
Mbim.Compression) – aMbim.Compression.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.Compressionspecified at val.New in version 1.0.
- Mbim.context_ip_type_get_string(val)¶
- Parameters:
val (
Mbim.ContextIpType) – aMbim.ContextIpType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextIpTypespecified at val.New in version 1.0.
- Mbim.context_media_type_get_string(val)¶
- Parameters:
val (
Mbim.ContextMediaType) – aMbim.ContextMediaType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextMediaTypespecified at val.New in version 1.28.
- Mbim.context_operation_get_string(val)¶
- Parameters:
val (
Mbim.ContextOperation) – aMbim.ContextOperation.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextOperationspecified at val.New in version 1.28.
- Mbim.context_roaming_control_get_string(val)¶
- Parameters:
val (
Mbim.ContextRoamingControl) – aMbim.ContextRoamingControl.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextRoamingControlspecified at val.New in version 1.28.
- Mbim.context_source_get_string(val)¶
- Parameters:
val (
Mbim.ContextSource) – aMbim.ContextSource.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextSourcespecified at val.New in version 1.18.
- Mbim.context_state_get_string(val)¶
- Parameters:
val (
Mbim.ContextState) – aMbim.ContextState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextStatespecified at val.New in version 1.28.
- Mbim.context_type_get_string(val)¶
- Parameters:
val (
Mbim.ContextType) – aMbim.ContextType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextTypespecified at val.New in version 1.0.
- Mbim.core_error_get_string(val)¶
- Parameters:
val (
Mbim.CoreError) – aMbim.CoreError.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CoreErrorspecified at val.
- Mbim.ctrl_caps_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.CtrlCaps) – bitmask ofMbim.CtrlCapsvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.CtrlCapsin mask.New in version 1.0.
- Mbim.data_class_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.DataClass) – bitmask ofMbim.DataClassvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.DataClassin mask.New in version 1.0.
- Mbim.data_class_v3_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.DataClassV3) – bitmask ofMbim.DataClassV3values.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.DataClassV3in mask.New in version 1.28.
- Mbim.data_subclass_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.DataSubclass) – bitmask ofMbim.DataSubclassvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.DataSubclassin mask.New in version 1.28.
- Mbim.default_pdu_activation_hint_get_string(val)¶
- Parameters:
val (
Mbim.DefaultPduActivationHint) – aMbim.DefaultPduActivationHint.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.DefaultPduActivationHintspecified at val.New in version 1.28.
- Mbim.device_service_element_array_free(array)¶
- Parameters:
array (
Mbim.DeviceServiceElement) – aNoneterminated array ofMbim.DeviceServiceElementstructs.
Frees the memory allocated for the array of
Mbim.DeviceServiceElementstructs.New in version 1.0.
- Mbim.device_type_get_string(val)¶
- Parameters:
val (
Mbim.DeviceType) – aMbim.DeviceType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.DeviceTypespecified at val.New in version 1.0.
- Mbim.drx_cycle_get_string(val)¶
- Parameters:
val (
Mbim.DrxCycle) – aMbim.DrxCycle.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.DrxCyclespecified at val.New in version 1.28.
- Mbim.dss_link_state_get_string(val)¶
- Parameters:
val (
Mbim.DssLinkState) – aMbim.DssLinkState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.DssLinkStatespecified at val.New in version 1.4.
- Mbim.emergency_mode_state_get_string(val)¶
- Parameters:
val (
Mbim.EmergencyModeState) – aMbim.EmergencyModeState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.EmergencyModeStatespecified at val.New in version 1.4.
- Mbim.event_entry_array_free(array)¶
- Parameters:
array (
Mbim.EventEntry) – aNoneterminated array ofMbim.EventEntrystructs.
Frees the memory allocated for the array of
Mbim.EventEntrystructs.New in version 1.4.
- Mbim.frequency_range_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.FrequencyRange) – bitmask ofMbim.FrequencyRangevalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.FrequencyRangein mask.New in version 1.28.
- Mbim.intel_boot_mode_get_string(val)¶
- Parameters:
val (
Mbim.IntelBootMode) – aMbim.IntelBootMode.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.IntelBootModespecified at val.New in version 1.28.
- Mbim.intel_rfim_frequency_value_array_free(array)¶
- Parameters:
array (
Mbim.IntelRfimFrequencyValue) – aNoneterminated array ofMbim.IntelRfimFrequencyValuestructs.
Frees the memory allocated for the array of
Mbim.IntelRfimFrequencyValuestructs.New in version 1.28.
- Mbim.intel_serving_cell_info_get_string(val)¶
- Parameters:
val (
Mbim.IntelServingCellInfo) – aMbim.IntelServingCellInfo.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.IntelServingCellInfospecified at val.New in version 1.28.
- Mbim.ip_configuration_available_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.IPConfigurationAvailableFlag) – bitmask ofMbim.IPConfigurationAvailableFlagvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.IPConfigurationAvailableFlagin mask.New in version 1.0.
- Mbim.ipv4_element_array_free(array)¶
- Parameters:
array (
Mbim.IPv4Element) – aNoneterminated array ofMbim.IPv4Elementstructs.
Frees the memory allocated for the array of
Mbim.IPv4Elementstructs.New in version 1.0.
- Mbim.ipv6_element_array_free(array)¶
- Parameters:
array (
Mbim.IPv6Element) – aNoneterminated array ofMbim.IPv6Elementstructs.
Frees the memory allocated for the array of
Mbim.IPv6Elementstructs.New in version 1.0.
- Mbim.ladn_info_get_string(val)¶
- Parameters:
val (
Mbim.LadnInfo) – aMbim.LadnInfo.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.LadnInfospecified at val.New in version 1.28.
- Mbim.lte_attach_configuration_array_free(array)¶
- Parameters:
array (
Mbim.LteAttachConfiguration) – aNoneterminated array ofMbim.LteAttachConfigurationstructs.
Frees the memory allocated for the array of
Mbim.LteAttachConfigurationstructs.New in version 1.18.
- Mbim.lte_attach_context_operation_get_string(val)¶
- Parameters:
val (
Mbim.LteAttachContextOperation) – aMbim.LteAttachContextOperation.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.LteAttachContextOperationspecified at val.New in version 1.18.
- Mbim.lte_attach_context_roaming_control_get_string(val)¶
- Parameters:
val (
Mbim.LteAttachContextRoamingControl) – aMbim.LteAttachContextRoamingControl.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.LteAttachContextRoamingControlspecified at val.New in version 1.18.
- Mbim.lte_attach_state_get_string(val)¶
- Parameters:
val (
Mbim.LteAttachState) – aMbim.LteAttachState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.LteAttachStatespecified at val.New in version 1.18.
- Mbim.lte_attach_status_free(var)¶
- Parameters:
var (
Mbim.DeprecatedLteAttachStatus) – a #MbimLteAttachStatus.
Frees the memory allocated for the #MbimLteAttachStatus.
New in version 1.18.
Deprecated since version 1.26.
- Mbim.message_command_type_get_string(val)¶
- Parameters:
val (
Mbim.MessageCommandType) – aMbim.MessageCommandType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.MessageCommandTypespecified at val.New in version 1.0.
- Mbim.message_type_get_string(val)¶
- Parameters:
val (
Mbim.MessageType) – aMbim.MessageType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.MessageTypespecified at val.New in version 1.0.
- Mbim.mico_mode_get_string(val)¶
- Parameters:
val (
Mbim.MicoMode) – aMbim.MicoMode.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.MicoModespecified at val.New in version 1.28.
- Mbim.modem_configuration_status_get_string(val)¶
- Parameters:
val (
Mbim.ModemConfigurationStatus) – aMbim.ModemConfigurationStatus.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ModemConfigurationStatusspecified at val.New in version 1.28.
- Mbim.network_idle_hint_state_get_string(val)¶
- Parameters:
val (
Mbim.NetworkIdleHintState) – aMbim.NetworkIdleHintState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.NetworkIdleHintStatespecified at val.New in version 1.4.
- Mbim.nw_error_get_string(val)¶
- Parameters:
val (
Mbim.NwError) – aMbim.NwError.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.NwErrorspecified at val.New in version 1.0.
- Mbim.packet_filter_array_free(array)¶
- Parameters:
array (
Mbim.PacketFilter) – aNoneterminated array ofMbim.PacketFilterstructs.
Frees the memory allocated for the array of
Mbim.PacketFilterstructs.New in version 1.4.
- Mbim.packet_filter_v3_array_free(array)¶
- Parameters:
array (
Mbim.PacketFilterV3) – aNoneterminated array ofMbim.PacketFilterV3structs.
Frees the memory allocated for the array of
Mbim.PacketFilterV3structs.New in version 1.28.
- Mbim.packet_service_action_get_string(val)¶
- Parameters:
val (
Mbim.PacketServiceAction) – aMbim.PacketServiceAction.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PacketServiceActionspecified at val.New in version 1.0.
- Mbim.packet_service_state_get_string(val)¶
- Parameters:
val (
Mbim.PacketServiceState) – aMbim.PacketServiceState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PacketServiceStatespecified at val.New in version 1.0.
- Mbim.pco_type_get_string(val)¶
- Parameters:
val (
Mbim.PcoType) – aMbim.PcoType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PcoTypespecified at val.New in version 1.18.
- Mbim.phonebook_entry_array_free(array)¶
- Parameters:
array (
Mbim.PhonebookEntry) – aNoneterminated array ofMbim.PhonebookEntrystructs.
Frees the memory allocated for the array of
Mbim.PhonebookEntrystructs.New in version 1.4.
- Mbim.phonebook_flag_get_string(val)¶
- Parameters:
val (
Mbim.PhonebookFlag) – aMbim.PhonebookFlag.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PhonebookFlagspecified at val.New in version 1.4.
- Mbim.phonebook_state_get_string(val)¶
- Parameters:
val (
Mbim.PhonebookState) – aMbim.PhonebookState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PhonebookStatespecified at val.New in version 1.4.
- Mbim.phonebook_write_flag_get_string(val)¶
- Parameters:
val (
Mbim.PhonebookWriteFlag) – aMbim.PhonebookWriteFlag.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PhonebookWriteFlagspecified at val.New in version 1.4.
- Mbim.pin_format_get_string(val)¶
- Parameters:
val (
Mbim.PinFormat) – aMbim.PinFormat.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinFormatspecified at val.New in version 1.0.
- Mbim.pin_mode_get_string(val)¶
- Parameters:
val (
Mbim.PinMode) – aMbim.PinMode.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinModespecified at val.New in version 1.0.
- Mbim.pin_operation_get_string(val)¶
- Parameters:
val (
Mbim.PinOperation) – aMbim.PinOperation.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinOperationspecified at val.New in version 1.0.
- Mbim.pin_state_get_string(val)¶
- Parameters:
val (
Mbim.PinState) – aMbim.PinState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinStatespecified at val.New in version 1.0.
- Mbim.pin_type_get_string(val)¶
- Parameters:
val (
Mbim.PinType) – aMbim.PinType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinTypespecified at val.New in version 1.0.
- Mbim.protocol_error_get_string(val)¶
- Parameters:
val (
Mbim.ProtocolError) – aMbim.ProtocolError.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ProtocolErrorspecified at val.
- Mbim.provider_array_free(array)¶
- Parameters:
array (
Mbim.Provider) – aNoneterminated array ofMbim.Providerstructs.
Frees the memory allocated for the array of
Mbim.Providerstructs.New in version 1.2.
- Mbim.provider_state_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.ProviderState) – bitmask ofMbim.ProviderStatevalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.ProviderStatein mask.New in version 1.2.
- Mbim.provisioned_context_element_array_free(array)¶
- Parameters:
array (
Mbim.ProvisionedContextElement) – aNoneterminated array ofMbim.ProvisionedContextElementstructs.
Frees the memory allocated for the array of
Mbim.ProvisionedContextElementstructs.New in version 1.0.
- Mbim.provisioned_context_element_v2_array_free(array)¶
- Parameters:
array (
Mbim.ProvisionedContextElementV2) – aNoneterminated array ofMbim.ProvisionedContextElementV2structs.
Frees the memory allocated for the array of
Mbim.ProvisionedContextElementV2structs.New in version 1.28.
- Mbim.qdu_file_type_get_string(val)¶
- Parameters:
val (
Mbim.QduFileType) – aMbim.QduFileType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduFileTypespecified at val.New in version 1.26.
- Mbim.qdu_quectel_reboot_type_get_string(val)¶
- Parameters:
val (
Mbim.QduQuectelRebootType) – aMbim.QduQuectelRebootType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduQuectelRebootTypespecified at val.New in version 1.28.
- Mbim.qdu_quectel_version_type_get_string(val)¶
- Parameters:
val (
Mbim.QduQuectelVersionType) – aMbim.QduQuectelVersionType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduQuectelVersionTypespecified at val.New in version 1.28.
- Mbim.qdu_session_action_get_string(val)¶
- Parameters:
val (
Mbim.QduSessionAction) – aMbim.QduSessionAction.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduSessionActionspecified at val.New in version 1.26.
- Mbim.qdu_session_result_get_string(val)¶
- Parameters:
val (
Mbim.QduSessionResult) – aMbim.QduSessionResult.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduSessionResultspecified at val.New in version 1.26.
- Mbim.qdu_session_status_get_string(val)¶
- Parameters:
val (
Mbim.QduSessionStatus) – aMbim.QduSessionStatus.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduSessionStatusspecified at val.New in version 1.26.
- Mbim.qdu_session_type_get_string(val)¶
- Parameters:
val (
Mbim.QduSessionType) – aMbim.QduSessionType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduSessionTypespecified at val.New in version 1.26.
- Mbim.quectel_command_response_status_get_string(val)¶
- Parameters:
val (
Mbim.QuectelCommandResponseStatus) – aMbim.QuectelCommandResponseStatus.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QuectelCommandResponseStatusspecified at val.New in version 1.32.
- Mbim.quectel_command_type_get_string(val)¶
- Parameters:
val (
Mbim.QuectelCommandType) – aMbim.QuectelCommandType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QuectelCommandTypespecified at val.New in version 1.32.
- Mbim.quectel_radio_switch_state_get_string(val)¶
- Parameters:
val (
Mbim.QuectelRadioSwitchState) – aMbim.QuectelRadioSwitchState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QuectelRadioSwitchStatespecified at val.New in version 1.26.2.
- Mbim.radio_switch_state_get_string(val)¶
- Parameters:
val (
Mbim.RadioSwitchState) – aMbim.RadioSwitchState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.RadioSwitchStatespecified at val.New in version 1.0.
- Mbim.ready_info_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.ReadyInfoFlag) – bitmask ofMbim.ReadyInfoFlagvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.ReadyInfoFlagin mask.New in version 1.0.
- Mbim.register_action_get_string(val)¶
- Parameters:
val (
Mbim.RegisterAction) – aMbim.RegisterAction.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.RegisterActionspecified at val.New in version 1.0.
- Mbim.register_custom_service(uuid, nickname)¶
- Parameters:
- Returns:
- Return type:
Register a custom service
New in version 1.10.
- Mbim.register_mode_get_string(val)¶
- Parameters:
val (
Mbim.RegisterMode) – aMbim.RegisterMode.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.RegisterModespecified at val.New in version 1.0.
- Mbim.register_state_get_string(val)¶
- Parameters:
val (
Mbim.RegisterState) – aMbim.RegisterState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.RegisterStatespecified at val.New in version 1.0.
- Mbim.registration_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.RegistrationFlag) – bitmask ofMbim.RegistrationFlagvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.RegistrationFlagin mask.New in version 1.0.
- Mbim.rsrp_snr_info_array_free(array)¶
- Parameters:
array (
Mbim.RsrpSnrInfo) – aNoneterminated array ofMbim.RsrpSnrInfostructs.
Frees the memory allocated for the array of
Mbim.RsrpSnrInfostructs.New in version 1.28.
- Mbim.sar_backoff_state_get_string(val)¶
- Parameters:
val (
Mbim.SarBackoffState) – aMbim.SarBackoffState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SarBackoffStatespecified at val.New in version 1.26.
- Mbim.sar_config_state_array_free(array)¶
- Parameters:
array (
Mbim.SarConfigState) – aNoneterminated array ofMbim.SarConfigStatestructs.
Frees the memory allocated for the array of
Mbim.SarConfigStatestructs.New in version 1.26.
- Mbim.sar_control_mode_get_string(val)¶
- Parameters:
val (
Mbim.SarControlMode) – aMbim.SarControlMode.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SarControlModespecified at val.New in version 1.26.
- Mbim.sar_wifi_hardware_state_get_string(val)¶
- Parameters:
val (
Mbim.SarWifiHardwareState) – aMbim.SarWifiHardwareState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SarWifiHardwareStatespecified at val.New in version 1.26.
- Mbim.service_get_string(val)¶
- Parameters:
val (
Mbim.Service) – aMbim.Service.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.Servicespecified at val.New in version 1.0.
- Mbim.service_id_is_custom(id)¶
- Parameters:
id (
int) – ID of the service- Returns:
- Return type:
Checks whether id is a custom or standard service.
New in version 1.10.
- Mbim.service_lookup_name(service)¶
- Parameters:
service (
int) – aMbim.Serviceor custom service.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the service.
As opposed to
Mbim.Service.get_string(), this methods takes into account custom services that may have been registered by the user.New in version 1.10.
- Mbim.sim_class_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.SimClass) – bitmask ofMbim.SimClassvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.SimClassin mask.New in version 1.0.
- Mbim.slot_array_free(array)¶
-
Frees the memory allocated for the array of
Mbim.Slotstructs.New in version 1.26.
- Mbim.sms_caps_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.SmsCaps) – bitmask ofMbim.SmsCapsvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.SmsCapsin mask.New in version 1.0.
- Mbim.sms_cdma_encoding_get_string(val)¶
- Parameters:
val (
Mbim.SmsCdmaEncoding) – aMbim.SmsCdmaEncoding.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsCdmaEncodingspecified at val.New in version 1.4.
- Mbim.sms_cdma_lang_get_string(val)¶
- Parameters:
val (
Mbim.SmsCdmaLang) – aMbim.SmsCdmaLang.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsCdmaLangspecified at val.New in version 1.4.
- Mbim.sms_cdma_read_record_array_free(array)¶
- Parameters:
array (
Mbim.SmsCdmaReadRecord) – aNoneterminated array ofMbim.SmsCdmaReadRecordstructs.
Frees the memory allocated for the array of
Mbim.SmsCdmaReadRecordstructs.New in version 1.4.
- Mbim.sms_flag_get_string(val)¶
- Parameters:
val (
Mbim.SmsFlag) – aMbim.SmsFlag.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsFlagspecified at val.New in version 1.4.
- Mbim.sms_format_get_string(val)¶
- Parameters:
val (
Mbim.SmsFormat) – aMbim.SmsFormat.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsFormatspecified at val.New in version 1.4.
- Mbim.sms_pdu_read_record_array_free(array)¶
- Parameters:
array (
Mbim.SmsPduReadRecord) – aNoneterminated array ofMbim.SmsPduReadRecordstructs.
Frees the memory allocated for the array of
Mbim.SmsPduReadRecordstructs.New in version 1.4.
- Mbim.sms_status_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.SmsStatusFlag) – bitmask ofMbim.SmsStatusFlagvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.SmsStatusFlagin mask.New in version 1.4.
- Mbim.sms_status_flag_get_string(val)¶
- Parameters:
val (
Mbim.SmsStatusFlag) – aMbim.SmsStatusFlag.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsStatusFlagspecified at val.New in version 1.4.
Deprecated since version 1.30: Use
Mbim.SmsStatusFlag.build_string_from_mask() instead.
- Mbim.sms_status_get_string(val)¶
- Parameters:
val (
Mbim.SmsStatus) – aMbim.SmsStatus.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsStatusspecified at val.New in version 1.4.
- Mbim.sms_storage_state_get_string(val)¶
- Parameters:
val (
Mbim.SmsStorageState) – aMbim.SmsStorageState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsStorageStatespecified at val.New in version 1.4.
- Mbim.status_error_get_string(val)¶
- Parameters:
val (
Mbim.StatusError) – aMbim.StatusError.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.StatusErrorspecified at val.
- Mbim.stk_pac_profile_get_string(val)¶
- Parameters:
val (
Mbim.StkPacProfile) – aMbim.StkPacProfile.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.StkPacProfilespecified at val.New in version 1.4.
- Mbim.stk_pac_type_get_string(val)¶
- Parameters:
val (
Mbim.StkPacType) – aMbim.StkPacType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.StkPacTypespecified at val.New in version 1.4.
- Mbim.subscriber_ready_state_get_string(val)¶
- Parameters:
val (
Mbim.SubscriberReadyState) – aMbim.SubscriberReadyState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SubscriberReadyStatespecified at val.New in version 1.0.
- Mbim.subscriber_ready_status_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.SubscriberReadyStatusFlag) – bitmask ofMbim.SubscriberReadyStatusFlagvalues.- Returns:
a string with the list of nicknames, or
Noneif none given. The returned value should be freed withGLib.free().- Return type:
Builds a string containing a comma-separated list of nicknames for each
Mbim.SubscriberReadyStatusFlagin mask.New in version 1.28.
- Mbim.terminal_capability_info_array_free(array)¶
- Parameters:
array (
Mbim.TerminalCapabilityInfo) – aNoneterminated array ofMbim.TerminalCapabilityInfostructs.
Frees the memory allocated for the array of
Mbim.TerminalCapabilityInfostructs.New in version 1.26.
- Mbim.tlv_type_get_string(val)¶
- Parameters:
val (
Mbim.TlvType) – aMbim.TlvType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.TlvTypespecified at val.New in version 1.28.
- Mbim.trace_command_get_string(val)¶
- Parameters:
val (
Mbim.TraceCommand) – aMbim.TraceCommand.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.TraceCommandspecified at val.New in version 1.30.
- Mbim.transmission_notification_status_get_string(val)¶
- Parameters:
val (
Mbim.TransmissionNotificationStatus) – aMbim.TransmissionNotificationStatus.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.TransmissionNotificationStatusspecified at val.New in version 1.26.
- Mbim.transmission_state_get_string(val)¶
- Parameters:
val (
Mbim.TransmissionState) – aMbim.TransmissionState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.TransmissionStatespecified at val.New in version 1.26.
- Mbim.uicc_application_array_free(array)¶
- Parameters:
array (
Mbim.UiccApplication) – aNoneterminated array ofMbim.UiccApplicationstructs.
Frees the memory allocated for the array of
Mbim.UiccApplicationstructs.New in version 1.28.
- Mbim.uicc_application_type_get_string(val)¶
- Parameters:
val (
Mbim.UiccApplicationType) – aMbim.UiccApplicationType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccApplicationTypespecified at val.New in version 1.28.
- Mbim.uicc_class_byte_type_get_string(val)¶
- Parameters:
val (
Mbim.UiccClassByteType) – aMbim.UiccClassByteType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccClassByteTypespecified at val.New in version 1.26.
- Mbim.uicc_file_accessibility_get_string(val)¶
- Parameters:
val (
Mbim.UiccFileAccessibility) – aMbim.UiccFileAccessibility.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccFileAccessibilityspecified at val.New in version 1.28.
- Mbim.uicc_file_structure_get_string(val)¶
- Parameters:
val (
Mbim.UiccFileStructure) – aMbim.UiccFileStructure.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccFileStructurespecified at val.New in version 1.28.
- Mbim.uicc_file_type_get_string(val)¶
- Parameters:
val (
Mbim.UiccFileType) – aMbim.UiccFileType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccFileTypespecified at val.New in version 1.28.
- Mbim.uicc_pass_through_action_get_string(val)¶
- Parameters:
val (
Mbim.UiccPassThroughAction) – aMbim.UiccPassThroughAction.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccPassThroughActionspecified at val.New in version 1.26.
- Mbim.uicc_pass_through_status_get_string(val)¶
- Parameters:
val (
Mbim.UiccPassThroughStatus) – aMbim.UiccPassThroughStatus.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccPassThroughStatusspecified at val.New in version 1.26.
- Mbim.uicc_secure_messaging_get_string(val)¶
- Parameters:
val (
Mbim.UiccSecureMessaging) – aMbim.UiccSecureMessaging.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccSecureMessagingspecified at val.New in version 1.26.
- Mbim.uicc_slot_state_get_string(val)¶
- Parameters:
val (
Mbim.UiccSlotState) – aMbim.UiccSlotState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccSlotStatespecified at val.New in version 1.26.
- Mbim.unregister_custom_service(id)¶
- Parameters:
id (
int) – ID of the service to unregister.MbimUuid structure corresponding to service- Returns:
- Return type:
Unregister a custom service.
New in version 1.10.
- Mbim.ussd_action_get_string(val)¶
- Parameters:
val (
Mbim.UssdAction) – aMbim.UssdAction.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UssdActionspecified at val.New in version 1.4.
- Mbim.ussd_response_get_string(val)¶
- Parameters:
val (
Mbim.UssdResponse) – aMbim.UssdResponse.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UssdResponsespecified at val.New in version 1.4.
- Mbim.ussd_session_state_get_string(val)¶
- Parameters:
val (
Mbim.UssdSessionState) – aMbim.UssdSessionState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UssdSessionStatespecified at val.New in version 1.4.
- Mbim.utils_get_show_personal_info()¶
-
Checks whether personal info should be hidden when traces are enabled.
New in version 1.28.
- Mbim.utils_get_traces_enabled()¶
-
Checks whether MBIM message traces are currently enabled.
New in version 1.0.
- Mbim.utils_set_show_personal_info(show_personal_info)¶
-
Sets whether personal info is printed when traces are enabled.
New in version 1.28.
- Mbim.utils_set_traces_enabled(enabled)¶
-
Sets whether MBIM message traces are enabled or disabled.
New in version 1.0.
- Mbim.uuid_from_context_type(context_type)¶
- Parameters:
context_type (
Mbim.ContextType) – aMbim.ContextType.- Returns:
a
Mbim.Uuid.- Return type:
Get the UUID corresponding to context_type.
New in version 1.0.
- Mbim.uuid_from_printable(str, uuid)¶
- Parameters:
- Returns:
- Return type:
Fills in uuid from the printable representation give in str.
Only ccepts str written with dashes separating items, e.g.: a289cc33-bcbb-8b4f-b6b0-133ec2aae6df
New in version 1.8.
- Mbim.uuid_from_service(service)¶
- Parameters:
service (
Mbim.Service) – aMbim.Service.- Returns:
a
Mbim.Uuid.- Return type:
Get the UUID corresponding to service.
The service needs to be either a generic one (including
Mbim.Service.INVALID) or a custom registered one.New in version 1.0.
- Mbim.visible_providers_action_get_string(val)¶
- Parameters:
val (
Mbim.VisibleProvidersAction) – aMbim.VisibleProvidersAction.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.VisibleProvidersActionspecified at val.New in version 1.2.
- Mbim.voice_call_state_get_string(val)¶
- Parameters:
val (
Mbim.VoiceCallState) – aMbim.VoiceCallState.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.VoiceCallStatespecified at val.New in version 1.0.
- Mbim.voice_class_get_string(val)¶
- Parameters:
val (
Mbim.VoiceClass) – aMbim.VoiceClass.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.VoiceClassspecified at val.New in version 1.0.
- Mbim.wake_type_get_string(val)¶
- Parameters:
val (
Mbim.WakeType) – aMbim.WakeType.- Returns:
a string with the nickname, or
Noneif not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.WakeTypespecified at val.New in version 1.28.