Creates a session from a device address and its two 16-byte session keys.
nwkSKey authenticates frames and appSKey encrypts payloads.
Verifies a received frame, then decrypts it.
fcnt is the full 32-bit counter expected for this frame; its low 16 bits
must match the counter the frame carries.
Encodes a downlink, encrypting the payload and appending the MIC.
Optionaloptions: LorawanOptions | nullEncodes an uplink, encrypting the payload and appending the MIC.
Optionaloptions: LorawanOptions | nullThe root relay session key a network sends a relay for this device, TS011-1.0.1 section 4.4.
The keys this device's wake-on-radio frames are protected with, section 4.5.
An activated LoRaWAN session: a device address and its two session keys.