[−][src]Enum rubble::link::RadioCmd
Specifies if and how the radio should listen for transmissions.
Returned by the Link-Layer update and processing methods to reconfigure the radio as needed.
Variants
Off
Turn the radio off and don't call LinkLayer::process_*
methods.
LinkLayer::update
must still be called according to Cmd
's next_update
field.
ListenAdvertising
Listen on an advertising channel. If a packet is received, pass it to
LinkLayer::process_adv_packet
.
Fields of ListenAdvertising
channel: AdvertisingChannel
The advertising channel to listen on.
ListenData
Listen on a data channel. If a matching packet is received, pass it to
LinkLayer::process_data_packet
.
Fields of ListenData
channel: DataChannel
The data channel to listen on.
access_address: u32
The Access Address to listen for.
Packets with a different Access Address must not be passed to the Link-Layer. You may be able to use your Radio's hardware address matching for this.
crc_init: u32
Initialization value of the CRC-24 calculation.
Only the least significant 24 bits are relevant.
Trait Implementations
impl Clone for RadioCmd
[src]
fn clone(&self) -> RadioCmd
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RadioCmd
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,