Home
last modified time | relevance | path

Searched refs:elem_idx (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_core/
Daccess.c285 return &dev_comp->elem[mod->elem_idx]; in bt_mesh_model_elem()
288 struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx) in bt_mesh_model_get() argument
297 if (elem_idx >= dev_comp->elem_count) { in bt_mesh_model_get()
298 BT_ERR("Invalid element index %u", elem_idx); in bt_mesh_model_get()
302 elem = &dev_comp->elem[elem_idx]; in bt_mesh_model_get()
349 mod->elem_idx = elem - dev_comp->elem; in mod_init()
410 mod->elem_idx = 0U; in mod_deinit()
554 return (dev_comp->elem[model->elem_idx].addr == dst); in model_has_dst()
559 return (model->elem_idx == 0 && bt_mesh_fixed_group_match(dst)); in model_has_dst()
Dsettings.c731 uint8_t elem_idx = 0U, model_idx = 0U; in model_set() local
747 elem_idx = BLE_MESH_GET_ELEM_IDX(model_key); in model_set()
750 model = bt_mesh_model_get(vnd, elem_idx, model_idx); in model_set()
753 vnd ? "vnd" : "sig", elem_idx, model_idx); in model_set()
1853 model_key = BLE_MESH_GET_MODEL_KEY(model->elem_idx, model->model_idx); in store_pending_mod_bind()
1877 model_key = BLE_MESH_GET_MODEL_KEY(model->elem_idx, model->model_idx); in store_pending_mod_sub()
1907 model_key = BLE_MESH_GET_MODEL_KEY(model->elem_idx, model->model_idx); in store_pending_mod_pub()
1962 model_key = BLE_MESH_GET_MODEL_KEY(model->elem_idx, model->model_idx); in clear_mod_bind()
1974 model_key = BLE_MESH_GET_MODEL_KEY(model->elem_idx, model->model_idx); in clear_mod_sub()
1986 model_key = BLE_MESH_GET_MODEL_KEY(model->elem_idx, model->model_idx); in clear_mod_pub()
Daccess.h51 struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx);
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_access.h469 uint8_t elem_idx; /* Belongs to Nth element */ member
580 return (mod->elem_idx == 0); in bt_mesh_model_in_primary()