Resetting a BLE-Mesh model

Hi,

I am using nRF Connect SDK based application, my device has multiple BLE-Mesh models.
Here how I can reset the state of one particular model while not resetting the entire device...?

I have implemented reset handlers, do I have to map the reset handlers on an OPCODE and trigger that OPCODE from nrf mesh app..?
Is there any other way..?

Parents
  • Hi,

    As far as I know there exists no API to reset a particular model without resetting the device, but you might be able to call the reset handler directly. If there exists a callback function that the stack normally calls whenever it performs a full reset, it might be possible to call that manually for unique models. A question is if the stack has saved any data concerning the model that are not handled by the callback and if there exists such data you will have to clean that up manually

    Let me know if this answers anything for you, and if not I will see if I can discuss this further with my colleagues

    Kind regards,
    Andreas

Reply
  • Hi,

    As far as I know there exists no API to reset a particular model without resetting the device, but you might be able to call the reset handler directly. If there exists a callback function that the stack normally calls whenever it performs a full reset, it might be possible to call that manually for unique models. A question is if the stack has saved any data concerning the model that are not handled by the callback and if there exists such data you will have to clean that up manually

    Let me know if this answers anything for you, and if not I will see if I can discuss this further with my colleagues

    Kind regards,
    Andreas

Children
No Data
Related