Class GatewayPacket
One datagram of the protocol, with the fields its kind carries.
public sealed record GatewayPacket : IEquatable<GatewayPacket>
- Inheritance
-
GatewayPacket
- Implements
- Inherited Members
Constructors
GatewayPacket(GatewayPacketKind, ushort)
One datagram of the protocol, with the fields its kind carries.
public GatewayPacket(GatewayPacketKind Kind, ushort Token)
Parameters
KindGatewayPacketKindWhich kind of datagram.
TokenushortThe token that pairs a datagram with its answer.
Properties
GatewayEui
The gateway's identifier, as sixteen hexadecimal digits, for the kinds that carry one.
public string? GatewayEui { get; init; }
Property Value
Kind
Which kind of datagram.
public GatewayPacketKind Kind { get; init; }
Property Value
Packets
The packets a PUSH_DATA forwards.
public IReadOnlyList<GatewayRxpk> Packets { get; init; }
Property Value
Status
The report a PUSH_DATA carries.
public GatewayStat? Status { get; init; }
Property Value
Token
The token that pairs a datagram with its answer.
public ushort Token { get; init; }
Property Value
Transmit
What a PULL_RESP asks the gateway to transmit.
public GatewayTxpk? Transmit { get; init; }
Property Value
TxStatus
What a TX_ACK reports.
public GatewayTxStatus? TxStatus { get; init; }