Enum bp35c0_j11::Response
source · pub enum Response {
Show 24 variants
GetStatus {
result: u8,
global_block: GlobalBlockStatus,
route_b_block: RouteBBlockStatus,
han_block: HanBlockStatus,
},
GetOperationMode {
result: u8,
mode: OperationMode,
han_sleep: bool,
channel: Channel,
tx_power: TxPower,
},
SetOperationMode {
result: u8,
},
SetNeighborDiscoverySettings {
result: u8,
},
SetUartSettings {
result: u8,
},
OpenUdpPort {
result: u8,
},
CloseUdpPort {
result: u8,
},
TransmitData {
result: u8,
result_udp: Option<(u8, Vec<u8>)>,
},
DoActiveScan {
result: u8,
},
NotificationActiveScan {
channel: Channel,
terminal: Vec<TerminalInformation>,
},
GetVersionInformation {
result: u8,
firmware_id: u16,
major: u8,
minor: u8,
revision: u32,
},
NotificationUdpReceived {
source_address: u128,
source_port: u16,
destination_port: u16,
source_pan_id: u16,
source_type: u8,
encryption: u8,
rssi: i8,
data: Vec<u8>,
},
NotificationPoweredOn,
NotificationConnectionChanged {
state: u8,
mac_address: u64,
rssi: i8,
},
NotificationPanaAuthentication {
result: u8,
mac_address: u64,
},
GetRouteBEncryptionKey {
result: u8,
encryption_key: [u8; 16],
},
GetRouteBPanId {
result: u8,
pan_id: u16,
},
SetRouteBPanaAuthenticationInformation {
result: u8,
},
StartRouteBOperation {
result: u8,
terminal: Option<(Channel, TerminalInformation)>,
},
StartRouteBPana {
result: u8,
},
TerminateRouteBPana {
result: u8,
},
TerminateRouteBOperation {
result: u8,
},
RedoRouteBPanaAuthentication {
result: u8,
},
Unknown {
code: u16,
data: Vec<u8>,
},
}
Variants§
GetStatus
GetOperationMode
SetOperationMode
SetNeighborDiscoverySettings
SetUartSettings
OpenUdpPort
CloseUdpPort
TransmitData
DoActiveScan
NotificationActiveScan
GetVersionInformation
NotificationUdpReceived
Fields
NotificationPoweredOn
NotificationConnectionChanged
NotificationPanaAuthentication
GetRouteBEncryptionKey
GetRouteBPanId
SetRouteBPanaAuthenticationInformation
StartRouteBOperation
StartRouteBPana
TerminateRouteBPana
TerminateRouteBOperation
RedoRouteBPanaAuthentication
Unknown
Trait Implementations§
impl Eq for Response
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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
)