File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
features/storage/kvstore/include Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ MBED_SCOPED_ENUM_FLAGS(InitModeFlags) {
23
23
Read = (1 << 0 ), // !< Enable read access from the KVStore
24
24
Write = (1 << 1 ), // !< Enable write access to the KVStore
25
25
ReadWrite = ((1 << 0 ) | (1 << 1 )), // !< Enable read and write access to the KVSTore. This is the default.
26
+ WriteOnlyAllowKeyRead = (1 << 3 ), // !< Allow reading KVStore keys even in write only mode
26
27
Append = (1 << 8 ), // !< Allow adding to the the KVStore and create from new if necessary. This is the default.
27
28
Truncate = (1 << 9 ), // !< Erase all key/value pairs before using.
28
29
CreateNewOnly = (1 << 10 ), // !< Only open the KVStore if it does not already exist.
29
30
ExclusiveCreation = (1 << 11 ), // !< Only open the KVStore if it already exists.
30
- WriteOnlyAllowKeyRead = (1 << 12 ), // !< Allow reading KVStore keys even in write only mode
31
31
32
32
#if !defined(DOXYGEN_ONLY)
33
33
// These are for interal use only
34
34
WriteOpenFlags = 0xf00 ,
35
35
NoFlags = 0 ,
36
- AllFlags = 0x1f03
36
+ AllFlags = 0xf07
37
37
38
38
#endif // DOXYGEN_ONLY
39
39
};
You can’t perform that action at this time.
0 commit comments