LoRaMAC
4.6.0
Documentation of the API
|
LoRa MAC layer cryptographic NVM data. More...
Go to the source code of this file.
Data Structures | |
struct | FCntList_t |
struct | LoRaMacCryptoNvmData_t |
LoRa MAC layer cryptographic NVM data.
addtogroup LORAMAC
struct FCntList_t |
LoRaWAN Frame counter list.
Data Fields | ||
---|---|---|
uint32_t | FCntUp |
Uplink frame counter which is incremented with each uplink. |
uint32_t | NFCntDown |
Network downlink frame counter which is incremented with each downlink on FPort 0 or when the FPort field is missing. |
uint32_t | AFCntDown |
Application downlink frame counter which is incremented with each downlink on a port different than 0. |
uint32_t | FCntDown |
In case if the device is connected to a LoRaWAN 1.0 Server, this counter is used for every kind of downlink frame. |
uint32_t | McFCntDown[LORAMAC_MAX_MC_CTX] |
Multicast downlink counters |
uint16_t | RJcount1 |
RJcount1 is a counter incremented with every Rejoin request Type 1 frame transmitted. |
struct LoRaMacCryptoNvmData_t |
LoRaMac Crypto Non Volatile Context structure
Data Fields | ||
---|---|---|
Version_t | LrWanVersion |
Stores the information if the device is connected to a LoRaWAN network server with prior to 1.1.0 implementation. |
uint16_t | DevNonce |
Device nonce is a counter starting at 0 when the device is initially powered up and incremented with every JoinRequest. |
uint32_t | JoinNonce |
JoinNonce is a device specific counter value (that never repeats itself) provided by the join server and incremented with every JoinAccept message. |
FCntList_t | FCntList |
Frame counter list |
uint32_t | LastDownFCnt |
LastDownFCnt stores the information which frame counter was used to decrypt the last frame. This information is needed to compute ConfFCnt in B1 block for the MIC. |
uint32_t | Crc32 |
CRC32 value of the Crypto data structure. |