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
Persistent Storage of BLE Config
Re: Persistent Storage of BLE Config
It is exactly what you need and you dont have to do anything else.
When you have this option enabled in menuconfig then during provisioning everything needed to reconnect to ble mesh network will be stored in NVS and after reset net keys, app keys, subscription etc will be restored.
When you have this option enabled in menuconfig then during provisioning everything needed to reconnect to ble mesh network will be stored in NVS and after reset net keys, app keys, subscription etc will be restored.
Who is online
Users browsing this forum: sterisa and 270 guests