Persistent Storage of BLE Config
Posted: Fri Jun 07, 2024 10:02 pm
Hello,
I am working on a BLE connected device built on ESP32 WROOM 32D that may frequently lose power, but will be out of range of a provisioner when it wakes up. Because of this, I need the device to store its configuration in flash memory after it is provisioned for the first time and be able to transmit messages through the mesh network even after a power reset. I tried using the Persistent Storage function inside menuconfig but it doesnt seem to connect at all. Could someone explain to me how that feature works and what I need to add to my code to make it possible? Thanks
--rrwatt
I am working on a BLE connected device built on ESP32 WROOM 32D that may frequently lose power, but will be out of range of a provisioner when it wakes up. Because of this, I need the device to store its configuration in flash memory after it is provisioned for the first time and be able to transmit messages through the mesh network even after a power reset. I tried using the Persistent Storage function inside menuconfig but it doesnt seem to connect at all. Could someone explain to me how that feature works and what I need to add to my code to make it possible? Thanks
--rrwatt