Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_common_api.c17 esp_err_t esp_ble_mesh_init(esp_ble_mesh_prov_t *prov, esp_ble_mesh_comp_t *comp) in esp_ble_mesh_init() argument
24 if (prov == NULL || comp == NULL) { in esp_ble_mesh_init()
42 arg.mesh_init.comp = comp; in esp_ble_mesh_init()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dtest.c32 const struct bt_mesh_comp *comp = NULL; in bt_mesh_device_auto_enter_network() local
86 comp = bt_mesh_comp_get(); in bt_mesh_device_auto_enter_network()
87 if (!comp) { in bt_mesh_device_auto_enter_network()
92 for (i = 0; i < comp->elem_count; i++) { in bt_mesh_device_auto_enter_network()
93 elem = &comp->elem[i]; in bt_mesh_device_auto_enter_network()
Dprovisioner_main.c199 const struct bt_mesh_comp *comp = NULL; in bt_mesh_provisioner_check_is_addr_dup() local
206 comp = bt_mesh_comp_get(); in bt_mesh_provisioner_check_is_addr_dup()
207 if (!comp) { in bt_mesh_provisioner_check_is_addr_dup()
229 comp_addr < primary_addr + comp->elem_count) { in bt_mesh_provisioner_check_is_addr_dup()
1462 const struct bt_mesh_comp *comp = NULL; in bt_mesh_print_local_composition_data() local
1467 comp = bt_mesh_comp_get(); in bt_mesh_print_local_composition_data()
1468 if (!comp) { in bt_mesh_print_local_composition_data()
1474 BT_INFO("* cid: 0x%04x pid: 0x%04x vid: 0x%04x *", comp->cid, comp->pid, comp->vid); in bt_mesh_print_local_composition_data()
1475 BT_INFO("* Element Number: 0x%02x *", comp->elem_count); in bt_mesh_print_local_composition_data()
1476 for (i = 0; i < comp->elem_count; i++) { in bt_mesh_print_local_composition_data()
[all …]
Daccess.h55 int bt_mesh_comp_register(const struct bt_mesh_comp *comp);
Dmain.c371 const struct bt_mesh_comp *comp) in bt_mesh_init() argument
388 err = bt_mesh_comp_register(comp); in bt_mesh_init()
Dprovisioner_prov.c1051 const struct bt_mesh_comp *comp = bt_mesh_comp_get(); local
1052 if (!comp) {
1057 if (prov->prov_unicast_addr + comp->elem_count > prov->prov_start_address) {
1059 prov->prov_start_address, prov->prov_unicast_addr + comp->elem_count);
1060 prov_ctx.curr_alloc_addr = prov->prov_unicast_addr + comp->elem_count;
1127 const struct bt_mesh_comp *comp = NULL; local
1134 comp = bt_mesh_comp_get();
1135 if (!comp) {
1141 if (bt_mesh_provisioner_check_is_addr_dup(addr, comp->elem_count, false)) {
1150 if (addr + comp->elem_count > prov_ctx.curr_alloc_addr) {
[all …]
Daccess.c365 int bt_mesh_comp_register(const struct bt_mesh_comp *comp) in bt_mesh_comp_register() argument
370 if (!comp->elem_count) { in bt_mesh_comp_register()
374 dev_comp = comp; in bt_mesh_comp_register()
Dlpn.c304 const struct bt_mesh_comp *comp = bt_mesh_comp_get(); in send_friend_req() local
322 .num_elem = comp->elem_count, in send_friend_req()
Dcfg_srv.c76 const struct bt_mesh_comp *comp = NULL; in comp_get_page_0() local
80 comp = bt_mesh_comp_get(); in comp_get_page_0()
98 net_buf_simple_add_le16(buf, comp->cid); in comp_get_page_0()
99 net_buf_simple_add_le16(buf, comp->pid); in comp_get_page_0()
100 net_buf_simple_add_le16(buf, comp->vid); in comp_get_page_0()
104 for (i = 0; i < comp->elem_count; i++) { in comp_get_page_0()
107 err = comp_add_elem(buf, &comp->elem[i], i == 0); in comp_get_page_0()
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/
Desp_ble_mesh_common_api.h31 esp_err_t esp_ble_mesh_init(esp_ble_mesh_prov_t *prov, esp_ble_mesh_comp_t *comp);
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_addr.c243 UINT8 comp[3]; in btm_ble_proc_resolve_x() local
246 comp[0] = p_mgnt_cb->random_bda[5]; in btm_ble_proc_resolve_x()
247 comp[1] = p_mgnt_cb->random_bda[4]; in btm_ble_proc_resolve_x()
248 comp[2] = p_mgnt_cb->random_bda[3]; in btm_ble_proc_resolve_x()
251 if (!memcmp(p->param_buf, &comp[0], 3)) { in btm_ble_proc_resolve_x()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_main.h467 const struct bt_mesh_comp *comp);
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h93 esp_ble_mesh_comp_t *comp; member
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_prov.c1778 for (int i = 0; i < arg->mesh_init.comp->element_count; i++) { in btc_ble_mesh_prov_call_handler()
1779 esp_ble_mesh_elem_t *elem = &arg->mesh_init.comp->elements[i]; in btc_ble_mesh_prov_call_handler()
1837 (struct bt_mesh_comp *)arg->mesh_init.comp); in btc_ble_mesh_prov_call_handler()
/hal_espressif-latest/tools/esptool_py/flasher_stub/
Dminiz.c4286 …int comp = mz_zip_filename_compare(pCentral_dir, pCentral_dir_offsets, file_index, pFilename, file… in mz_zip_locate_file_binary_search() local
4287 if (!comp) in mz_zip_locate_file_binary_search()
4293 else if (comp < 0) in mz_zip_locate_file_binary_search()