Easiest way to store in flash in runtime in an app already using settings with BLE

Hi!

I have a BLE service which exposes the Device Name characteristic to allow user to change BLE name showed when advertising. I need to store this name in flash in order to load it next time the system is powered on. 

How can I do that? I've been trying with settings subsystem but it is already used by BLE stack, so I get a hard fault (MPU FAULT).

Thanks and kind regards,

Pedro.

Parents Reply Children
Related