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 [`Utilities::get_phy_interface_count`](crate::Utilities::get_phy_interface_count) command.

crate::frame::parameters::frame!(
    0x00FC,
    {},
    { interface_count: u8 } => Utilities(utilities)::GetPhyInterfaceCount,
    impl {
        /// Convert the response into the number of physical interfaces.
        impl From<Response> for u8 {
            fn from(response: Response) -> Self {
                response.interface_count
            }
        }
    }
);