about newly introduced #BluetoothMesh persistent storage feature #bluetoothmesh


vikrant8051 <vikrant8051@...>
 

Hi, 

How to save (SIG or Vendor) Model states on SoC flash ? Is it going to be depend upon setting layer which is newly introduce concept or gonna completely independent as part of App layer ?

------------------------------------------------------------------------------------------------------------------

There are 2 types of Persistent Data in context of #BluetoothMesh:
1) constant 
     (which is created & saved during provisioning & configuration )

2) non - constant 
  ( eg. Sequence no., Models states etc.) 

Is current implementation using same sector of flash for both ? 

Will it be secured during #DFU_OTA ?
Where it is define for every Board? Where I can get details about flash memory sector which here acting like EEPROM ?


------------------------------------------------------------------------------------------------------------------

If Node is receiving 100 messages a day in which destination address could be it's own or group address for which it has subscribed, then what will be life of that device  (assuming SoC flash supports 10K erase cycles) as per FCB based current implementation ?

Is there any documentation which shows approximate life span of #BluetoothMesh NODE in different scenarios if we go ahead with #FCB ( or upcoming #NVS layer) ?

------------------------------------------------------------------------------------------------------------------


If we use #meshctl, then sometimes it complete provisioning but it fails after executing 

--> appkey-add 1

& something constantly goes on #meshctl terminal. Is anyone observed same ? 

[In that case, I have to reflash the firmware or reset the board & send node-reset command via #meshctl.]

------------------------------------------------------------------------------------------------------------------

If provisioning or configuration fails & there is no hardware reset button to trigger bt_mesh_reset() in that case, how to push device into factory reset mode ? Any Idea ?

My solution is to add vendor state (Let it be Foo) which will be set to "1" only after proper provisioning & configuration by provisioner App.
 
On device side following logic will get execute after every reset

   if(Foo == 0)
   {
        bt_mesh_reset( );
   }

------------------------------------------------------------------------------------------------------------------


Thank You !!




Join users@lists.zephyrproject.org to automatically receive all group messages.