Saving BLE Mesh Settings

Hi,

We had a couple questions regarding storing some things related to the BLE mesh. We are building our application off the ble example light_ctrl.

1. Looking at the Rpl, can we allocate a max memory for replay messages? If so, where can we do that and what is the default value?

2. Looking at the gatt; is it necessary to write this to flash?

Parents
  • For more context; 

    1. Similarly related to the second question, the RPL (replay messages) related information is being written to memory. Can we allocate some max memory for replay messages and what is the default value for size of these messages?

    We found that in settings.c the bt_mesh_rpl_pending_store() function was writing RPL stuff but we didn't necessarily want to store so much information in the flash related to replay messages.

    2. After provisioning and sending control commands such as like the on/off generic light, etc. we have observed that data is continuously being written to flash one after another. We are wondering if it is really necessary to write this sort of information to flash?

    We observed in the gatt.c; an example function is db_hash_store() that will write to the flash memory.

Reply
  • For more context; 

    1. Similarly related to the second question, the RPL (replay messages) related information is being written to memory. Can we allocate some max memory for replay messages and what is the default value for size of these messages?

    We found that in settings.c the bt_mesh_rpl_pending_store() function was writing RPL stuff but we didn't necessarily want to store so much information in the flash related to replay messages.

    2. After provisioning and sending control commands such as like the on/off generic light, etc. we have observed that data is continuously being written to flash one after another. We are wondering if it is really necessary to write this sort of information to flash?

    We observed in the gatt.c; an example function is db_hash_store() that will write to the flash memory.

Children
No Data
Related