Macro echonet_lite::prop
source · macro_rules! prop { ( $epc:expr, [ $( $edt:expr ),* ] ) => { ... }; }
Expand description
Create a Property object from a pair of EPC (u8) and EDT ([u8; _]).
Examples
use echonet_lite::{prelude::*, prop};
let prop = prop!(0x80, [0x30]);