Trait ublox_short_range::wifi::sta::WifiConnectivity[][src]

pub trait WifiConnectivity {
    fn connect(
        &self,
        options: ConnectionOptions
    ) -> Result<(), WifiConnectionError>;
fn scan(&self) -> Result<Vec<WifiNetwork, U32>, WifiError>;
fn is_connected(&self) -> bool;
fn disconnect(&self) -> Result<(), WifiConnectionError>; }

Wireless network connectivity functionality.

Required methods

fn connect(&self, options: ConnectionOptions) -> Result<(), WifiConnectionError>[src]

Makes an attempt to connect to a selected wireless network with password specified.

fn scan(&self) -> Result<Vec<WifiNetwork, U32>, WifiError>[src]

fn is_connected(&self) -> bool[src]

fn disconnect(&self) -> Result<(), WifiConnectionError>[src]

Loading content...

Implementors

impl<T, N, L> WifiConnectivity for UbloxClient<T, N, L> where
    T: AtatClient,
    N: ArrayLength<Option<SocketSetItem<L>>>,
    L: ArrayLength<u8>, 
[src]

fn connect(&self, options: ConnectionOptions) -> Result<(), WifiConnectionError>[src]

Attempts to connect to a wireless network with the given connection options.

Loading content...