Search found 2 matches

by pijmleko
Mon Mar 27, 2017 6:43 pm
Forum: General Discussion
Topic: nvs_set_str - max length of string
Replies: 3
Views: 9599

Re: nvs_set_str - max length of string

thanks, got it. Although what bothers me is the fact that I get this error only occasionally when updating my key-value pair. Since this is the only kv in my program, and nvs partition size is 0x6000 ("Single factory app, no OTA") there should be way enough space to store it (even if OS uses some nv...
by pijmleko
Mon Mar 27, 2017 6:04 pm
Forum: General Discussion
Topic: nvs_set_str - max length of string
Replies: 3
Views: 9599

nvs_set_str - max length of string

hi, I'm trying to store a key-value using nvs_set_str and it fails with ESP_ERR_NVS_NOT_ENOUGH_SPACE. String has length = 3436 bytes and it is the only key-value pair my program uses. I don't quite understand the NVS description from the dev book... is there a limit for a single value, or rather all...