pub struct Transmission {
pub frame: PhyPayload,
pub frequency_hz: u32,
pub data_rate: u8,
pub link: LinkSettings,
pub output_dbm: i8,
pub airtime_us: u64,
pub rx1: Window,
pub rx2: Window,
pub carries_payload: bool,
pub relay: Option<RelayExchange>,
}Expand description
A frame to put on the air, and where to listen afterward.
Fields§
§frame: PhyPayloadThe frame.
frequency_hz: u32The carrier, in hertz.
data_rate: u8The data rate, as the region numbers them.
link: LinkSettingsThe LoRa settings that data rate stands for: an eight-symbol preamble, an explicit header and a payload CRC, sent with standard IQ.
output_dbm: i8The power to ask of the radio, conducted, with the antenna gain taken off as the region’s power limit requires.
airtime_us: u64How long the frame holds the air, in microseconds.
rx1: WindowThe first receive window.
rx2: WindowThe second, which opens only if nothing for this device arrived in the first.
carries_payload: boolWhether the application payload went out in this frame.
It is held back when the answers a device owes the network do not leave room for it, since TS001-1.0.4 table 15 sends answers first. Send it again afterward.
relay: Option<RelayExchange>The wake-on-radio exchange that goes ahead of this frame under a relay, and the window a forwarded downlink comes back in.
With it, the frame goes out at
uplink_start_us rather than straight away, and
the two windows above are still timed from the end of it.
Trait Implementations§
Source§impl Clone for Transmission
impl Clone for Transmission
Source§fn clone(&self) -> Transmission
fn clone(&self) -> Transmission
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more