mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 14:53:03 +00:00
Merge pull request #3211 from busslina/original-mirror-main-fixing-missing-reexport
Fixing missing re-export
This commit is contained in:
commit
b88dc137e7
@ -42,9 +42,11 @@ pub enum ScanType {
|
|||||||
Passive,
|
Passive,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Scan options.
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||||
pub struct ScanOptions {
|
pub struct ScanOptions {
|
||||||
|
/// SSID to scan for.
|
||||||
pub ssid: Option<heapless::String<32>>,
|
pub ssid: Option<heapless::String<32>>,
|
||||||
/// If set to `None`, all APs will be returned. If set to `Some`, only APs
|
/// If set to `None`, all APs will be returned. If set to `Some`, only APs
|
||||||
/// with the specified BSSID will be returned.
|
/// with the specified BSSID will be returned.
|
||||||
|
@ -28,7 +28,7 @@ use ioctl::IoctlState;
|
|||||||
|
|
||||||
use crate::bus::Bus;
|
use crate::bus::Bus;
|
||||||
pub use crate::bus::SpiBusCyw43;
|
pub use crate::bus::SpiBusCyw43;
|
||||||
pub use crate::control::{AddMulticastAddressError, Control, Error as ControlError, Scanner};
|
pub use crate::control::{AddMulticastAddressError, Control, Error as ControlError, ScanOptions, Scanner};
|
||||||
pub use crate::runner::Runner;
|
pub use crate::runner::Runner;
|
||||||
pub use crate::structs::BssInfo;
|
pub use crate::structs::BssInfo;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user