LoRaMAC: Secure-element-nvm.h Source File

LoRaMAC  4.4.7 Documentation of the API
secure-element-nvm.h Go to the documentation of this file. 1  34 #ifndef __SECURE_ELEMENT_NVM_H__ 35 #define __SECURE_ELEMENT_NVM_H__ 36  37 #ifdef __cplusplus 38 extern "C" 39 { 40 #endif 41  42 #include <stdint.h> 43 #include "LoRaMacTypes.h" 44  48 #define SE_KEY_SIZE 16 49  53 #define SE_EUI_SIZE 8 54  58 #define SE_PIN_SIZE 4 59  60 #ifdef SOFT_SE 61  64 #define NUM_OF_KEYS 23 65  69 typedef struct sKey 70 { 74  KeyIdentifier_t KeyID; 78  uint8_t KeyValue[SE_KEY_SIZE]; 79 } Key_t; 80 #endif 81  82 typedef struct sSecureElementNvCtx 83 { 87  uint8_t DevEui[SE_EUI_SIZE]; 91  uint8_t JoinEui[SE_EUI_SIZE]; 95  uint8_t Pin[SE_PIN_SIZE]; 96 #ifdef SOFT_SE 97  101  Key_t KeyList[NUM_OF_KEYS]; 102 #endif 103  106  uint32_t Crc32; 107 } SecureElementNvmData_t; 108  109  112 #ifdef __cplusplus 113 } 114 #endif 115  116 #endif // __SECURE_ELEMENT_NVM_H__ LoRaMacTypes.hLoRa MAC layer internal types definition. Please do not include in application sources. SecureElementNvmData_t::Crc32uint32_t Crc32Definition: secure-element-nvm.h:106 SE_EUI_SIZE#define SE_EUI_SIZEDefinition: secure-element-nvm.h:53 SE_PIN_SIZE#define SE_PIN_SIZEDefinition: secure-element-nvm.h:58 SecureElementNvmData_tDefinition: secure-element-nvm.h:82 KeyIdentifier_tKeyIdentifier_tDefinition: LoRaMacTypes.h:672 SE_KEY_SIZE#define SE_KEY_SIZEDefinition: secure-element-nvm.h:48
  • src
  • semtech-gitlab-loramac-node
  • src
  • mac
  • secure-element-nvm.h
  • Generated on Tue Jan 19 2021 11:42:22 for LoRaMAC by doxygen 1.8.16

Từ khóa » H Nvm M