#[repr(C)]pub struct PamojaGatewayTxpk {Show 17 fields
pub gps_millis: u64,
pub frequency_hz: u32,
pub timestamp_us: u32,
pub link: PamojaLoraLink,
pub bitrate_bps: u32,
pub frequency_deviation_hz: u32,
pub preamble_symbols: u16,
pub rf_chain: u8,
pub power_dbm: i8,
pub modulation: u8,
pub immediate: bool,
pub invert_polarity: bool,
pub without_crc: bool,
pub has_timestamp: bool,
pub has_gps_millis: bool,
pub has_deviation: bool,
pub has_preamble: bool,
}Expand description
A packet the server asks the gateway to transmit, without its payload.
Fields§
§gps_millis: u64The GPS time to transmit at, in milliseconds, when has_gps_millis.
frequency_hz: u32The carrier to transmit on, in hertz.
timestamp_us: u32The concentrator timestamp to transmit at, when has_timestamp.
link: PamojaLoraLinkThe spreading factor, bandwidth, and coding rate, for a LoRa packet.
bitrate_bps: u32The bitrate in bits per second, for an FSK packet.
frequency_deviation_hz: u32The FSK frequency deviation in hertz, when has_deviation.
preamble_symbols: u16How long a preamble to send, in symbols, when has_preamble.
rf_chain: u8The radio chain to transmit from.
power_dbm: i8The power to transmit at, in dBm.
modulation: u8PAMOJA_GATEWAY_MODULATION_LORA or _FSK.
immediate: boolWhether to transmit at once, which ignores the timestamps.
invert_polarity: boolWhether to invert the LoRa polarity, as a LoRaWAN downlink is sent.
without_crc: boolWhether to leave the physical CRC off, as LoRaWAN downlinks are.
has_timestamp: boolWhether a concentrator timestamp was given.
has_gps_millis: boolWhether a GPS time was given.
has_deviation: boolWhether an FSK deviation was given.
has_preamble: boolWhether a preamble length was given.
Trait Implementations§
Source§impl Clone for PamojaGatewayTxpk
impl Clone for PamojaGatewayTxpk
Source§fn clone(&self) -> PamojaGatewayTxpk
fn clone(&self) -> PamojaGatewayTxpk
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more