Page 1 of 1

nvs_set_blob sayed value to long but the space is enough

Posted: Thu Mar 07, 2019 1:05 pm
by coollofty
nvs_set_blob returned 0x110E when blob size is 17473 bytes.

My partition table:

Code: Select all

# Name,   Type, SubType, Offset,  Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild

nvs,      data, nvs,		,	0xC000
otadata,  data, ota,		,	0x2000
phy_init, data, phy,		,	0x1000
coredump, data, coredump,	,       0x10000
nvs_key,  data, nvs_keys,	,       0x1000
factory,  app,  factory,	,	0x1D8000
ota_0,    app,  ota_0,		,	0x1D8000
The nvs partition had size 49152 bytes, and 0x110E error is ESP_ERR_NVS_VALUE_TOO_LONG, the space is enough, what's error?