Searched refs:KEY_ID (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/samples/subsys/nvs/src/ |
D | main.c | 62 #define KEY_ID 2 macro 116 rc = nvs_read(&fs, KEY_ID, &key, sizeof(key)); in main() 118 printk("Id: %d, Key: ", KEY_ID); in main() 124 printk("No key found, adding it at id %d\n", KEY_ID); in main() 133 (void)nvs_write(&fs, KEY_ID, &key, sizeof(key)); in main()
|