pub struct NcpIdentity {
pub kind: NcpKind,
pub firmware: String,
pub protocol: u8,
pub supported: bool,
pub reset_code: u8,
pub ieee: Option<Ieee>,
pub manufacturer: Option<String>,
pub board: Option<String>,
pub product: Option<String>,
}Expand description
What a probe found.
Fields§
§kind: NcpKindThe family.
firmware: StringFirmware version, such as 7.4.4.0 (EmberZNet) or
2.7.1.20230507 (Z-Stack major.minor.maintenance.build).
protocol: u8The serial protocol version (EZSP) or transport revision (ZNP).
supported: boolWhether this host speaks that protocol version.
reset_code: u8Why the NCP last reset (RSTACK code; 0 for ZNP).
ieee: Option<Ieee>The coordinator’s IEEE address, when the protocol is supported.
manufacturer: Option<String>The manufacturer string token, if set (often names the vendor; EZSP only).
board: Option<String>The board name token, if set (often names the product or chip; EZSP only).
product: Option<String>The product the firmware implies: Z-Stack 3.x.0 (CC13x2, CC26x2,
CC2652), Z-Stack 3.0.x (CC2530, CC2531) or Z-Stack 1.2 for ZNP;
ConBee II/RaspBee II, ConBee III or ConBee/RaspBee for deCONZ.
Trait Implementations§
Source§impl Clone for NcpIdentity
impl Clone for NcpIdentity
Source§impl Debug for NcpIdentity
impl Debug for NcpIdentity
impl Eq for NcpIdentity
Source§impl PartialEq for NcpIdentity
impl PartialEq for NcpIdentity
impl StructuralPartialEq for NcpIdentity
Auto Trait Implementations§
impl Freeze for NcpIdentity
impl RefUnwindSafe for NcpIdentity
impl Send for NcpIdentity
impl Sync for NcpIdentity
impl Unpin for NcpIdentity
impl UnsafeUnpin for NcpIdentity
impl UnwindSafe for NcpIdentity
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