Skip to main content

encode_command

Function encode_command 

Source
pub fn encode_command(command: NmtCommand, target: NodeId) -> NmtCommandFrame
Expand description

Encode an NMT node-control frame for target.

Pass NodeId::BROADCAST to address every node on the bus at once.