Searched refs:SnoopMode (Results 1 – 2 of 2) sorted by relevance
56 pub enum SnoopMode { enum68 impl std::str::FromStr for SnoopMode { implementation73 "disabled" => Ok(SnoopMode::Disabled), in from_str()74 "filtered" => Ok(SnoopMode::Filtered), in from_str()75 "full" => Ok(SnoopMode::Full), in from_str()86 mode: SnoopMode,96 mode: get_configured_snoop_mode().parse().unwrap_or(SnoopMode::Disabled), in new()106 pub fn set_mode(&mut self, value: SnoopMode) { in set_mode() argument229 if let SnoopMode::Filtered = config.mode { in new()230 config.mode = SnoopMode::Disabled; in new()[all …]
5 use bt_hal::snoop::{SnoopConfig, SnoopMode};50 config.set_mode(SnoopMode::Full); in configure_snoop()