[][src]Struct nsl_duplex_d2::StateOfHealth

pub struct StateOfHealth {
    pub reset_count: u32,
    pub current_time: u32,
    pub current_rssi: u8,
    pub connection_status: u8,
    pub globalstar_gateway: u8,
    pub last_contact_time: u32,
    pub last_attempt_time: u32,
    pub call_attempts_since_reset: u32,
    pub successful_connects_since_reset: u32,
    pub average_connection_duration: u32,
    pub connection_duration_std_dev: u32,
}

Struct for storing state of health records

Fields

(4 byte integer) Current epoch reset count, starts at 0, incremented for each power system reset, persistent over the life of the mission

(4 byte integer) Current time (seconds) from start of most recent reset

(1 byte integer) Current RSSI (Received Signal Strength Indicator), 0 to 4

(1 byte integer) Connection status, 0 (connected) or 1 (disconnected)

(1 byte integer) Globalstar gateway connected to, proprietary ID, 0 to 255

(4 byte integer) Last contact time, seconds since latest reset

(4 byte integer) Last attempt time, seconds since latest reset

(4 byte integer) Count of call attempts since latest reset

(4 byte integer) Count of successful connects since latest reset

(4 byte integer) Average connection duration (seconds)

(4 byte integer) Connection duration standard deviation (seconds)

Methods

impl StateOfHealth
[src]

Parse StateOfHealth from the serial line.

Trait Implementations

impl PartialEq<StateOfHealth> for StateOfHealth
[src]

impl Debug for StateOfHealth
[src]

Auto Trait Implementations

impl Send for StateOfHealth

impl Sync for StateOfHealth

Blanket Implementations

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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