If you are using the Modus Tool Box for your development, please refer to the folder like C:\Users\xxxx\ModusToolbox_1.1\libraries\bt_sdk-1.1\components\BT-SDK\common\libraries\mesh_client_lib.
All the lib files that needed in the provision process are here. You can find the following API:
uint16_t wiced_bt_mesh_db_get_node_addr(wiced_bt_mesh_db_mesh_t *mesh_db, uint16_t element_addr)
uint16_t get_device_addr(const char *p_dev_name)
Thanks for getting back to me, that library has quite a lot of useful functions that I can use.
I have found the function wiced_bt_mesh_db_group_get_addr(wiced_bt_mesh_db_mesh_t *mesh_db, const char *group_name) within the wiced_bt_mesh_db.h file which looks perfect for what I need, but do you know where I can find, or how to generate the argument "wiced_bt_mesh_db_mesh_t *mesh_db" from the mesh network so I can use this function in my code?
The mesh database is created with the mesh network. You can find the database p_mesh_db is created in the API mesh_client_network_create.