pub struct RadioStatus {
pub device: u8,
pub quality: u16,
pub strength: i16,
pub channel: u8,
pub timeslot: u8,
}
Fields§
§device: u8
0 = No controller, 4 = Controller connected (UNCONFIRMED)
quality: u16
From 0 to 100
strength: i16
Probably RSSI (UNCONFIRMED)
channel: u8
5 = download, 31 = pit, 245 = bluetooth
timeslot: u8
Latency between controller and brain (UNCONFIRMED)
Trait Implementations§
Source§impl Clone for RadioStatus
impl Clone for RadioStatus
Source§fn clone(&self) -> RadioStatus
fn clone(&self) -> RadioStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RadioStatus
impl Debug for RadioStatus
Source§impl Decode for RadioStatus
impl Decode for RadioStatus
Source§impl PartialEq for RadioStatus
impl PartialEq for RadioStatus
impl Copy for RadioStatus
impl Eq for RadioStatus
impl StructuralPartialEq for RadioStatus
Auto Trait Implementations§
impl Freeze for RadioStatus
impl RefUnwindSafe for RadioStatus
impl Send for RadioStatus
impl Sync for RadioStatus
impl Unpin for RadioStatus
impl UnwindSafe for RadioStatus
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