Preferences library – max tag length

When using the Preferences library take into account that each entry has a max length of 1984 bytes. Defined in nvs.h line 127


Read more

Preferences library – max key name length

According to the Preferences Example StartCounter.ino the namespace is limited to 15 chars! This is valid not only for the preferences name, but as well for the preferences keys. For example a key name bluetooth_status will fail while the key name bluetooth_stat works fine. Example and debug output: Key name with 16 characters length:

will fail to write the key value with the following error:

Changing the length of the key name to 14 characters works fine:

Read more
Free Link Directory