Functions¶
Details¶
- Mbim.access_media_type_get_string(val)¶
- Parameters:
val (
Mbim.AccessMediaType
) – aMbim.AccessMediaType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.AccessMediaType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ActivationCommand
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ActivationState
specified at val.New in version 1.0.
- Mbim.atds_provider_array_free(array)¶
- Parameters:
array (
Mbim.AtdsProvider
) – aNone
terminated array ofMbim.AtdsProvider
structs.
Frees the memory allocated for the array of
Mbim.AtdsProvider
structs.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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.AtdsProviderPlmnMode
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.AtdsRatMode
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.AuthProtocol
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CarrierLockCause
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CarrierLockModemState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CarrierLockStatus
specified at val.New in version 1.30.
- Mbim.cell_info_cdma_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoCdma
) – aNone
terminated array ofMbim.CellInfoCdma
structs.
Frees the memory allocated for the array of
Mbim.CellInfoCdma
structs.New in version 1.28.
- Mbim.cell_info_neighboring_gsm_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringGsm
) – aNone
terminated array ofMbim.CellInfoNeighboringGsm
structs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringGsm
structs.New in version 1.28.
- Mbim.cell_info_neighboring_lte_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringLte
) – aNone
terminated array ofMbim.CellInfoNeighboringLte
structs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringLte
structs.New in version 1.28.
- Mbim.cell_info_neighboring_nr_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringNr
) – aNone
terminated array ofMbim.CellInfoNeighboringNr
structs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringNr
structs.New in version 1.28.
- Mbim.cell_info_neighboring_tdscdma_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringTdscdma
) – aNone
terminated array ofMbim.CellInfoNeighboringTdscdma
structs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringTdscdma
structs.New in version 1.28.
- Mbim.cell_info_neighboring_umts_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoNeighboringUmts
) – aNone
terminated array ofMbim.CellInfoNeighboringUmts
structs.
Frees the memory allocated for the array of
Mbim.CellInfoNeighboringUmts
structs.New in version 1.28.
- Mbim.cell_info_serving_nr_array_free(array)¶
- Parameters:
array (
Mbim.CellInfoServingNr
) – aNone
terminated array ofMbim.CellInfoServingNr
structs.
Frees the memory allocated for the array of
Mbim.CellInfoServingNr
structs.New in version 1.28.
- Mbim.cellular_class_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.CellularClass
) – bitmask ofMbim.CellularClass
values.- Returns:
a string with the list of nicknames, or
None
if 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.CellularClass
in 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidAtds
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidAuth
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidBasicConnect
specified 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_dss_get_string(val)¶
- Parameters:
val (
Mbim.CidDss
) – aMbim.CidDss
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidDss
specified at val.New in version 1.0.
- 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidGoogle
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidIntelFirmwareUpdate
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidIntelMutualAuthentication
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidIntelThermalRf
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidIntelTools
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsBasicConnectExtensions
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsFirmwareId
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsHostShutdown
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsSar
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsUiccLowLevelAccess
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidMsVoiceExtensions
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidPhonebook
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidProxyControl
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidQdu
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidQmi
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidQuectel
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidSms
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidStk
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CidUssd
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.Compression
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextIpType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextMediaType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextOperation
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextRoamingControl
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextSource
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ContextType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.CoreError
specified at val.
- Mbim.ctrl_caps_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.CtrlCaps
) – bitmask ofMbim.CtrlCaps
values.- Returns:
a string with the list of nicknames, or
None
if 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.CtrlCaps
in mask.New in version 1.0.
- Mbim.data_class_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.DataClass
) – bitmask ofMbim.DataClass
values.- Returns:
a string with the list of nicknames, or
None
if 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.DataClass
in mask.New in version 1.0.
- Mbim.data_class_v3_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.DataClassV3
) – bitmask ofMbim.DataClassV3
values.- Returns:
a string with the list of nicknames, or
None
if 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.DataClassV3
in mask.New in version 1.28.
- Mbim.data_subclass_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.DataSubclass
) – bitmask ofMbim.DataSubclass
values.- Returns:
a string with the list of nicknames, or
None
if 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.DataSubclass
in 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.DefaultPduActivationHint
specified at val.New in version 1.28.
- Mbim.device_service_element_array_free(array)¶
- Parameters:
array (
Mbim.DeviceServiceElement
) – aNone
terminated array ofMbim.DeviceServiceElement
structs.
Frees the memory allocated for the array of
Mbim.DeviceServiceElement
structs.New in version 1.0.
- Mbim.device_type_get_string(val)¶
- Parameters:
val (
Mbim.DeviceType
) – aMbim.DeviceType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.DeviceType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.DrxCycle
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.DssLinkState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.EmergencyModeState
specified at val.New in version 1.4.
- Mbim.event_entry_array_free(array)¶
- Parameters:
array (
Mbim.EventEntry
) – aNone
terminated array ofMbim.EventEntry
structs.
Frees the memory allocated for the array of
Mbim.EventEntry
structs.New in version 1.4.
- Mbim.frequency_range_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.FrequencyRange
) – bitmask ofMbim.FrequencyRange
values.- Returns:
a string with the list of nicknames, or
None
if 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.FrequencyRange
in 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.IntelBootMode
specified at val.New in version 1.28.
- Mbim.intel_rfim_frequency_value_array_free(array)¶
- Parameters:
array (
Mbim.IntelRfimFrequencyValue
) – aNone
terminated array ofMbim.IntelRfimFrequencyValue
structs.
Frees the memory allocated for the array of
Mbim.IntelRfimFrequencyValue
structs.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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.IntelServingCellInfo
specified at val.New in version 1.28.
- Mbim.ip_configuration_available_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.IPConfigurationAvailableFlag
) – bitmask ofMbim.IPConfigurationAvailableFlag
values.- Returns:
a string with the list of nicknames, or
None
if 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.IPConfigurationAvailableFlag
in mask.New in version 1.0.
- Mbim.ipv4_element_array_free(array)¶
- Parameters:
array (
Mbim.IPv4Element
) – aNone
terminated array ofMbim.IPv4Element
structs.
Frees the memory allocated for the array of
Mbim.IPv4Element
structs.New in version 1.0.
- Mbim.ipv6_element_array_free(array)¶
- Parameters:
array (
Mbim.IPv6Element
) – aNone
terminated array ofMbim.IPv6Element
structs.
Frees the memory allocated for the array of
Mbim.IPv6Element
structs.New in version 1.0.
- Mbim.ladn_info_get_string(val)¶
- Parameters:
val (
Mbim.LadnInfo
) – aMbim.LadnInfo
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.LadnInfo
specified at val.New in version 1.28.
- Mbim.lte_attach_configuration_array_free(array)¶
- Parameters:
array (
Mbim.LteAttachConfiguration
) – aNone
terminated array ofMbim.LteAttachConfiguration
structs.
Frees the memory allocated for the array of
Mbim.LteAttachConfiguration
structs.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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.LteAttachContextOperation
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.LteAttachContextRoamingControl
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.LteAttachState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.MessageCommandType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.MessageType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.MicoMode
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ModemConfigurationStatus
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.NetworkIdleHintState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.NwError
specified at val.New in version 1.0.
- Mbim.packet_filter_array_free(array)¶
- Parameters:
array (
Mbim.PacketFilter
) – aNone
terminated array ofMbim.PacketFilter
structs.
Frees the memory allocated for the array of
Mbim.PacketFilter
structs.New in version 1.4.
- Mbim.packet_filter_v3_array_free(array)¶
- Parameters:
array (
Mbim.PacketFilterV3
) – aNone
terminated array ofMbim.PacketFilterV3
structs.
Frees the memory allocated for the array of
Mbim.PacketFilterV3
structs.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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PacketServiceAction
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PacketServiceState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PcoType
specified at val.New in version 1.18.
- Mbim.phonebook_entry_array_free(array)¶
- Parameters:
array (
Mbim.PhonebookEntry
) – aNone
terminated array ofMbim.PhonebookEntry
structs.
Frees the memory allocated for the array of
Mbim.PhonebookEntry
structs.New in version 1.4.
- Mbim.phonebook_flag_get_string(val)¶
- Parameters:
val (
Mbim.PhonebookFlag
) – aMbim.PhonebookFlag
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PhonebookFlag
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PhonebookState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PhonebookWriteFlag
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinFormat
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinMode
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinOperation
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.PinType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.ProtocolError
specified at val.
- Mbim.provider_array_free(array)¶
- Parameters:
array (
Mbim.Provider
) – aNone
terminated array ofMbim.Provider
structs.
Frees the memory allocated for the array of
Mbim.Provider
structs.New in version 1.2.
- Mbim.provider_state_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.ProviderState
) – bitmask ofMbim.ProviderState
values.- Returns:
a string with the list of nicknames, or
None
if 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.ProviderState
in mask.New in version 1.2.
- Mbim.provisioned_context_element_array_free(array)¶
- Parameters:
array (
Mbim.ProvisionedContextElement
) – aNone
terminated array ofMbim.ProvisionedContextElement
structs.
Frees the memory allocated for the array of
Mbim.ProvisionedContextElement
structs.New in version 1.0.
- Mbim.provisioned_context_element_v2_array_free(array)¶
- Parameters:
array (
Mbim.ProvisionedContextElementV2
) – aNone
terminated array ofMbim.ProvisionedContextElementV2
structs.
Frees the memory allocated for the array of
Mbim.ProvisionedContextElementV2
structs.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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduFileType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduQuectelRebootType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduQuectelVersionType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduSessionAction
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduSessionResult
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduSessionStatus
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QduSessionType
specified at val.New in version 1.26.
- Mbim.quectel_radio_switch_state_get_string(val)¶
- Parameters:
val (
Mbim.QuectelRadioSwitchState
) – aMbim.QuectelRadioSwitchState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.QuectelRadioSwitchState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.RadioSwitchState
specified at val.New in version 1.0.
- Mbim.ready_info_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.ReadyInfoFlag
) – bitmask ofMbim.ReadyInfoFlag
values.- Returns:
a string with the list of nicknames, or
None
if 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.ReadyInfoFlag
in 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.RegisterAction
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.RegisterMode
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.RegisterState
specified at val.New in version 1.0.
- Mbim.registration_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.RegistrationFlag
) – bitmask ofMbim.RegistrationFlag
values.- Returns:
a string with the list of nicknames, or
None
if 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.RegistrationFlag
in mask.New in version 1.0.
- Mbim.rsrp_snr_info_array_free(array)¶
- Parameters:
array (
Mbim.RsrpSnrInfo
) – aNone
terminated array ofMbim.RsrpSnrInfo
structs.
Frees the memory allocated for the array of
Mbim.RsrpSnrInfo
structs.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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SarBackoffState
specified at val.New in version 1.26.
- Mbim.sar_config_state_array_free(array)¶
- Parameters:
array (
Mbim.SarConfigState
) – aNone
terminated array ofMbim.SarConfigState
structs.
Frees the memory allocated for the array of
Mbim.SarConfigState
structs.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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SarControlMode
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SarWifiHardwareState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.Service
specified 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.Service
or custom service.- Returns:
a string with the nickname, or
None
if 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.SimClass
values.- Returns:
a string with the list of nicknames, or
None
if 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.SimClass
in mask.New in version 1.0.
- Mbim.slot_array_free(array)¶
-
Frees the memory allocated for the array of
Mbim.Slot
structs.New in version 1.26.
- Mbim.sms_caps_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.SmsCaps
) – bitmask ofMbim.SmsCaps
values.- Returns:
a string with the list of nicknames, or
None
if 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.SmsCaps
in 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsCdmaEncoding
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsCdmaLang
specified at val.New in version 1.4.
- Mbim.sms_cdma_read_record_array_free(array)¶
- Parameters:
array (
Mbim.SmsCdmaReadRecord
) – aNone
terminated array ofMbim.SmsCdmaReadRecord
structs.
Frees the memory allocated for the array of
Mbim.SmsCdmaReadRecord
structs.New in version 1.4.
- Mbim.sms_flag_get_string(val)¶
- Parameters:
val (
Mbim.SmsFlag
) – aMbim.SmsFlag
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsFlag
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsFormat
specified at val.New in version 1.4.
- Mbim.sms_pdu_read_record_array_free(array)¶
- Parameters:
array (
Mbim.SmsPduReadRecord
) – aNone
terminated array ofMbim.SmsPduReadRecord
structs.
Frees the memory allocated for the array of
Mbim.SmsPduReadRecord
structs.New in version 1.4.
- Mbim.sms_status_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.SmsStatusFlag
) – bitmask ofMbim.SmsStatusFlag
values.- Returns:
a string with the list of nicknames, or
None
if 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.SmsStatusFlag
in 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsStatusFlag
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsStatus
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SmsStorageState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.StatusError
specified at val.
- Mbim.stk_pac_profile_get_string(val)¶
- Parameters:
val (
Mbim.StkPacProfile
) – aMbim.StkPacProfile
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.StkPacProfile
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.StkPacType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.SubscriberReadyState
specified at val.New in version 1.0.
- Mbim.subscriber_ready_status_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Mbim.SubscriberReadyStatusFlag
) – bitmask ofMbim.SubscriberReadyStatusFlag
values.- Returns:
a string with the list of nicknames, or
None
if 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.SubscriberReadyStatusFlag
in mask.New in version 1.28.
- Mbim.terminal_capability_info_array_free(array)¶
- Parameters:
array (
Mbim.TerminalCapabilityInfo
) – aNone
terminated array ofMbim.TerminalCapabilityInfo
structs.
Frees the memory allocated for the array of
Mbim.TerminalCapabilityInfo
structs.New in version 1.26.
- Mbim.tlv_type_get_string(val)¶
- Parameters:
val (
Mbim.TlvType
) – aMbim.TlvType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.TlvType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.TraceCommand
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.TransmissionNotificationStatus
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.TransmissionState
specified at val.New in version 1.26.
- Mbim.uicc_application_array_free(array)¶
- Parameters:
array (
Mbim.UiccApplication
) – aNone
terminated array ofMbim.UiccApplication
structs.
Frees the memory allocated for the array of
Mbim.UiccApplication
structs.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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccApplicationType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccClassByteType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccFileAccessibility
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccFileStructure
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccFileType
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccPassThroughAction
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccPassThroughStatus
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccSecureMessaging
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UiccSlotState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UssdAction
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UssdResponse
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.UssdSessionState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.VisibleProvidersAction
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.VoiceCallState
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.VoiceClass
specified 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
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
Mbim.WakeType
specified at val.New in version 1.28.