ezsp 7.3.1

Ember ZNet Serial Protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Parameters for the [`Wwah::is_uptime_long`](crate::Wwah::is_uptime_long) command.

crate::frame::parameters::frame!(
    0x00E5,
    {},
    { has_long_up_time: bool } => Wwah(wwah)::IsUptimeLong,
    impl {
        /// Convert the response into a boolean value of whether the uptime is long.
        impl From<Response> for bool {
            fn from(response: Response) -> Self {
                response.has_long_up_time
            }
        }
    }
);