Change name, basic pairing indicator flag
This commit is contained in:
@ -2,8 +2,9 @@
|
||||
|
||||
use strum_macros::EnumCount as EnumCountMacro;
|
||||
use std::mem::discriminant;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[derive(Clone, Copy, EnumCountMacro, Debug)]
|
||||
#[derive(Clone, EnumCountMacro, Debug)]
|
||||
pub enum Commands {
|
||||
|
||||
// Inputs sent from the PIC microcontroller
|
||||
@ -15,6 +16,7 @@ pub enum Commands {
|
||||
BluetoothUp {data: u8},
|
||||
BluetoothDown {data: u8},
|
||||
BluetoothStop {_data: u8}, // There is no state where releasing the stop button induces a change.
|
||||
BluetoothName { data: Arc<String>},
|
||||
|
||||
// Internal messages
|
||||
StopTimerExpired, // Sent when the 2 second stop sequence is complete
|
||||
|
||||
Reference in New Issue
Block a user