pub struct Beacon {
pub source: NodeId,
pub pan_id: u16,
pub channel: u8,
pub permit_joining: bool,
pub router_capacity: bool,
pub device_capacity: bool,
pub protocol_version: u8,
pub stack_profile: u8,
pub lqi: u8,
pub depth: u8,
pub update_id: u8,
pub extended_pan_id: ExtPanId,
}Expand description
A beacon from ZDO_BEACON_NOTIFY_IND.
Fields§
§source: NodeIdThe sender.
pan_id: u16PAN id.
channel: u8Channel.
permit_joining: boolAccepting joins.
router_capacity: boolRouter capacity left.
device_capacity: boolEnd device capacity left.
protocol_version: u8Protocol version.
stack_profile: u8Stack profile.
lqi: u8Link quality.
depth: u8Depth.
update_id: u8Network update id.
extended_pan_id: ExtPanIdExtended PAN id.
Trait Implementations§
impl Eq for Beacon
impl StructuralPartialEq for Beacon
Auto Trait Implementations§
impl Freeze for Beacon
impl RefUnwindSafe for Beacon
impl Send for Beacon
impl Sync for Beacon
impl Unpin for Beacon
impl UnsafeUnpin for Beacon
impl UnwindSafe for Beacon
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