[−][src]Trait lorawan::parser::DataHeader
Helper trait for EncryptedDataPayload and DecryptedDataPayload.
NOTE: Does not check the payload size as that should be done prior to building the object of the implementing type.
Required methods
Loading content...Provided methods
pub fn fhdr(&self) -> FHDR<'_>
[src]
Gives the FHDR of the DataPayload.
pub fn is_uplink(&self) -> bool
[src]
Gives whether the payload is uplink or not.
pub fn f_port(&self) -> Option<u8>
[src]
Gives the FPort of the DataPayload if there is one.
pub fn fhdr_length(&self) -> usize
[src]
Gives the length of the FHDR field.