define more commands & refactor

This commit is contained in:
2023-10-16 18:42:52 +02:00
parent 233537f559
commit 84689485db
2 changed files with 7 additions and 14 deletions

View File

@@ -5,10 +5,7 @@ use arduino_hal::port::mode::{Input, Output};
use arduino_hal::usart::{Usart, UsartOps};
use arduino_hal::prelude::*;
use heapless::{String, Vec};
// mod simple_vector;
// pub use simple_vector::SimpleVec;
use heapless::Vec;
pub struct Webee<USART: UsartOps<Atmega, RX, TX>, RX, TX>
@@ -41,6 +38,7 @@ impl SendCmd where {
SendCmd::Baudrate => "Baudrate",
SendCmd::TransmitPower => "Transmit Power",
SendCmd::MAC => "MAC",
SendCmd::ZigbeeNetworkKey => "Zigbee Network Key",
_ => "not_implemented"
}
}