Struct PamojaGatewayNetworkEvent
What a forwarded packet turned out to be, mirroring PamojaGatewayNetworkEvent in
pamoja.h.
public struct PamojaGatewayNetworkEvent
- Inherited Members
Fields
Accept
The packet that carries the accept, for a join.
public PamojaGatewayTxpk Accept
Field Value
Confirmed
1 when the device asked to be acknowledged.
public byte Confirmed
Field Value
DevAddr
The address granted, or the address a frame claimed.
public uint DevAddr
Field Value
DevEui
The device that joined, for a join.
public PamojaEui DevEui
Field Value
Fcnt
The counter the frame carried, reconstructed to its full width, for data.
public uint Fcnt
Field Value
Fport
The port the frame was sent on, for data on a port.
public byte Fport
Field Value
HasFport
1 when the frame carried a port at all.
public byte HasFport
Field Value
Len
How many bytes were written into the caller buffer.
public nuint Len
Field Value
Outcome
Which of the three this was: joined, data, or foreign.
public byte Outcome
Field Value
RelayDataRate
The data rate it arrived at.
public byte RelayDataRate
Field Value
RelayDevAddr
The relay that forwarded it.
public uint RelayDevAddr
Field Value
RelayFrequencyHz
The frequency the uplink arrived on, in hertz.
public uint RelayFrequencyHz
Field Value
RelayRssiDbm
What the relay heard of the uplink, in dBm.
public short RelayRssiDbm
Field Value
RelaySnrDb
Its signal-to-noise ratio, in dB.
public sbyte RelaySnrDb
Field Value
RelayWorChannel
The WOR channel the device woke the relay on.
public byte RelayWorChannel
Field Value
Relayed
1 when a relay forwarded this uplink.
public byte Relayed
Field Value
Slot
Where an answer goes, for a join or for data.
public PamojaGatewayNetworkSlot Slot
Field Value
Truncated
1 when the payload was longer than the buffer, in which case nothing was written.
public byte Truncated