ezsp 6.0.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::get_parent_classification_enabled`](crate::Wwah::get_parent_classification_enabled) command.

crate::frame::parameters::frame!(
    0x00F0,
    {},
    { enabled: bool } => Wwah(wwah)::GetParentClassificationEnabled,
    impl {
        /// Convert the response into a boolean indicating if the parent classification is enabled.
        impl From<Response> for bool {
            fn from(response: Response) -> Self {
                response.enabled
            }
        }
    }
);