Class LorawanTransmission
A frame to put on the air, and where to listen afterward.
public sealed record LorawanTransmission : IEquatable<LorawanTransmission>
- Inheritance
-
LorawanTransmission
- Implements
- Inherited Members
Constructors
LorawanTransmission(byte[], uint, byte, LoraLink, sbyte, ulong, LorawanWindow, LorawanWindow, bool, LorawanRelayExchange?)
A frame to put on the air, and where to listen afterward.
public LorawanTransmission(byte[] Frame, uint FrequencyHz, byte DataRate, LoraLink Link, sbyte OutputDbm, ulong AirtimeMicros, LorawanWindow Rx1, LorawanWindow Rx2, bool CarriesPayload, LorawanRelayExchange? Relay = null)
Parameters
Framebyte[]The frame.
FrequencyHzuintThe carrier, in hertz.
DataRatebyteThe data rate, as the region numbers them.
LinkLoraLinkThe LoRa settings: an eight-symbol preamble, an explicit header and a payload CRC, sent with standard IQ.
OutputDbmsbyteThe power to ask of the radio, conducted, in dBm.
AirtimeMicrosulongHow long the frame holds the air.
Rx1LorawanWindowThe first receive window.
Rx2LorawanWindowThe second, which opens only if nothing for this device arrived in the first.
CarriesPayloadboolWhether the application payload went out in this frame. When the answers the device owed left no room, it did not, and has to be sent again.
RelayLorawanRelayExchangeThe wake-on-radio exchange this frame goes out behind, for a device under a relay, and
nullfor a frame that goes straight to a gateway.
Properties
AirtimeMicros
How long the frame holds the air.
public ulong AirtimeMicros { get; init; }
Property Value
CarriesPayload
Whether the application payload went out in this frame. When the answers the device owed left no room, it did not, and has to be sent again.
public bool CarriesPayload { get; init; }
Property Value
DataRate
The data rate, as the region numbers them.
public byte DataRate { get; init; }
Property Value
Frame
The frame.
public byte[] Frame { get; init; }
Property Value
- byte[]
FrequencyHz
The carrier, in hertz.
public uint FrequencyHz { get; init; }
Property Value
Link
The LoRa settings: an eight-symbol preamble, an explicit header and a payload CRC, sent with standard IQ.
public LoraLink Link { get; init; }
Property Value
OutputDbm
The power to ask of the radio, conducted, in dBm.
public sbyte OutputDbm { get; init; }
Property Value
Relay
The wake-on-radio exchange this frame goes out behind, for a device under a relay, and
null for a frame that goes straight to a gateway.
public LorawanRelayExchange? Relay { get; init; }
Property Value
Rx1
The first receive window.
public LorawanWindow Rx1 { get; init; }
Property Value
Rx2
The second, which opens only if nothing for this device arrived in the first.
public LorawanWindow Rx2 { get; init; }