Struct PamojaLorawanHeader
What a frame says about itself before any key is involved, mirroring
PamojaLorawanHeader in pamoja.h.
public struct PamojaLorawanHeader
- Inherited Members
Remarks
IsData is 1 when DevAddr and
Fcnt are meaningful, and HasFport when
Fport is. Nothing here is authenticated.
Fields
Ack
1 when the frame acknowledges the last confirmed one.
public byte Ack
Field Value
Adr
1 when the frame takes part in adaptive data rate.
public byte Adr
Field Value
Confirmed
1 when the frame asks to be acknowledged.
public byte Confirmed
Field Value
DevAddr
The device address, meaningful only when addressed.
public uint DevAddr
Field Value
FPending
1 when the network has more downlink data waiting.
public byte FPending
Field Value
Fcnt
The low 16 bits of the frame counter.
public ushort Fcnt
Field Value
FoptsLen
How many bytes of frame options the header carries.
public byte FoptsLen
Field Value
Fport
The port the frame was sent on.
public byte Fport
Field Value
HasFport
1 when the frame carries a port.
public byte HasFport
Field Value
IsData
1 for a data frame, 0 for a join frame.
public byte IsData
Field Value
MessageType
What kind of message the frame is.
public PamojaLorawanMessageType MessageType
Field Value
PayloadLen
The length of the still-encrypted payload, in bytes.
public nuint PayloadLen