Enum ublox_short_range::command::data_mode::types::WatchdogSetting[][src]

#[repr(u8)]pub enum WatchdogSetting {
    SPP(u16),
    InactivityTimeout(u16),
    BluetoothDisconnectReset(OnOff),
    WiFiDisconnectReset(OnOff),
    WiFiConnectTomeout(u8),
    NetUpTimeout(u8),
}

Variants

SPP(u16)

SPP (and all SPP based protocols like DUN) write timeout: is the time in milliseconds before DCE disconnects if a write is not acknowledged. • 0: Disabled • > 0: Timeout in milliseconds (factory default value: 10000 ms)

InactivityTimeout(u16)

Inactivity timeout: is the time in milliseconds before DCE disconnects all links when no data activity in the system is detected. • 0 (factory default): Disabled • > 0: Timeout in milliseconds

BluetoothDisconnectReset(OnOff)

Bluetooth disconnect reset: defines if the DCE shall reset on any dropped Bluetooth connection (not on an actively closed connection) • Off (factory default): Disabled • On: Enabled

WiFiDisconnectReset(OnOff)

Wi-Fi Station disconnect reset: defines if the DCE shall reset on dropped Wi-Fi Station connection (not on actively closed connection) • Off (factory default): Disabled • On: Enabled

WiFiConnectTomeout(u8)

Wi-Fi connect timeout: <param_val1> is the time, in seconds, that an ongoing connection attempt, for a station, will proceed before a Wi-Fi recovery is done. Note that after the recovery, the connection attempt will continue and there is no need for additional user activity. Recommended value is 30s and it should not be set lower than 20s. The default value is 0, which means that the watchdog is disabled.

NetUpTimeout(u8)

Net Up timeout: <param_val1> is the time, in seconds, allowed between a +UUWLE (link connected) event and a +UUNU (net up) event. If the +UUNU is not received within the set time, the link is automatically disconnected and connected again shortly. Typically, this watchdog is set to ensure that active Bluetooth links get enough air time to avoid link loss. The watchdog is disabled by default, value 0, and an enabled recommended value is 3 seconds. Also, the link supervision time for the Bluetooth links should be increased from the default value of 2s (see the parameter tag 7 in +UBTCFG for more information).

Trait Implementations

impl AtatLen for WatchdogSetting[src]

type Len = <<u8 as AtatLen>::Len as Add<<<<<u8 as AtatLen>::Len as Add<U0>>::Output as Add<U1>>::Output as Max<<<<<u8 as AtatLen>::Len as Add<U0>>::Output as Add<U1>>::Output as Max<<<<<OnOff as AtatLen>::Len as Add<U0>>::Output as Add<U1>>::Output as Max<<<<<OnOff as AtatLen>::Len as Add<U0>>::Output as Add<U1>>::Output as Max<<<<<u16 as AtatLen>::Len as Add<U0>>::Output as Add<U1>>::Output as Max<<<<<u16 as AtatLen>::Len as Add<U0>>::Output as Add<U1>>::Output as Max<U0>>::Output>>::Output>>::Output>>::Output>>::Output>>::Output>>::Output

impl Clone for WatchdogSetting[src]

impl<'de> Deserialize<'de> for WatchdogSetting[src]

impl PartialEq<WatchdogSetting> for WatchdogSetting[src]

impl Serialize for WatchdogSetting[src]

impl StructuralPartialEq for WatchdogSetting[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.