File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 3838#include "nvmm.h"
3939
4040/*!
41- * Enables/Disables the context storage management storage at all. Must be enabled for LoRaWAN 1.1.x .
42- * WARNING: Still under development and not tested yet .
41+ * Enables/Disables the context storage management storage.
42+ * Must be enabled for LoRaWAN 1.0.4 or later .
4343 */
44- #define CONTEXT_MANAGEMENT_ENABLED 0
44+ #ifndef CONTEXT_MANAGEMENT_ENABLED
45+ #define CONTEXT_MANAGEMENT_ENABLED 1
46+ #endif
4547
4648/*!
47- * Enables/Disables maximum persistent context storage management. All module contexts will be saved on a non-volatile memory.
48- * WARNING: Still under development and not tested yet .
49+ * Enables/Disables maximum persistent context storage management.
50+ * All contexts will be saved .
4951 */
50- #define MAX_PERSISTENT_CTX_MGMT_ENABLED 0
52+ #ifndef MAX_PERSISTENT_CTX_MGMT_ENABLED
53+ #define MAX_PERSISTENT_CTX_MGMT_ENABLED 1
54+ #endif
5155
5256#if ( MAX_PERSISTENT_CTX_MGMT_ENABLED == 1 )
5357#define NVM_CTX_STORAGE_MASK 0xFF
You can’t perform that action at this time.
0 commit comments