Skip to main content

IndicationRegister

Struct IndicationRegister 

pub struct IndicationRegister {
Show 38 fields pub sys_sel_pref: Option<bool>, pub ddtm_events: Option<bool>, pub serving_system: Option<bool>, pub dual_standby_pref: Option<bool>, pub subscription_info: Option<bool>, pub network_time: Option<bool>, pub sys_info: Option<bool>, pub sig_info: Option<bool>, pub err_rate: Option<bool>, pub hdr_uati: Option<bool>, pub hdr_session_close: Option<bool>, pub managed_roaming: Option<bool>, pub current_plmn_name: Option<bool>, pub embms_status: Option<bool>, pub rf_band_info: Option<bool>, pub network_reject: Option<NetworkReject>, pub operator_name_data: Option<bool>, pub csp_plmn_mode_bit: Option<bool>, pub rtre_cfg: Option<bool>, pub ims_pref_status: Option<bool>, pub e911_state_ready_status: Option<bool>, pub lte_sib16_network_time: Option<bool>, pub lte_cphy_ca: Option<bool>, pub subscription_change: Option<bool>, pub ssac_info: Option<bool>, pub emm_t3402_change: Option<bool>, pub acb_info_change: Option<bool>, pub data_subs_priority_change: Option<bool>, pub t3346_timer_status_change: Option<bool>, pub call_mode_change: Option<bool>, pub ssac_change_info: Option<bool>, pub manual_scan_fail: Option<bool>, pub timer_expiry: Option<bool>, pub emergency_mode_status: Option<bool>, pub gcell_info: Option<bool>, pub edrx_change_info: Option<bool>, pub lte_rach_fail: Option<bool>, pub lte_rrc_tx_info: Option<bool>,
}
Expand description

Sets which indications the modem sends to this client (QMI_NAS_INDICATION_REGISTER).

Each field controls one indication. None leaves the setting unchanged. The modem keeps the settings per client. The field names follow the C header without the reg_ prefix.

This crate decodes the indications of sys_info, sig_info and sys_sel_pref as Event. Subscribe with Client::events before you send this request, otherwise the first indications are lost.

Fields§

§sys_sel_pref: Option<bool>

QMI_NAS_SYSTEM_SELECTION_PREFERENCE_IND (reg_sys_sel_pref).

§ddtm_events: Option<bool>

QMI_NAS_DDTM_IND (reg_ddtm_events).

§serving_system: Option<bool>

QMI_NAS_SERVING_SYSTEM_IND (req_serving_system).

§dual_standby_pref: Option<bool>

QMI_NAS_DUAL_STANDBY_PREF_IND (dual_standby_pref).

§subscription_info: Option<bool>

QMI_NAS_SUBSCRIPTION_INFO_IND (subscription_info).

§network_time: Option<bool>

QMI_NAS_NETWORK_TIME_IND (reg_network_time).

§sys_info: Option<bool>

QMI_NAS_SYS_INFO_IND (sys_info).

§sig_info: Option<bool>

QMI_NAS_SIG_INFO_IND (sig_info).

§err_rate: Option<bool>

QMI_NAS_ERR_RATE_IND (err_rate).

§hdr_uati: Option<bool>

QMI_NAS_HDR_UATI_UPDATE_IND (reg_hdr_uati).

§hdr_session_close: Option<bool>

QMI_NAS_HDR_SESSION_CLOSE_IND (reg_hdr_session_close).

§managed_roaming: Option<bool>

QMI_NAS_MANAGED_ROAMING_IND (reg_managed_roaming).

§current_plmn_name: Option<bool>

QMI_NAS_CURRENT_PLMN_NAME_IND (reg_current_plmn_name).

§embms_status: Option<bool>

QMI_NAS_EMBMS_STATUS_IND (reg_embms_status).

§rf_band_info: Option<bool>

QMI_NAS_RF_BAND_INFO_IND (reg_rf_band_info).

§network_reject: Option<NetworkReject>

QMI_NAS_NETWORK_REJECT_IND (network_reject).

§operator_name_data: Option<bool>

QMI_NAS_OPERATOR_NAME_DATA_IND (reg_operator_name_data).

§csp_plmn_mode_bit: Option<bool>

QMI_NAS_CSP_PLMN_MODE_BIT_IND (reg_csp_plmn_mode_bit).

§rtre_cfg: Option<bool>

QMI_NAS_RTRE_CONFIG_IND (reg_rtre_cfg).

§ims_pref_status: Option<bool>

QMI_NAS_IMS_PREF_STATUS_IND (reg_ims_pref_status).

§e911_state_ready_status: Option<bool>

QMI_NAS_E911_STATE_READY_IND (reg_e911_state_ready_status).

§lte_sib16_network_time: Option<bool>

QMI_NAS_LTE_SIB16_NETWORK_TIME_IND (reg_lte_sib16_network_time).

§lte_cphy_ca: Option<bool>

QMI_NAS_LTE_CPHY_CA_IND (reg_lte_cphy_ca).

§subscription_change: Option<bool>

QMI_NAS_SUBSCRIPTION_CHANGE_IND (reg_subscription_change).

§ssac_info: Option<bool>

QMI_NAS_SSAC_INFO_IND (reg_ssac_info).

§emm_t3402_change: Option<bool>

QMI_NAS_EMM_T3402_CHANGED_IND (reg_emm_t3402_change).

§acb_info_change: Option<bool>

QMI_NAS_ACB_INFO_IND (reg_acb_info_change).

§data_subs_priority_change: Option<bool>

QMI_NAS_DATA_SUBS_PRIORITY_IND (reg_data_subs_priority_change).

§t3346_timer_status_change: Option<bool>

QMI_NAS_T3346_TIMER_STATUS_CHANGE_IND (reg_t3346_timer_status_change).

§call_mode_change: Option<bool>

QMI_NAS_CALL_MODE_IND (reg_call_mode_change).

§ssac_change_info: Option<bool>

QMI_NAS_SSAC_CHANGE_INFO_IND (reg_ssac_change_info).

§manual_scan_fail: Option<bool>

QMI_NAS_MANUAL_SCAN_FAIL_IND (reg_manual_scan_fail).

§timer_expiry: Option<bool>

QMI_NAS_TIMER_EXPIRY_IND (reg_timer_expiry_ind).

§emergency_mode_status: Option<bool>

QMI_NAS_EMERGENCY_MODE_STATUS_IND (reg_emergency_mode_status_ind).

§gcell_info: Option<bool>

QMI_NAS_GCELL_INFO_IND (reg_gcell_info_ind).

§edrx_change_info: Option<bool>

QMI_NAS_EDRX_CHANGE_INFO_IND (reg_edrx_change_info_ind).

§lte_rach_fail: Option<bool>

QMI_NAS_LTE_RACH_FAIL_IND (reg_lte_rach_fail_ind).

§lte_rrc_tx_info: Option<bool>

QMI_NAS_LTE_RRC_TX_INFO_IND (lte_rrc_tx_info_ind).

Trait Implementations§

§

impl Clone for IndicationRegister

§

fn clone(&self) -> IndicationRegister

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for IndicationRegister

§

impl Debug for IndicationRegister

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for IndicationRegister

§

fn default() -> IndicationRegister

Returns the “default value” for a type. Read more
§

impl Eq for IndicationRegister

§

impl PartialEq for IndicationRegister

§

fn eq(&self, other: &IndicationRegister) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
§

impl Request for IndicationRegister

§

const ID: u16 = 0x0003

Message ID.
§

type Response = ()

Response message.
§

type Service = Nas

Service that the request belongs to.
§

fn encode(&self, tlvs: &mut TlvWriter)

Writes the TLVs of the request.
Source§

const TIMEOUT: Option<Duration> = None

Timeout of the request, if it differs from the client’s default.
Source§

fn decode_response(response: Message) -> Result<Self::Response, Error>

Checks and decodes the response. Read more
§

impl StructuralPartialEq for IndicationRegister

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more