Home
last modified time | relevance | path

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

12

/hal_espressif-3.4.0/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-3.4.0/components/esp_rom/test/
Dtest_miniz.c39 tdefl_compressor *comp = calloc(1, sizeof(tdefl_compressor)); variable
40 TEST_ASSERT_NOT_NULL_MESSAGE(comp, "allocate tdefl_compressor failed");
46 tdefl_status comp_status = tdefl_init(comp, NULL, NULL, TDEFL_WRITE_ZLIB_HEADER | 1500);
52 …comp_status = tdefl_compress(comp, &inbuf[inpos], &inbytes, &outbuf[outpos], &outbytes, TDEFL_FINI…
64 free(comp);
/hal_espressif-3.4.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/
Dble_mesh_adapter.c43 esp_ble_mesh_comp_t *comp = NULL; in ble_mesh_get_component() local
46 comp = &config_server_comp; in ble_mesh_get_component()
49 comp = &config_client_comp; in ble_mesh_get_component()
52 comp = &gen_onoff_srv_comp; in ble_mesh_get_component()
56 comp = &gen_onoff_cli_comp; in ble_mesh_get_component()
60 comp = &test_perf_cli_comp; in ble_mesh_get_component()
63 comp = &test_perf_srv_comp; in ble_mesh_get_component()
66 return comp; in ble_mesh_get_component()
/hal_espressif-3.4.0/make/
Dproject.mk183 COMPONENTS := $(sort $(foreach comp,$(COMPONENTS),$(lastword $(subst /, ,$(comp)))))
205 COMPONENT_PATHS := $(foreach comp,$(COMPONENTS),\
208 $(abspath $(dir $(wildcard $(cd)/$(comp)/component.mk))),)\
210 $(if $(filter $(comp),$(notdir $(cd))),$(cd),),)\
226 …OMPONENT_PATHS := $(foreach comp,$(TEST_COMPONENTS_LIST),$(firstword $(foreach dir,$(COMPONENT_DIR…
227 TEST_COMPONENT_NAMES := $(foreach comp,$(TEST_COMPONENT_PATHS),$(lastword $(subst /, ,$(dir $(comp)…
/hal_espressif-3.4.0/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-3.4.0/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.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.c1048 const struct bt_mesh_comp *comp = bt_mesh_comp_get(); local
1049 if (!comp) {
1054 if (prov->prov_unicast_addr + comp->elem_count > prov->prov_start_address) {
1056 prov->prov_start_address, prov->prov_unicast_addr + comp->elem_count);
1057 prov_ctx.curr_alloc_addr = prov->prov_unicast_addr + comp->elem_count;
1124 const struct bt_mesh_comp *comp = NULL; local
1131 comp = bt_mesh_comp_get();
1132 if (!comp) {
1138 if (bt_mesh_provisioner_check_is_addr_dup(addr, comp->elem_count, false)) {
1147 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()
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-3.4.0/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-3.4.0/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-3.4.0/tools/unit-test-app/
DMakefile147 $(info TESTS $(foreach comp,$(TEST_COMPONENT_NAMES),$(patsubst %_test,%,$(comp))))
/hal_espressif-3.4.0/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-3.4.0/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-3.4.0/components/mdns/host_test/
DREADME.md20 david@david-comp:~/esp/idf (feature/mdns_networking_socket)$ avahi-browse -a -r -p
/hal_espressif-3.4.0/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-3.4.0/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_main.h467 const struct bt_mesh_comp *comp);
/hal_espressif-3.4.0/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-3.4.0/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-3.4.0/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-3.4.0/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h93 esp_ble_mesh_comp_t *comp; member
/hal_espressif-3.4.0/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__);

12