Struct SetSystemSelectionPreference
pub struct SetSystemSelectionPreference<'a> {Show 14 fields
pub emergency_mode: Option<bool>,
pub mode_preference: Option<ModePreference>,
pub band_preference: Option<u64>,
pub roam_preference: Option<RoamPreference>,
pub lte_band_preference: Option<u64>,
pub network_selection: Option<NetworkSelection>,
pub change_duration: Option<ChangeDuration>,
pub service_domain_preference: Option<ServiceDomainPreference>,
pub gw_acquisition_order: Option<GwAcquisitionOrder>,
pub tdscdma_band_preference: Option<u64>,
pub acquisition_order: Option<AcquisitionOrder<'a>>,
pub service_registration_restriction: Option<ServiceRegistrationRestriction>,
pub usage_setting: Option<UsagePreference>,
pub voice_domain_preference: Option<VoiceDomainPreference>,
}Expand description
Sets the system selection preference
(QMI_NAS_SET_SYSTEM_SELECTION_PREFERENCE).
Fields set to None are left unchanged. Without
change_duration the change is permanent.
The encoder’s IDL table also has TLVs 0x1B and 0x1C with the same fields as
service_domain_preference and
gw_acquisition_order. The C struct doesn’t
have them. This crate only sends 0x18 and 0x19.
Fields§
§emergency_mode: Option<bool>Emergency mode (emergency_mode).
mode_preference: Option<ModePreference>Allowed radio technologies (mode_pref).
band_preference: Option<u64>GSM, WCDMA and CDMA bands, as the raw nas_band_pref_mask_type_v01
mask (band_pref).
roam_preference: Option<RoamPreference>Roaming preference (roam_pref).
lte_band_preference: Option<u64>LTE bands 1 to 64, as the raw lte_band_pref_mask_type_v01 mask. Bit 0
is band 1 (lte_band_pref).
network_selection: Option<NetworkSelection>Automatic or manual network selection (net_sel_pref and
mnc_includes_pcs_digit).
change_duration: Option<ChangeDuration>How long the change lasts (change_duration).
service_domain_preference: Option<ServiceDomainPreference>Service domain preference (srv_domain_pref).
gw_acquisition_order: Option<GwAcquisitionOrder>Acquisition order of GSM and WCDMA (gw_acq_order_pref).
tdscdma_band_preference: Option<u64>TD-SCDMA bands, as the raw nas_tdscdma_band_pref_mask_type_v01 mask
(tdscdma_band_pref).
acquisition_order: Option<AcquisitionOrder<'a>>Order in which the modem tries radio technologies (acq_order).
service_registration_restriction: Option<ServiceRegistrationRestriction>Registration restriction (srv_reg_restriction).
usage_setting: Option<UsagePreference>Usage setting (usage_setting).
voice_domain_preference: Option<VoiceDomainPreference>Voice domain preference (voice_domain_pref).
Trait Implementations§
§impl<'a> Clone for SetSystemSelectionPreference<'a>
impl<'a> Clone for SetSystemSelectionPreference<'a>
§fn clone(&self) -> SetSystemSelectionPreference<'a>
fn clone(&self) -> SetSystemSelectionPreference<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more