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_hub_connected`](crate::Wwah::is_hub_connected) command.

crate::frame::parameters::frame!(
    0x00E6,
    {},
    { is_hub_connected: bool } => Wwah(wwah)::IsHubConnected,
    impl {
        /// Convert the response into a boolean indicating if the hub is connected.
        impl From<Response> for bool {
            fn from(response: Response) -> Self {
                response.is_hub_connected
            }
        }
    }
);