Home
last modified time | relevance | path

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

12

/hal_espressif-2.7.6/components/esp_rom/test/
Dtest_miniz.c38 tdefl_compressor *comp = calloc(1, sizeof(tdefl_compressor)); variable
39 TEST_ASSERT_NOT_NULL_MESSAGE(comp, "allocate tdefl_compressor failed");
45 tdefl_status comp_status = tdefl_init(comp, NULL, NULL, TDEFL_WRITE_ZLIB_HEADER | 1500);
51 …comp_status = tdefl_compress(comp, &inbuf[inpos], &inbytes, &outbuf[outpos], &outbytes, TDEFL_FINI…
63 free(comp);
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_common_api.c25 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
32 if (prov == NULL || comp == NULL) { in esp_ble_mesh_init()
50 arg.mesh_init.comp = comp; in esp_ble_mesh_init()
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/
Dble_mesh_fast_prov_operation.c182 const esp_ble_mesh_comp_t *comp = NULL; in example_handle_config_app_key_add_evt() local
187 comp = esp_ble_mesh_get_composition_data(); in example_handle_config_app_key_add_evt()
188 if (!comp) { in example_handle_config_app_key_add_evt()
192 for (i = 0; i < comp->element_count; i++) { in example_handle_config_app_key_add_evt()
193 element = &comp->elements[i]; in example_handle_config_app_key_add_evt()
249 const esp_ble_mesh_comp_t *comp = NULL; in example_add_fast_prov_group_address() local
258 comp = esp_ble_mesh_get_composition_data(); in example_add_fast_prov_group_address()
259 if (!comp) { in example_add_fast_prov_group_address()
263 for (i = 0; i < comp->element_count; i++) { in example_add_fast_prov_group_address()
264 element = &comp->elements[i]; in example_add_fast_prov_group_address()
[all …]
/hal_espressif-2.7.6/make/
Dproject.mk176 COMPONENTS := $(sort $(foreach comp,$(COMPONENTS),$(lastword $(subst /, ,$(comp)))))
198 COMPONENT_PATHS := $(foreach comp,$(COMPONENTS),\
201 $(abspath $(dir $(wildcard $(cd)/$(comp)/component.mk))),)\
203 $(if $(filter $(comp),$(notdir $(cd))),$(cd),),)\
219 …OMPONENT_PATHS := $(foreach comp,$(TEST_COMPONENTS_LIST),$(firstword $(foreach dir,$(COMPONENT_DIR…
220 TEST_COMPONENT_NAMES := $(foreach comp,$(TEST_COMPONENT_PATHS),$(lastword $(subst /, ,$(dir $(comp)…
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/
Dble_mesh_adapter.c50 esp_ble_mesh_comp_t *comp = NULL; in ble_mesh_get_component() local
53 comp = &config_server_comp; in ble_mesh_get_component()
56 comp = &config_client_comp; in ble_mesh_get_component()
59 comp = &gen_onoff_srv_comp; in ble_mesh_get_component()
63 comp = &gen_onoff_cli_comp; in ble_mesh_get_component()
67 comp = &test_perf_cli_comp; in ble_mesh_get_component()
70 comp = &test_perf_srv_comp; in ble_mesh_get_component()
73 return comp; in ble_mesh_get_component()
/hal_espressif-2.7.6/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.c207 const struct bt_mesh_comp *comp = NULL; in bt_mesh_provisioner_check_is_addr_dup() local
214 comp = bt_mesh_comp_get(); in bt_mesh_provisioner_check_is_addr_dup()
215 if (!comp) { in bt_mesh_provisioner_check_is_addr_dup()
237 comp_addr < primary_addr + comp->elem_count) { in bt_mesh_provisioner_check_is_addr_dup()
1470 const struct bt_mesh_comp *comp = NULL; in bt_mesh_print_local_composition_data() local
1475 comp = bt_mesh_comp_get(); in bt_mesh_print_local_composition_data()
1476 if (!comp) { in bt_mesh_print_local_composition_data()
1482 BT_INFO("* cid: 0x%04x pid: 0x%04x vid: 0x%04x *", comp->cid, comp->pid, comp->vid); in bt_mesh_print_local_composition_data()
1483 BT_INFO("* Element Number: 0x%02x *", comp->elem_count); in bt_mesh_print_local_composition_data()
1484 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.c349 const struct bt_mesh_comp *comp) in bt_mesh_init() argument
366 err = bt_mesh_comp_register(comp); in bt_mesh_init()
Dprovisioner_prov.c1055 const struct bt_mesh_comp *comp = bt_mesh_comp_get(); local
1056 if (!comp) {
1061 if (prov->prov_unicast_addr + comp->elem_count > prov->prov_start_address) {
1063 prov->prov_start_address, prov->prov_unicast_addr + comp->elem_count);
1064 prov_ctx.curr_alloc_addr = prov->prov_unicast_addr + comp->elem_count;
1131 const struct bt_mesh_comp *comp = NULL; local
1138 comp = bt_mesh_comp_get();
1139 if (!comp) {
1145 if (bt_mesh_provisioner_check_is_addr_dup(addr, comp->elem_count, false)) {
1154 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()
/hal_espressif-2.7.6/tools/unit-test-app/components/test_utils/
Dtest_utils.c140 for (int comp = 0; comp < COMP_LEAK_ALL; ++comp) { in test_utils_get_leak_level() local
141 leak_level += test_unity_leak_level[type_of_leak][comp]; in test_utils_get_leak_level()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_addr.c259 UINT8 comp[3]; in btm_ble_proc_resolve_x() local
262 comp[0] = p_mgnt_cb->random_bda[5]; in btm_ble_proc_resolve_x()
263 comp[1] = p_mgnt_cb->random_bda[4]; in btm_ble_proc_resolve_x()
264 comp[2] = p_mgnt_cb->random_bda[3]; in btm_ble_proc_resolve_x()
267 if (!memcmp(p->param_buf, &comp[0], 3)) { in btm_ble_proc_resolve_x()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/api/core/include/
Desp_ble_mesh_common_api.h39 esp_err_t esp_ble_mesh_init(esp_ble_mesh_prov_t *prov, esp_ble_mesh_comp_t *comp);
/hal_espressif-2.7.6/tools/unit-test-app/
DMakefile147 $(info TESTS $(foreach comp,$(TEST_COMPONENT_NAMES),$(patsubst %_test,%,$(comp))))
/hal_espressif-2.7.6/docs/zh_CN/api-guides/esp-ble-mesh/
Dble-mesh-faq.rst227 const esp_ble_mesh_comp_t *comp = NULL;
236 comp = esp_ble_mesh_get_composition_data();
237 if (!comp) {
241 for (i = 0; i < comp->element_count; i++) {
242 element = &comp->elements[i];
/hal_espressif-2.7.6/examples/bluetooth/nimble/blemesh/main/
Dapp_mesh.c376 static const struct bt_mesh_comp comp = { variable
424 err = bt_mesh_init(addr.type, &prov, &comp); in blemesh_on_sync()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_main.h467 const struct bt_mesh_comp *comp);
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_client/main/
Dmain.c96 static esp_ble_mesh_comp_t comp = { variable
542 err = esp_ble_mesh_init(&prov, &comp); in ble_mesh_init()
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_server/main/
Dmain.c141 static esp_ble_mesh_comp_t comp = { variable
700 err = esp_ble_mesh_init(&prov, &comp); in ble_mesh_init()
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/
Dmain.c153 static esp_ble_mesh_comp_t comp = { variable
712 err = esp_ble_mesh_init(&prov, &comp); in ble_mesh_init()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h101 esp_ble_mesh_comp_t *comp; member
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_provisioner/tutorial/
DBLE_Mesh_Provisioner_Example_Walkthrough.md97 ESP_LOGE(TAG, "%s: Send config comp data get failed", __func__);
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/tutorial/
DBLE_Mesh_WiFi_Coexist_Example_Walkthrough.md199 err = esp_ble_mesh_init(&prov, &comp);
233 6. Initialize the BLE Mesh module by calling the `esp_ble_mesh_init(&prov, &comp)` API, which initi…

12