Home
last modified time | relevance | path

Searched +full:- +full:x (Results 1 – 25 of 1084) sorted by relevance

12345678910>>...44

/hal_espressif-3.5.0/components/openssl/library/
Dssl_x509.c2 * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
16 int __X509_show_info(X509 *x) in __X509_show_info() argument
18 return X509_METHOD_CALL(show_info, x); in __X509_show_info()
27 X509 *x; in __X509_new() local
29 x = ssl_mem_zalloc(sizeof(X509)); in __X509_new()
30 if (!x) { in __X509_new()
31 SSL_DEBUG(SSL_X509_ERROR_LEVEL, "no enough memory > (x)"); in __X509_new()
35 x->ref_counter = 1; in __X509_new()
37 if (ix && ix->method) in __X509_new()
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/
Dble_mesh_reg_cfg_client_cmd.c2 * SPDX-FileCopyrightText: 2017-2022 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
43 ESP_LOGD(TAG, "enter %s, event = %x\n, error_code = %x\n", __func__, event, param->error_code); in ble_mesh_configuration_client_model_cb()
45 if (!param->error_code) { in ble_mesh_configuration_client_model_cb()
46 opcode = param->params->opcode; in ble_mesh_configuration_client_model_cb()
51 ESP_LOGI(TAG, "CfgClient:beacon,0x%x", param->status_cb.beacon_status.beacon); in ble_mesh_configuration_client_model_cb()
54 …(TAG, "CfgClient:page,0x%x,len,0x%x", param->status_cb.comp_data_status.page, param->status_cb.com… in ble_mesh_configuration_client_model_cb()
57 … ESP_LOGI(TAG, "CfgClient:ttl,0x%x", param->status_cb.default_ttl_status.default_ttl); in ble_mesh_configuration_client_model_cb()
60 … ESP_LOGI(TAG, "CfgClient:proxy,0x%x", param->status_cb.gatt_proxy_status.gatt_proxy); in ble_mesh_configuration_client_model_cb()
63 …ESP_LOGI(TAG, "CfgClient:relay,0x%x,retransmit,0x%x", param->status_cb.relay_status.relay, param->… in ble_mesh_configuration_client_model_cb()
[all …]
Dtransaction.c26 ESP_LOGV(TAG, "transaction reset: %x", (uint32_t) trans); in transaction_reset()
29 trans->type = 0; in transaction_reset()
30 trans->sub_type = 0; in transaction_reset()
31 trans->current_bits = 0; in transaction_reset()
32 bits = xEventGroupGetBits(trans->event_group); in transaction_reset()
33 xEventGroupClearBits(trans->event_group, bits); in transaction_reset()
34 trans->state = TRANSACTION_INACTIVE; in transaction_reset()
35 trans->ret = ESP_OK; in transaction_reset()
51 if (trans->state == TRANSACTION_INACTIVE) { in transaction_set_events()
58 trans->current_bits |= events; in transaction_set_events()
[all …]
/hal_espressif-3.5.0/components/wear_levelling/
DWL_Flash.cpp1 // Copyright 2015-2017 Espressif Systems (Shanghai) PTE LTD
6 // http://www.apache.org/licenses/LICENSE-2.0
30 ESP_LOGE(TAG,"%s(%d): result = 0x%08x", __FUNCTION__, __LINE__, result); \
45 free(this->temp_buff); in ~WL_Flash()
50 …_addr=0x%08x, full_mem_size=0x%08x, page_size=0x%08x, sector_size=0x%08x, updaterate=0x%08x, wr_si… in config()
51 (uint32_t) cfg->start_addr, in config()
52 cfg->full_mem_size, in config()
53 cfg->page_size, in config()
54 cfg->sector_size, in config()
55 cfg->updaterate, in config()
[all …]
DSPI_Flash.cpp1 // Copyright 2015-2017 Espressif Systems (Shanghai) PTE LTD
7 // http://www.apache.org/licenses/LICENSE-2.0
33 ESP_LOGV(TAG, "erase_sector - sector=0x%08x, result=0x%08x", sector, result); in erase_sector()
35 ESP_LOGE(TAG, "erase_sector - sector=0x%08x, result=0x%08x", sector, result); in erase_sector()
41 size = (size + SPI_FLASH_SEC_SIZE - 1) / SPI_FLASH_SEC_SIZE; in erase_range()
45 …ESP_LOGV(TAG, "erase_range - start_address=0x%08x, size=0x%08x, result=0x%08x", start_address, siz… in erase_range()
47 …ESP_LOGE(TAG, "erase_range - start_address=0x%08x, size=0x%08x, result=0x%08x", start_address, siz… in erase_range()
56 … ESP_LOGV(TAG, "write - dest_addr=0x%08x, size=0x%08x, result=0x%08x", dest_addr, size, result); in write()
58 … ESP_LOGE(TAG, "write - dest_addr=0x%08x, size=0x%08x, result=0x%08x", dest_addr, size, result); in write()
67 ESP_LOGV(TAG, "read - src_addr=0x%08x, size=0x%08x, result=0x%08x", src_addr, size, result); in read()
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/main/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
96 common->opcode = opcode; in example_ble_mesh_set_msg_common()
97 common->model = model; in example_ble_mesh_set_msg_common()
98 common->ctx.net_idx = prov_key.net_idx; in example_ble_mesh_set_msg_common()
99 common->ctx.app_idx = prov_key.app_idx; in example_ble_mesh_set_msg_common()
100 common->ctx.addr = node->unicast_addr; in example_ble_mesh_set_msg_common()
101 common->ctx.send_ttl = MSG_SEND_TTL; in example_ble_mesh_set_msg_common()
102 common->ctx.send_rel = MSG_SEND_REL; in example_ble_mesh_set_msg_common()
103 common->msg_timeout = MSG_TIMEOUT; in example_ble_mesh_set_msg_common()
[all …]
/hal_espressif-3.5.0/components/esp_rom/test/
Dtest_libgcc.c6 extern int64_t __absvdi2(int64_t x);
7 TEST_ASSERT(__absvdi2(-1L) == 1);
8 extern int __absvsi2(int x);
9 TEST_ASSERT(__absvsi2(-1) == 1);
10 extern double __adddf3(double x, double y);
12 extern float __addsf3(float x, float y);
14 extern int64_t __addvdi3(int64_t x, int64_t y);
16 extern int __addvsi3(int x, int y);
18 extern int64_t __ashldi3(int64_t x, int y);
20 extern int64_t __ashrdi3(int64_t x, int y);
[all …]
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_core/
Dlocal_operation.c4 * SPDX-FileCopyrightText: 2017 Intel Corporation
5 * SPDX-FileContributor: 2020-2021 Espressif Systems (Shanghai) CO LTD
7 * SPDX-License-Identifier: Apache-2.0
26 BT_ERR("Invalid unicast address 0x%04x", elem_addr); in find_model()
32 BT_ERR("No element found, addr 0x%04x", elem_addr); in find_model()
51 BT_ERR("Subscribe, model not found, cid 0x%04x, mod_id 0x%04x", cid, mod_id); in bt_mesh_model_subscribe_group_addr()
52 return -ENODEV; in bt_mesh_model_subscribe_group_addr()
56 BT_ERR("Subscribe, not a group address 0x%04x", group_addr); in bt_mesh_model_subscribe_group_addr()
57 return -EINVAL; in bt_mesh_model_subscribe_group_addr()
61 BT_INFO("Group address 0x%04x already exists", group_addr); in bt_mesh_model_subscribe_group_addr()
[all …]
Dcfg_srv.c4 * SPDX-FileCopyrightText: 2017 Intel Corporation
5 * SPDX-FileContributor: 2018-2021 Espressif Systems (Shanghai) CO LTD
7 * SPDX-License-Identifier: Apache-2.0
50 4 + (elem->model_count * 2U) + (elem->vnd_model_count * 4U)) { in comp_add_elem()
52 return -E2BIG; in comp_add_elem()
55 net_buf_simple_add_le16(buf, elem->loc); in comp_add_elem()
57 net_buf_simple_add_u8(buf, elem->model_count); in comp_add_elem()
58 net_buf_simple_add_u8(buf, elem->vnd_model_count); in comp_add_elem()
60 for (i = 0; i < elem->model_count; i++) { in comp_add_elem()
61 mod = &elem->models[i]; in comp_add_elem()
[all …]
Dsettings.c2 * SPDX-FileCopyrightText: 2018 Intel Corporation
3 * SPDX-FileContributor: 2018-2021 Espressif Systems (Shanghai) CO LTD
5 * SPDX-License-Identifier: Apache-2.0
29 * key: "mesh/net" -> write/read to set/get NET data
30 * key: "mesh/iv" -> write/read to set/get IV data
31 * key: "mesh/seq" -> write/read to set/get SEQ data
32 * key: "mesh/hb_pub" -> write/read to set/get CFG HB_PUB data
33 * key: "mesh/cfg" -> write/read to set/get CFG data
34 * key: "mesh/rpl" -> write/read to set/get all RPL src.
35 * key: "mesh/rpl/xxxx" -> write/read to set/get the "xxxx" RPL data
[all …]
Dcfg_cli.c4 * SPDX-FileCopyrightText: 2017 Intel Corporation
5 * SPDX-FileContributor: 2018-2021 Espressif Systems (Shanghai) CO LTD
7 * SPDX-License-Identifier: Apache-2.0
116 memcpy(&ctx, &node->ctx, sizeof(ctx)); in timeout_handler()
117 opcode = node->opcode; in timeout_handler()
150 BT_DBG("Unexpected Config Status 0x%04x", ctx->recv_op); in cfg_client_recv_status()
152 switch (node->opcode) { in cfg_client_recv_status()
208 if (!k_delayed_work_free(&node->timer)) { in cfg_client_recv_status()
209 uint32_t opcode = node->opcode; in cfg_client_recv_status()
218 switch (ctx->recv_op) { in cfg_client_recv_status()
[all …]
Dprovisioner_main.c2 * SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
78 return -EINVAL; in bt_mesh_provisioner_net_create()
82 /* Provisioner is already enabled (enable -> disable -> enable), in bt_mesh_provisioner_net_create()
93 return -EIO; in bt_mesh_provisioner_net_create()
99 return -ENOMEM; in bt_mesh_provisioner_net_create()
102 sub->kr_flag = BLE_MESH_KEY_REFRESH(prov->flags); in bt_mesh_provisioner_net_create()
103 if (sub->kr_flag) { in bt_mesh_provisioner_net_create()
104 if (bt_mesh_net_keys_create(&sub->keys[1], p_key)) { in bt_mesh_provisioner_net_create()
105 BT_ERR("Failed to generate net-related keys"); in bt_mesh_provisioner_net_create()
[all …]
/hal_espressif-3.5.0/components/heap/port/
Dmemory_layout_utils.c7 // http://www.apache.org/licenses/LICENSE-2.0
45 - &soc_reserved_memory_region_start ); in s_get_num_reserved_regions()
55 /* Worst-case: each reserved memory region splits an available in soc_get_available_memory_region_max_count()
65 return (int)r_a->start - (int)r_b->start; in s_compare_reserved_regions()
77 reserved[0].start = (intptr_t)layout->dram0_rtos_reserved_start; in s_prepare_reserved_regions()
80 …memcpy(reserved + 1, &soc_reserved_memory_region_start, (count - 1) * sizeof(soc_reserved_region_t… in s_prepare_reserved_regions()
89 ESP_EARLY_LOGV(TAG, "reserved range is %p - %p", in s_prepare_reserved_regions()
94 ESP_EARLY_LOGD(TAG, "Reserved memory range 0x%08x - 0x%08x", in s_prepare_reserved_regions()
99 if (i < count - 1) { in s_prepare_reserved_regions()
103 "0x%08x - 0x%08x overlaps with 0x%08x - 0x%08x", in s_prepare_reserved_regions()
[all …]
/hal_espressif-3.5.0/docs/_static/
Dchip-esp32.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
14 x="0px"
17 style="enable-background:new 0 0 167 224;"
19 sodipodi:docname="ESP32-1.svg"
20 inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
33 inkscape:window-width="1280"
34 inkscape:window-height="996"
[all …]
Dchip-esp32-s2.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
14 x="0px"
17 style="enable-background:new 0 0 194 256;"
19 sodipodi:docname="ESP32-S2.svg"
20 inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
33 inkscape:window-width="1280"
34 inkscape:window-height="996"
[all …]
Dchip-esp32-c3.svg1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Generator: Adobe Illustrator 25.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3 …图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4 viewBox="0 0 152.5 152.5" style="enable-background:new 0 0 152.5 152.5;" xml:space="preserve">
6 .st0{fill:#FFFFFF;stroke:#040000;stroke-width:0.866;stroke-miterlimit:10;}
8 .st2{enable-background:new ;}
9 .st3{font-family:'HelveticaNeue-Bold';}
10 .st4{font-size:18px;}
11 .st5{clip-path:url(#SVGID_2_);}
14 …<path id="XMLID_501_" class="st0" d="M34.1,121.4h84.2c1.6,0,2.9-1.3,2.9-2.9V34c0-1.6-1.3-2.9-2.9-2…
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/
Dmain.c1 /* main.c - Application main entry point */
7 * SPDX-License-Identifier: Apache-2.0
113 ESP_LOGI(TAG, "net_idx: 0x%04x, addr: 0x%04x", net_idx, addr); in prov_complete()
114 ESP_LOGI(TAG, "flags: 0x%02x, iv_index: 0x%08x", flags, iv_index); in prov_complete()
126 if (ESP_BLE_MESH_ADDR_IS_UNICAST(ctx->recv_dst)) { in example_change_led_state()
128 if (ctx->recv_dst == (primary_addr + i)) { in example_change_led_state()
130 board_led_operation(led->pin, onoff); in example_change_led_state()
133 } else if (ESP_BLE_MESH_ADDR_IS_GROUP(ctx->recv_dst)) { in example_change_led_state()
134 if (esp_ble_mesh_is_model_subscribed_to_group(model, ctx->recv_dst)) { in example_change_led_state()
135 led = &led_state[model->element->element_addr - primary_addr]; in example_change_led_state()
[all …]
/hal_espressif-3.5.0/components/newlib/platform_include/
Dendian.h4 * to import symbols defining non-standard endian handling functions.
9 /*-
10 * SPDX-FileCopyrightText: 2018-2021 Espressif Systems (Shanghai) CO LTD
11 * SPDX-FileCopyrightText: 2020 Francesco Giancane <francesco.giancane@accenture.com>
12 * SPDX-FileCopyrightText: 2002 Thomas Moestl <tmm@FreeBSD.org>
13 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD AND Apache-2.0
48 * In xtensa-newlib distribution it is located in <machine/endian.h>
56 #define bswap16(x) __bswap16(x) argument
57 #define bswap32(x) __bswap32(x) argument
58 #define bswap64(x) __bswap64(x) argument
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_server/main/
Dmain.c1 /* main.c - Application main entry point */
7 * SPDX-License-Identifier: Apache-2.0
88 ESP_LOGI(TAG, "net_idx 0x%03x, addr 0x%04x", net_idx, addr); in prov_complete()
89 ESP_LOGI(TAG, "flags 0x%02x, iv_index 0x%08x", flags, iv_index); in prov_complete()
98 …ESP_LOGI(TAG, "ESP_BLE_MESH_PROV_REGISTER_COMP_EVT, err_code %d", param->prov_register_comp.err_co… in example_ble_mesh_provisioning_cb()
101 …ESP_LOGI(TAG, "ESP_BLE_MESH_NODE_PROV_ENABLE_COMP_EVT, err_code %d", param->node_prov_enable_comp.… in example_ble_mesh_provisioning_cb()
105 param->node_prov_link_open.bearer == ESP_BLE_MESH_PROV_ADV ? "PB-ADV" : "PB-GATT"); in example_ble_mesh_provisioning_cb()
109 param->node_prov_link_close.bearer == ESP_BLE_MESH_PROV_ADV ? "PB-ADV" : "PB-GATT"); in example_ble_mesh_provisioning_cb()
113 prov_complete(param->node_prov_complete.net_idx, param->node_prov_complete.addr, in example_ble_mesh_provisioning_cb()
114 param->node_prov_complete.flags, param->node_prov_complete.iv_index); in example_ble_mesh_provisioning_cb()
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/main/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
141 … ESP_LOGI(TAG, "Restore, server_addr 0x%04x, vnd_tid 0x%04x", store.server_addr, store.vnd_tid); in mesh_example_info_restore()
149 common->opcode = opcode; in example_ble_mesh_set_msg_common()
150 common->model = model; in example_ble_mesh_set_msg_common()
151 common->ctx.net_idx = prov_key.net_idx; in example_ble_mesh_set_msg_common()
152 common->ctx.app_idx = prov_key.app_idx; in example_ble_mesh_set_msg_common()
153 common->ctx.addr = node->unicast_addr; in example_ble_mesh_set_msg_common()
154 common->ctx.send_ttl = MSG_SEND_TTL; in example_ble_mesh_set_msg_common()
155 common->ctx.send_rel = MSG_SEND_REL; in example_ble_mesh_set_msg_common()
[all …]
/hal_espressif-3.5.0/components/mbedtls/port/
Desp_bignum.c2 * \brief Multi-precision integer library, ESP32 hardware accelerated parts
6 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
8 * SPDX-License-Identifier: Apache-2.0
14 * http://www.apache.org/licenses/LICENSE-2.0
42 * - Naming convention x_words, y_words, z_words for number of words (limbs) used in a particular
45 …* - Naming convention hw_words for the hardware length of the operation. This number maybe be roun…
49 …* - Timing behaviour of these functions will depend on the length of the inputs. This is fundament…
73 for (size_t i = mpi->n; i > 0; i--) { in mpi_words()
74 if (mpi->p[i - 1] != 0) { in mpi_words()
85 * There is a need for the value of integer N' such that B^-1(B-1)-N^-1N'=1,
[all …]
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Dcmac_mode.c1 /* cmac_mode.c - TinyCrypt CMAC mode implementation */
9 * - Redistributions of source code must retain the above copyright notice,
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of Intel Corporation nor the names of its contributors
42 * gf_wrap -- In our implementation, GF(2^128) is represented as a 16 byte
46 * X^128 + X^7 + X^2 + X + 1,
48 * which leads to the reduction formula X^128 = X^7 + X^2 + X + 1. Indeed,
49 * since 0 = (X^128 + X^7 + X^2 + 1) mod (X^128 + X^7 + X^2 + X + 1) and since
51 * add X^128 to both sides to get
53 * X^128 = (X^7 + X^2 + X + 1) mod (X^128 + X^7 + X^2 + X + 1)
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/main/
Daligenie_demo.c1 /* AliGenie - Example
51 0x71, // PID Bit0-3 ble adv version, 0x01
62 0x00, // Feature Flag bit7-1:uuid version, version 0
66 0x02, // Feature Flag bit7-1:uuidversion, version 1
323 if (p_elem->state.actual[VALUE_TYPE_CUR] != 0) { in save_light_state()
324 p_elem->powerup.last_actual = p_elem->state.actual[VALUE_TYPE_CUR]; in save_light_state()
325 g_powerup[p_elem->elem_index].last_actual = p_elem->state.actual[VALUE_TYPE_CUR]; in save_light_state()
327 …ESP_LOGD(TAG, "elem %d, actual %d", p_elem->elem_index, g_powerup[p_elem->elem_index].last_actual); in save_light_state()
330 p_elem->powerup.last_temp = p_elem->state.temp[VALUE_TYPE_CUR]; in save_light_state()
331 g_powerup[p_elem->elem_index].last_temp = p_elem->state.temp[VALUE_TYPE_CUR]; in save_light_state()
[all …]
/hal_espressif-3.5.0/components/wpa_supplicant/src/crypto/
Dlibtommath.h4 * http://libtom.org/files/ltm-0.41.tar.bz2
64 #define MIN(x,y) ((x)<(y)?(x):(y)) argument
68 #define MAX(x,y) ((x)>(y)?(x):(y)) argument
71 #define OPT_CAST(x) (x *) argument
85 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
87 #define MP_LT -1 /* less than */
95 #define MP_MEM -2 /* out of mem */
96 #define MP_VAL -3 /* invalid input */
115 /* size of comba arrays, should be at least 2 * 2**(BITS_PER_WORD - BITS_PER_DIGIT*2) */
116 #define MP_WARRAY (1 << (sizeof(mp_word) * CHAR_BIT - 2 * DIGIT_BIT + 1))
[all …]
/hal_espressif-3.5.0/components/wpa_supplicant/src/tls/
Dlibtommath.h4 * http://libtom.org/files/ltm-0.41.tar.bz2
62 #define MIN(x,y) ((x)<(y)?(x):(y)) argument
66 #define MAX(x,y) ((x)>(y)?(x):(y)) argument
69 #define OPT_CAST(x) (x *) argument
83 #define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
85 #define MP_LT -1 /* less than */
93 #define MP_MEM -2 /* out of mem */
94 #define MP_VAL -3 /* invalid input */
113 /* size of comba arrays, should be at least 2 * 2**(BITS_PER_WORD - BITS_PER_DIGIT*2) */
114 #define MP_WARRAY (1 << (sizeof(mp_word) * CHAR_BIT - 2 * DIGIT_BIT + 1))
[all …]

12345678910>>...44