diff --git a/beginner/apps/src/bin/radio-puzzle-1.rs b/beginner/apps/src/bin/radio-puzzle-1.rs index 3c9ad08..916df34 100644 --- a/beginner/apps/src/bin/radio-puzzle-1.rs +++ b/beginner/apps/src/bin/radio-puzzle-1.rs @@ -17,6 +17,7 @@ fn main() -> ! { // puzzle.hex uses channel 25 radio.set_channel(Channel::_25); + // the IEEE 802.15.4 packet that will carry our data let mut packet = Packet::new(); // first exchange a single packet with the Dongle diff --git a/beginner/apps/src/bin/radio-puzzle-solution-2.rs b/beginner/apps/src/bin/radio-puzzle-solution-2.rs index 385b632..5683bc9 100644 --- a/beginner/apps/src/bin/radio-puzzle-solution-2.rs +++ b/beginner/apps/src/bin/radio-puzzle-solution-2.rs @@ -23,6 +23,7 @@ fn main() -> ! { /* # Build a dictionary */ let mut dict = LinearMap::::new(); + // the IEEE 802.15.4 packet that will carry our data let mut packet = Packet::new(); for plainletter in 0..=127 { packet.copy_from_slice(&[plainletter]); diff --git a/beginner/apps/src/bin/radio-puzzle-solution.rs b/beginner/apps/src/bin/radio-puzzle-solution.rs index 5808d5e..cb12287 100644 --- a/beginner/apps/src/bin/radio-puzzle-solution.rs +++ b/beginner/apps/src/bin/radio-puzzle-solution.rs @@ -24,6 +24,7 @@ fn main() -> ! { let mut dict = LinearMap::::new(); // ^^^^^^^^^^^^ NOTE larger capacity + // the IEEE 802.15.4 packet that will carry our data let mut packet = Packet::new(); for plainletter in 0..=127 { // ^^^^^^^ NOTE complete ASCII range