embedded-nano-mesh 2.1.11

Lightweight mesh communication protocol for embedded devices
Documentation
1
2
3
4
5
6
7
use super::super::{types::GeneralAddressType, Packet};

impl Packet {
    pub fn is_destination_reached(&self, identifier: GeneralAddressType) -> bool {
        self.destination_device_identifier == identifier.into()
    }
}