SDK Mesh 3.1
I was looking at the provisioner example, and noticed that in the function prov_helper_device_handles_load() there is:
ERROR_CHECK(dsm_subnet_get_all(&m_provisioner.p_dev_data->m_netkey_handle, &count));
But when i look at dsm_subnet_get_all(), the first argument should be mesh_key_index_t, not dsm_handle_t. Shouldn't the function dsm_net_key_index_to_subnet_handle() be used to get the handle from the id?