Searched refs:mod_idx (Results 1 – 2 of 2) sorted by relevance
288 struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx) in bt_mesh_model_get() argument305 if (mod_idx >= elem->vnd_model_count) { in bt_mesh_model_get()306 BT_ERR("Invalid vendor model index %u", mod_idx); in bt_mesh_model_get()310 return &elem->vnd_models[mod_idx]; in bt_mesh_model_get()312 if (mod_idx >= elem->model_count) { in bt_mesh_model_get()313 BT_ERR("Invalid SIG model index %u", mod_idx); in bt_mesh_model_get()317 return &elem->models[mod_idx]; in bt_mesh_model_get()
51 struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx);