Hi, I'm working on a device that would perform Bluetooth BLE pairing and communication with multiple other devices.
Obviously when it is off. I need to save this configuration and BT pairing data. I'm thinking to use JSON format to keep it simple (https://arduinojson.org/). The size of the data would be I assume some couple of hundreds of kilobytes at most to accommodate up to 10 paired devices and just a few other configuration values.
The config and pairing data will rarely change, so I don't want to connect external flash/card. Also I want the device to retain the data even if power goes completely off.
Is there a way to dedicate some space in the builtin EEPROM/flash where I can write this configuration data to?
Presently I'm experimenting with Arduino nano 33 BLE Sense as well an ESP32 based wemos lolin32 lite board. In production I'm thinking to use something smaller, not a full dev board, so I guess this would more likely be ESP32 based something. Either way, it would be nice if the solution is more or less board agnostic.
Thank you!
P.S. I've been searching but what I find is writing to an SDcard which is an overkill in this case.