To disable the particular BLE Mesh Models during runtime

Hi Team, 

I am working on nRF52833 controller with nRF Connect SDK v1.9.1.

Currently I am using 2 generic model and 1 vendor model in our project. During FOTA, I want to disable the 2 models during runtime. After FOTA then these models will get enable. 

Q. Is this possible to disable particular models during runtime?

Please guide me how to disable the particular models or stop performing any operation from those models. 

Thankyou

Warm Regards

Vimal Verma

  • Hi Vimal, 
    I dont think the mesh models in Zephyr can be changed dynamically in runtime. 
    From what I can see what declared in the composition data and called bt_mesh_init() is not changeable. There is no bt_mesh_uninit() function. 

    Could you let me know why you want to remove 2 models when you do FOTA ? I assume you are talking about BLE FOTA, not Mesh FOTA, correct ? 

Related