Enum bp35c0_j11::Command
source · pub enum Command<'a> {
Show 23 variants
GetStatus,
GetUdpPorts,
GetIpAddress,
GetMacAddress,
GetClientMacAddress,
GetClientIpAddress,
GetNeighborDiscoverySettings,
GetOperationMode,
GetUartSettings,
SetOperationMode {
mode: OperationMode,
han_sleep: bool,
channel: Channel,
tx_power: TxPower,
},
SetNeighborDiscoverySettings {
enable: bool,
},
SetUartSettings {
flow_control: bool,
},
OpenUdpPort(u16),
CloseUdpPort(u16),
TransmitData {
destination_address: u128,
source_port: u16,
destination_port: u16,
data: &'a [u8],
},
DoActiveScan {
duration: ScanDuration,
mask_channels: u32,
pairing_id: Option<u64>,
},
GetVersionInformation,
SetRouteBPanaAuthenticationInformation {
id: &'a [u8],
password: &'a [u8],
},
StartRouteBOperation,
StartRouteBPana,
TerminateRouteBPana,
TerminateRouteBOperation,
RedoRouteBPanaAuthentication,
}
Variants§
GetStatus
GetUdpPorts
GetIpAddress
GetMacAddress
GetClientMacAddress
GetClientIpAddress
GetNeighborDiscoverySettings
GetOperationMode
GetUartSettings
SetOperationMode
SetNeighborDiscoverySettings
SetUartSettings
OpenUdpPort(u16)
CloseUdpPort(u16)
TransmitData
DoActiveScan
GetVersionInformation
SetRouteBPanaAuthenticationInformation
StartRouteBOperation
StartRouteBPana
TerminateRouteBPana
TerminateRouteBOperation
RedoRouteBPanaAuthentication
Trait Implementations§
impl<'a> Copy for Command<'a>
impl<'a> Eq for Command<'a>
impl<'a> StructuralPartialEq for Command<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)