An activated LoRaWAN session: a device address and its two session keys.
Wraps an activated session.
The generated session this facade delegates to.
The device address this session is bound to.
Verifies a received frame, then decrypts it.
The frame exactly as it came off the radio.
The full 32-bit counter expected for this frame; its low 16 bits must match the counter the frame carries.
The decoded frame.
If the MIC does not verify, the counter does not match, or the frame is not a data frame.
Encodes a downlink, encrypting the payload and appending the MIC.
The frame counter for this downlink.
The port; 0 for MAC commands, otherwise an application port.
The application payload to carry.
Optional
The header flags and frame options to set.
The frame to transmit.
If the payload and options do not fit a single frame.
Encodes an uplink, encrypting the payload and appending the MIC.
The frame counter for this uplink.
An activated LoRaWAN session: a device address and its two session keys.