Wraps an activated session.
The generated session this facade delegates 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.
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.
Optionaloptions: Options
The header flags and frame options to set.
The frame to transmit.
Encodes an uplink, encrypting the payload and appending the MIC.
The frame counter for this uplink.
The port; 0 for MAC commands, otherwise an application port.
The application payload to carry.
Optionaloptions: Options
The header flags and frame options to set.
The frame to transmit.
The root relay session key a network sends a relay for this device, TS011-1.0.1 section 4.4, derived from the network session key.
The 16-byte key.
The keys this device's wake-on-radio frames are protected with, TS011-1.0.1 section 4.5.
The integrity and encryption keys.
An activated LoRaWAN session: a device address and its two session keys.