ezsp 6.0.1

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

use crate::ember::NodeId;

crate::frame::parameters::frame!(
    0x0027,
    {},
    { node_id: NodeId } => Utilities(utilities)::GetNodeId,
    impl {
        /// Convert the response into the node ID.
        impl From<Response> for NodeId {
            fn from(response: Response) -> Self {
                response.node_id
            }
        }
    }
);