Hi guys,
I am currently working on a data migration of the settings storage to the external flash.
The problem I am facing is that after an OTA update, the device does not retain the Matter commissioning state. I did a raw copy of the older settings_storage to the new location (NOK), and then started to look into the option to copy by setting name but not sure if it is possible because as far as I know the settings names changed completely from Matter 1.0 to Matter 1.4.0.
For example, previously it was "chip/country-code" and now is "mt/cfg/country-code".
My question is, has anyone else tried to do something similar? Should I do a map of older settings names to new settings names and migrate the values that way? (would be a tough job to do and most likely will miss some settings).
Or should I live with the fact that if I do this memory layout change, the device has to be commissioned again?
Previous memory layout:
... settings_storage: address: 0xfc000 size: 0x4000 region: flash_primary ...
New memory layout:
... settings_storage: address: 0xef000 size: 0x8000 device: W25Q16 region: external_flash ...