pub enum Command<'a> {
}
Variants§
Baud9600
0 –––– 9600
Baud19200
1 –––– 19200
Baud38400
2 –––– 38400
Baud57600
3 –––– 57600
Baud115200
4 –––– 115200
Baud4800
5 –––– 4800
Baud2400
6 –––– 2400
Baud1200
7 –––– 1200
Baud230400
8 –––– 230400
Test
Test AT Response
Disconnect
Disconnect from current bluetooth connection
Reset
Restart the module
SetName(&'a str)
Discovery name
SystemLedMode(bool)
System LED function false: when disconnected alternates output true: when disconncted output is low
Sleep
Sleep the module
Notify(bool)
Notification information over the uart
Auto Trait Implementations§
impl<'a> Freeze for Command<'a>
impl<'a> RefUnwindSafe for Command<'a>
impl<'a> Send for Command<'a>
impl<'a> Sync for Command<'a>
impl<'a> Unpin for Command<'a>
impl<'a> UnwindSafe for Command<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more