LoRaMAC  4.6.0
Documentation of the API
LoRaMacCryptoNvm.h
Go to the documentation of this file.
1 
33 #ifndef __LORAMAC_CRYPTO_NVM_H__
34 #define __LORAMAC_CRYPTO_NVM_H__
35 
36 #ifdef __cplusplus
37 extern "C"
38 {
39 #endif
40 
41 #include <stdint.h>
42 #include "utilities.h"
43 #include "LoRaMacTypes.h"
44 
45 
49 typedef struct sFCntList
50 {
54  uint32_t FCntUp;
59  uint32_t NFCntDown;
64  uint32_t AFCntDown;
69  uint32_t FCntDown;
73  uint32_t McFCntDown[LORAMAC_MAX_MC_CTX];
78  uint16_t RJcount1;
79 }FCntList_t;
80 
84 typedef struct sLoRaMacCryptoNvmData
85 {
90  Version_t LrWanVersion;
95  uint16_t DevNonce;
100  uint32_t JoinNonce;
110  uint32_t LastDownFCnt;
114  uint32_t Crc32;
116 
119 #ifdef __cplusplus
120 }
121 #endif
122 
123 #endif // __LORAMAC_CRYPTO_NVM_H__
LoRaMacCryptoNvmData_t::JoinNonce
uint32_t JoinNonce
Definition: LoRaMacCryptoNvm.h:100
FCntList_t::FCntDown
uint32_t FCntDown
Definition: LoRaMacCryptoNvm.h:69
FCntList_t::AFCntDown
uint32_t AFCntDown
Definition: LoRaMacCryptoNvm.h:64
LoRaMacCryptoNvmData_t::LrWanVersion
Version_t LrWanVersion
Definition: LoRaMacCryptoNvm.h:90
LoRaMacTypes.h
LoRa MAC layer internal types definition. Please do not include in application sources.
FCntList_t::NFCntDown
uint32_t NFCntDown
Definition: LoRaMacCryptoNvm.h:59
FCntList_t
Definition: LoRaMacCryptoNvm.h:49
FCntList_t::RJcount1
uint16_t RJcount1
Definition: LoRaMacCryptoNvm.h:78
LoRaMacCryptoNvmData_t::DevNonce
uint16_t DevNonce
Definition: LoRaMacCryptoNvm.h:95
LoRaMacCryptoNvmData_t
Definition: LoRaMacCryptoNvm.h:84
LoRaMacCryptoNvmData_t::FCntList
FCntList_t FCntList
Definition: LoRaMacCryptoNvm.h:104
LoRaMacCryptoNvmData_t::Crc32
uint32_t Crc32
Definition: LoRaMacCryptoNvm.h:114
FCntList_t::FCntUp
uint32_t FCntUp
Definition: LoRaMacCryptoNvm.h:54
LORAMAC_MAX_MC_CTX
#define LORAMAC_MAX_MC_CTX
Definition: LoRaMacTypes.h:61
LoRaMacCryptoNvmData_t::LastDownFCnt
uint32_t LastDownFCnt
Definition: LoRaMacCryptoNvm.h:110