This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF5 SDK for Mesh: How to check if the firmware got an app key assigned?

Dear Nordic experts,
 
How do you verify that a (mesh) firmware has an app key assigned? What I'm looking for is basically the Mesh SDK's version of NCS's bt_mesh_app_key_exists().

Any clarification is welcome,
Thank you,
Michael.

  • Hi,

    I suggest that you have a look at the Application key management functions. While there is not a direct equivalent of the bt_mesh_app_key_exists function, you can for instance use dsm_appkey_index_to_appkey_handle() to check if an appkey exist on a given index, or you could use dsm_appkey_get_all() and check the appkey indexes returned.

    Regards,
    Terje

Related