Inquiry Regarding Custom NVM Data Storage in Matter Light Color Temperature Lamp (NCS 3.1.1)

Hi there,

I am developing a Matter light color temperature lamp product based on the NCS v3.1.1, and I need to store some custom user data in NVM (Non-Volatile Memory) within the provided demo example.

Could you please guide me on how to achieve this? Are there any example projects or code snippets available that demonstrate storing custom user data persistently without interfering with Matter’s default NVM usage?

Thank you for your support!

Best regards,

Parents
  • Regarding the custom NVM storage, I found the Settings subsystem in NCS. With these configurations:

    • CONFIG_SETTINGS=y

    • CONFIG_SETTINGS_RUNTIME=y

    • CONFIG_SETTINGS_ZMS=y (for nRF54L15)

    • CONFIG_FLASH=y

    • CONFIG_FLASH_MAP=y

    Can I simply use settings_save_one() to store my custom user data? Is this approach compatible with Matter's existing NVM implementation? Any code examples would be greatly appreciated.

    Thanks again!

Reply
  • Regarding the custom NVM storage, I found the Settings subsystem in NCS. With these configurations:

    • CONFIG_SETTINGS=y

    • CONFIG_SETTINGS_RUNTIME=y

    • CONFIG_SETTINGS_ZMS=y (for nRF54L15)

    • CONFIG_FLASH=y

    • CONFIG_FLASH_MAP=y

    Can I simply use settings_save_one() to store my custom user data? Is this approach compatible with Matter's existing NVM implementation? Any code examples would be greatly appreciated.

    Thanks again!

Children
No Data
Related