/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_buf.h | 129 struct net_buf_simple buf; \ 132 .buf.size = _size, \ 133 .buf.__buf = NULL, \ 145 static inline void net_buf_simple_init(struct net_buf_simple *buf, in net_buf_simple_init() argument 148 if (!buf->__buf) { in net_buf_simple_init() 149 buf->__buf = (uint8_t *)buf + sizeof(*buf); in net_buf_simple_init() 152 buf->data = buf->__buf + reserve_head; in net_buf_simple_init() 153 buf->len = 0; in net_buf_simple_init() 165 void net_buf_simple_init_with_data(struct net_buf_simple *buf, 175 static inline void net_buf_simple_reset(struct net_buf_simple *buf) in net_buf_simple_reset() argument [all …]
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/ |
D | mesh_buf.c | 11 int net_buf_id(struct net_buf *buf) in net_buf_id() argument 13 struct net_buf_pool *pool = buf->pool; in net_buf_id() 15 return buf - pool->__bufs; in net_buf_id() 21 struct net_buf *buf = NULL; in pool_get_uninit() local 23 buf = &pool->__bufs[pool->buf_count - uninit_count]; in pool_get_uninit() 25 buf->pool = pool; in pool_get_uninit() 27 return buf; in pool_get_uninit() 36 void *net_buf_simple_add(struct net_buf_simple *buf, size_t len) in net_buf_simple_add() argument 38 uint8_t *tail = net_buf_simple_tail(buf); in net_buf_simple_add() 40 NET_BUF_SIMPLE_DBG("buf %p len %u", buf, len); in net_buf_simple_add() [all …]
|
D | mesh_common.c | 57 struct net_buf_simple *buf = NULL; in bt_mesh_alloc_buf() local 60 buf = (struct net_buf_simple *)bt_mesh_calloc(sizeof(struct net_buf_simple) + size); in bt_mesh_alloc_buf() 61 if (!buf) { in bt_mesh_alloc_buf() 66 data = (uint8_t *)buf + sizeof(struct net_buf_simple); in bt_mesh_alloc_buf() 68 buf->data = data; in bt_mesh_alloc_buf() 69 buf->len = 0; in bt_mesh_alloc_buf() 70 buf->size = size; in bt_mesh_alloc_buf() 71 buf->__buf = data; in bt_mesh_alloc_buf() 73 return buf; in bt_mesh_alloc_buf() 76 void bt_mesh_free_buf(struct net_buf_simple *buf) in bt_mesh_free_buf() argument [all …]
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/utils/ |
D | wpabuf.c | 29 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) in wpabuf_get_trace() argument 32 ((const u8 *) buf - sizeof(struct wpabuf_trace)); in wpabuf_get_trace() 37 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow() argument 40 struct wpabuf_trace *trace = wpabuf_get_trace(buf); in wpabuf_overflow() 47 buf, (unsigned long) buf->size, (unsigned long) buf->used, in wpabuf_overflow() 54 struct wpabuf *buf = *_buf; in wpabuf_resize() local 59 if (buf == NULL) { in wpabuf_resize() 65 trace = wpabuf_get_trace(buf); in wpabuf_resize() 73 if (buf->used + add_len > buf->size) { in wpabuf_resize() 75 if (buf->ext_data) { in wpabuf_resize() [all …]
|
/hal_espressif-2.7.6/examples/bluetooth/hci/hci_common_component/ |
D | bt_hci_common.c | 12 uint16_t make_cmd_set_evt_mask (uint8_t *buf, uint8_t *evt_mask) in make_cmd_set_evt_mask() argument 14 UINT8_TO_STREAM (buf, H4_TYPE_COMMAND); in make_cmd_set_evt_mask() 15 UINT16_TO_STREAM (buf, HCI_SET_EVT_MASK); in make_cmd_set_evt_mask() 16 UINT8_TO_STREAM (buf, HCIC_PARAM_SIZE_SET_EVENT_MASK); in make_cmd_set_evt_mask() 17 ARRAY_TO_STREAM(buf, evt_mask, HCIC_PARAM_SIZE_SET_EVENT_MASK); in make_cmd_set_evt_mask() 21 uint16_t make_cmd_ble_set_scan_enable (uint8_t *buf, uint8_t scan_enable, in make_cmd_ble_set_scan_enable() argument 24 UINT8_TO_STREAM (buf, H4_TYPE_COMMAND); in make_cmd_ble_set_scan_enable() 25 UINT16_TO_STREAM (buf, HCI_BLE_WRITE_SCAN_ENABLE); in make_cmd_ble_set_scan_enable() 26 UINT8_TO_STREAM (buf, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_ENABLE); in make_cmd_ble_set_scan_enable() 27 UINT8_TO_STREAM (buf, scan_enable); in make_cmd_ble_set_scan_enable() [all …]
|
/hal_espressif-2.7.6/components/wpa_supplicant/include/utils/ |
D | wpabuf.h | 32 int wpabuf_resize(struct wpabuf **buf, size_t add_len); 37 void wpabuf_free(struct wpabuf *buf); 38 void * wpabuf_put(struct wpabuf *buf, size_t len); 40 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len); 41 void wpabuf_printf(struct wpabuf *buf, const char *fmt, ...) PRINTF_FORMAT(2, 3); 49 static inline size_t wpabuf_size(const struct wpabuf *buf) in wpabuf_size() argument 51 return buf->size; in wpabuf_size() 59 static inline size_t wpabuf_len(const struct wpabuf *buf) in wpabuf_len() argument 61 return buf->used; in wpabuf_len() 69 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom() argument [all …]
|
/hal_espressif-2.7.6/components/heap/test/ |
D | test_aligned_alloc_caps.c | 23 uint8_t *buf = (uint8_t *)memalign(alignments, (alignments + 137)); variable 25 TEST_ASSERT( buf == NULL ); 28 TEST_ASSERT( buf != NULL ); 30 printf("[ALIGNED_ALLOC] address of allocated memory: %p \n\n", (void *)buf); 32 TEST_ASSERT(((intptr_t)buf & (alignments - 1)) == 0); 36 memset(buf, 0xA5, (alignments + 137)); 38 free(buf); 52 uint8_t *buf = (uint8_t *)heap_caps_aligned_alloc(alignments, 10*1024, MALLOC_CAP_SPIRAM); variable 54 TEST_ASSERT( buf == NULL ); 57 TEST_ASSERT( buf != NULL ); [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/hf_client/ |
D | bta_hf_client_at.c | 113 static void bta_hf_client_queue_at(tBTA_HF_CLIENT_AT_CMD cmd, const char *buf, UINT16 buf_len) in bta_hf_client_queue_at() argument 123 memcpy(new_cmd->buf, buf, buf_len); in bta_hf_client_queue_at() 175 static void bta_hf_client_send_at(tBTA_HF_CLIENT_AT_CMD cmd, char *buf, UINT16 buf_len) in bta_hf_client_send_at() argument 183 APPL_TRACE_DEBUG("%s %.*s", __FUNCTION__, buf_len - 1, buf); in bta_hf_client_send_at() 195 PORT_WriteData(bta_hf_client_cb.scb.conn_handle, buf, buf_len, &len); in bta_hf_client_send_at() 202 bta_hf_client_queue_at(cmd, buf, buf_len); in bta_hf_client_send_at() 214 bta_hf_client_send_at(cur->cmd, cur->buf, cur->buf_len); in bta_hf_client_send_queued_at() 578 #define AT_CHECK_EVENT(buf, event) \ argument 579 if (strncmp("\r\n"event,buf,sizeof("\r\n"event) - 1) != 0) \ 580 return buf; \ [all …]
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/ |
D | scan.c | 48 static bool adv_flags_valid(struct net_buf_simple *buf) in adv_flags_valid() argument 52 if (buf->len != 1U) { in adv_flags_valid() 53 BT_DBG("Unexpected adv flags length %d", buf->len); in adv_flags_valid() 57 flags = net_buf_simple_pull_u8(buf); in adv_flags_valid() 67 static bool adv_service_uuid_valid(struct net_buf_simple *buf, uint16_t *uuid) in adv_service_uuid_valid() argument 69 if (buf->len != 2U) { in adv_service_uuid_valid() 74 *uuid = net_buf_simple_pull_le16(buf); in adv_service_uuid_valid() 96 static void handle_adv_service_data(struct net_buf_simple *buf, in handle_adv_service_data() argument 102 if (!buf || !addr) { in handle_adv_service_data() 107 type = net_buf_simple_pull_le16(buf); in handle_adv_service_data() [all …]
|
D | prov.c | 90 #define XACT_SEG_DATA(_seg) (&link.rx.buf->data[20 + ((_seg - 1) * 23)]) 141 struct net_buf_simple *buf; member 152 struct net_buf *buf[3]; member 245 link.rx.buf = bt_mesh_proxy_server_get_buf(); in reset_state() 248 link.rx.buf = &rx_buf; in reset_state() 260 if (!link.tx.buf[0]) { in buf_sent() 277 for (i = 0; i < ARRAY_SIZE(link.tx.buf); i++) { in free_segments() 278 struct net_buf *buf = link.tx.buf[i]; in free_segments() local 280 if (!buf) { in free_segments() 284 link.tx.buf[i] = NULL; in free_segments() [all …]
|
D | cfg_cli.c | 134 struct net_buf_simple buf = {0}; in cfg_client_recv_status() local 143 buf.data = (uint8_t *)status; in cfg_client_recv_status() 144 buf.len = (uint16_t)len; in cfg_client_recv_status() 148 node = bt_mesh_is_client_recv_publish_msg(model, ctx, &buf, true); in cfg_client_recv_status() 253 struct net_buf_simple *buf) in comp_data_status() argument 258 ctx->net_idx, ctx->app_idx, ctx->addr, buf->len, in comp_data_status() 259 bt_hex(buf->data, buf->len)); in comp_data_status() 261 status.page = net_buf_simple_pull_u8(buf); in comp_data_status() 262 status.comp_data = bt_mesh_alloc_buf(buf->len); in comp_data_status() 268 net_buf_simple_add_mem(status.comp_data, buf->data, buf->len); in comp_data_status() [all …]
|
D | adv.c | 98 struct net_buf *buf; member 144 static inline int adv_send(struct net_buf *buf) in adv_send() argument 148 const struct bt_mesh_send_cb *cb = BLE_MESH_ADV(buf)->cb; in adv_send() 149 void *cb_data = BLE_MESH_ADV(buf)->cb_data; in adv_send() 155 BT_DBG("type %u len %u: %s", BLE_MESH_ADV(buf)->type, in adv_send() 156 buf->len, bt_hex(buf->data, buf->len)); in adv_send() 159 if (BLE_MESH_ADV(buf)->type != BLE_MESH_ADV_BLE) { in adv_send() 162 BLE_MESH_TRANSMIT_INT(BLE_MESH_ADV(buf)->xmit)); in adv_send() 163 duration = (BLE_MESH_TRANSMIT_COUNT(BLE_MESH_ADV(buf)->xmit) + 1) * in adv_send() 167 BLE_MESH_TRANSMIT_COUNT(BLE_MESH_ADV(buf)->xmit) + 1, adv_int, in adv_send() [all …]
|
D | beacon.c | 102 struct net_buf_simple *buf) in bt_mesh_beacon_create() argument 107 net_buf_simple_add_u8(buf, BEACON_TYPE_SECURE); in bt_mesh_beacon_create() 115 net_buf_simple_add_u8(buf, flags); in bt_mesh_beacon_create() 118 net_buf_simple_add_mem(buf, keys->net_id, 8); in bt_mesh_beacon_create() 121 net_buf_simple_add_be32(buf, bt_mesh.iv_index); in bt_mesh_beacon_create() 123 net_buf_simple_add_mem(buf, sub->auth, 8); in bt_mesh_beacon_create() 149 struct net_buf *buf; in secure_beacon_send() local 174 buf = bt_mesh_adv_create(BLE_MESH_ADV_BEACON, PROV_XMIT, in secure_beacon_send() 176 if (!buf) { in secure_beacon_send() 181 bt_mesh_beacon_create(sub, &buf->b); in secure_beacon_send() [all …]
|
/hal_espressif-2.7.6/examples/protocols/smtp_client/main/ |
D | smtp_client_example_main.c | 84 static int write_and_get_response(mbedtls_net_context *sock_fd, unsigned char *buf, size_t len) in write_and_get_response() argument 93 ESP_LOGD(TAG, "%s", buf); in write_and_get_response() 96 if (len && (ret = mbedtls_net_send(sock_fd, buf, len)) <= 0) { in write_and_get_response() 135 static int write_ssl_and_get_response(mbedtls_ssl_context *ssl, unsigned char *buf, size_t len) in write_ssl_and_get_response() argument 144 ESP_LOGD(TAG, "%s", buf); in write_ssl_and_get_response() 147 while (len && (ret = mbedtls_ssl_write(ssl, buf, len)) <= 0) { in write_ssl_and_get_response() 192 static int write_ssl_data(mbedtls_ssl_context *ssl, unsigned char *buf, size_t len) in write_ssl_data() argument 197 ESP_LOGD(TAG, "%s", buf); in write_ssl_data() 200 while (len && (ret = mbedtls_ssl_write(ssl, buf, len)) <= 0) { in write_ssl_data() 214 char *buf = NULL; in perform_tls_handshake() local [all …]
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_models/client/ |
D | lighting_client.c | 181 struct net_buf_simple *buf) in light_status() argument 188 BT_DBG("len %d, bytes %s", buf->len, bt_hex(buf->data, buf->len)); in light_status() 193 if (buf->len != 2 && buf->len != 5) { in light_status() 194 BT_ERR("Invalid Light Lightness Status length %d", buf->len); in light_status() 202 status->present_lightness = net_buf_simple_pull_le16(buf); in light_status() 203 if (buf->len) { in light_status() 205 status->target_lightness = net_buf_simple_pull_le16(buf); in light_status() 206 status->remain_time = net_buf_simple_pull_u8(buf); in light_status() 214 if (buf->len != 2 && buf->len != 5) { in light_status() 215 BT_ERR("Invalid Light Lightness Linear Status length %d", buf->len); in light_status() [all …]
|
D | generic_client.c | 172 struct net_buf_simple *buf) in generic_status() argument 179 BT_DBG("len %d, bytes %s", buf->len, bt_hex(buf->data, buf->len)); in generic_status() 184 if (buf->len != 1 && buf->len != 3) { in generic_status() 185 BT_ERR("Invalid Generic OnOff Status length %d", buf->len); in generic_status() 193 status->present_onoff = net_buf_simple_pull_u8(buf); in generic_status() 194 if (buf->len) { in generic_status() 196 status->target_onoff = net_buf_simple_pull_u8(buf); in generic_status() 197 status->remain_time = net_buf_simple_pull_u8(buf); in generic_status() 205 if (buf->len != 2 && buf->len != 5) { in generic_status() 206 BT_ERR("Invalid Generic Level Status length %d", buf->len); in generic_status() [all …]
|
/hal_espressif-2.7.6/components/openssl/test/ |
D | test_openssl.c | 91 char buf[20]; variable 94 TEST_ASSERT_EQUAL(5, BIO_read(bio2, buf, sizeof(buf))); 95 TEST_ASSERT_EQUAL_UINT8_ARRAY("12345", buf, 5); 103 TEST_ASSERT_EQUAL(10, BIO_read(bio2, buf, sizeof(buf))); 104 TEST_ASSERT_EQUAL_UINT8_ARRAY("1234567890", buf, 10); 108 TEST_ASSERT_EQUAL(-1, BIO_read(bio2, buf, 5)); 112 TEST_ASSERT_EQUAL(-1, BIO_read(bio2, buf, 20)); 120 TEST_ASSERT_EQUAL(3, BIO_read(bio2, buf, 3)); 121 TEST_ASSERT_EQUAL_UINT8_ARRAY("123", buf, 3); 123 TEST_ASSERT_EQUAL(7, BIO_read(bio2, buf, sizeof(buf))); [all …]
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_eddystone/main/ |
D | esp_eddystone_api.c | 28 static esp_err_t esp_eddystone_uid_received(const uint8_t* buf, uint8_t len, esp_eddystone_result_t… 29 static esp_err_t esp_eddystone_url_received(const uint8_t* buf, uint8_t len, esp_eddystone_result_t… 31 static esp_err_t esp_eddystone_tlm_received(const uint8_t* buf, uint8_t len, esp_eddystone_result_t… 32 static esp_err_t esp_eddystone_get_inform(const uint8_t* buf, uint8_t len, esp_eddystone_result_t* … 84 static esp_err_t esp_eddystone_uid_received(const uint8_t* buf, uint8_t len, esp_eddystone_result_t… in esp_eddystone_uid_received() argument 92 res->inform.uid.ranging_data = buf[pos++]; in esp_eddystone_uid_received() 94 res->inform.uid.namespace_id[i] = buf[pos++]; in esp_eddystone_uid_received() 97 res->inform.uid.instance_id[i] = buf[pos++]; in esp_eddystone_uid_received() 130 static esp_err_t esp_eddystone_url_received(const uint8_t* buf, uint8_t len, esp_eddystone_result_t… in esp_eddystone_url_received() argument 138 res->inform.url.tx_power = buf[pos++]; in esp_eddystone_url_received() [all …]
|
/hal_espressif-2.7.6/examples/protocols/http_server/advanced_tests/main/ |
D | tests.c | 37 char *buf; in test_header_get_handler() local 41 buf = malloc(++buf_len); in test_header_get_handler() 42 if (!buf) { in test_header_get_handler() 48 if (httpd_req_get_hdr_value_str(req, "Header1", buf, buf_len) == ESP_OK) { in test_header_get_handler() 49 ESP_LOGI(TAG, "Header1 content: %s", buf); in test_header_get_handler() 50 if (strcmp("Value1", buf) != 0) { in test_header_get_handler() 52 free(buf); in test_header_get_handler() 60 free(buf); in test_header_get_handler() 63 free(buf); in test_header_get_handler() 72 buf = malloc(++buf_len); in test_header_get_handler() [all …]
|
/hal_espressif-2.7.6/components/bt/common/osi/ |
D | buffer.c | 47 buffer_t *buffer_new_ref(const buffer_t *buf) in buffer_new_ref() argument 49 assert(buf != NULL); in buffer_new_ref() 50 return buffer_new_slice(buf, buf->length); in buffer_new_ref() 53 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size) in buffer_new_slice() argument 55 assert(buf != NULL); in buffer_new_slice() 57 assert(slice_size <= buf->length); in buffer_new_slice() 65 ret->root = buf->root; in buffer_new_slice() 69 ++buf->root->refcount; in buffer_new_slice() 92 void *buffer_ptr(const buffer_t *buf) in buffer_ptr() argument 94 assert(buf != NULL); in buffer_ptr() [all …]
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/common/ |
D | rrm.c | 140 struct wpabuf *buf; in wpas_rrm_send_neighbor_rep_request() local 159 buf = wpabuf_alloc(3 + (ssid ? 2 + ssid->ssid_len : 0) + in wpas_rrm_send_neighbor_rep_request() 162 if (buf == NULL) { in wpas_rrm_send_neighbor_rep_request() 173 wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); in wpas_rrm_send_neighbor_rep_request() 174 wpabuf_put_u8(buf, WLAN_RRM_NEIGHBOR_REPORT_REQUEST); in wpas_rrm_send_neighbor_rep_request() 175 wpabuf_put_u8(buf, wpa_s->rrm.next_neighbor_rep_token); in wpas_rrm_send_neighbor_rep_request() 177 wpabuf_put_u8(buf, WLAN_EID_SSID); in wpas_rrm_send_neighbor_rep_request() 178 wpabuf_put_u8(buf, ssid->ssid_len); in wpas_rrm_send_neighbor_rep_request() 179 wpabuf_put_data(buf, ssid->ssid, ssid->ssid_len); in wpas_rrm_send_neighbor_rep_request() 184 wpabuf_put_u8(buf, WLAN_EID_MEASURE_REQUEST); in wpas_rrm_send_neighbor_rep_request() [all …]
|
/hal_espressif-2.7.6/examples/protocols/http_server/simple/main/ |
D | main.c | 32 char* buf; in hello_get_handler() local 39 buf = malloc(buf_len); in hello_get_handler() 41 if (httpd_req_get_hdr_value_str(req, "Host", buf, buf_len) == ESP_OK) { in hello_get_handler() 42 ESP_LOGI(TAG, "Found header => Host: %s", buf); in hello_get_handler() 44 free(buf); in hello_get_handler() 49 buf = malloc(buf_len); in hello_get_handler() 50 if (httpd_req_get_hdr_value_str(req, "Test-Header-2", buf, buf_len) == ESP_OK) { in hello_get_handler() 51 ESP_LOGI(TAG, "Found header => Test-Header-2: %s", buf); in hello_get_handler() 53 free(buf); in hello_get_handler() 58 buf = malloc(buf_len); in hello_get_handler() [all …]
|
/hal_espressif-2.7.6/components/fatfs/test/ |
D | test_fatfs_sdmmc.c | 191 static void sdmmc_speed_test(void *buf, size_t buf_size, size_t file_size, bool write); 199 uint32_t* buf = (uint32_t*) calloc(1, buf_size); variable 200 esp_fill_random(buf, buf_size); 203 sdmmc_speed_test(buf, 4 * 1024, file_size, true); 204 sdmmc_speed_test(buf, 8 * 1024, file_size, true); 205 sdmmc_speed_test(buf, 16 * 1024, file_size, true); 207 sdmmc_speed_test(buf, 4 * 1024, file_size, false); 208 sdmmc_speed_test(buf, 8 * 1024, file_size, false); 209 sdmmc_speed_test(buf, 16 * 1024, file_size, false); 211 free(buf); [all …]
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/storage/ |
D | settings_nvs.c | 304 uint8_t *buf, size_t buf_len, bool *exist) in settings_load() argument 308 if (key == NULL || buf == NULL || exist == NULL) { in settings_load() 313 err = nvs_get_blob(handle, key, buf, &buf_len); in settings_load() 330 uint8_t *buf, size_t buf_len, bool *exist) in bt_mesh_load_settings() argument 334 err = settings_load(handle, key, buf, buf_len, exist); in bt_mesh_load_settings() 339 int bt_mesh_load_core_settings(const char *key, uint8_t *buf, size_t buf_len, bool *exist) in bt_mesh_load_core_settings() argument 342 return bt_mesh_load_settings(handle, key, buf, buf_len, exist); in bt_mesh_load_core_settings() 346 int bt_mesh_load_uid_settings(const char *key, uint8_t *buf, size_t buf_len, bool *exist) in bt_mesh_load_uid_settings() argument 349 return bt_mesh_load_settings(handle, key, buf, buf_len, exist); in bt_mesh_load_uid_settings() 383 struct net_buf_simple *buf = NULL; in settings_get_item() local [all …]
|
/hal_espressif-2.7.6/components/esp_common/include/ |
D | esp_crc.h | 33 static inline uint32_t esp_crc32_le(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_crc32_le() argument 35 return esp_rom_crc32_le(crc, buf, len); in esp_crc32_le() 46 static inline uint32_t esp_crc32_be(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_crc32_be() argument 48 return esp_rom_crc32_be(crc, buf, len); in esp_crc32_be() 59 static inline uint16_t esp_crc16_le(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_crc16_le() argument 61 return esp_rom_crc16_le(crc, buf, len); in esp_crc16_le() 72 static inline uint16_t esp_crc16_be(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_crc16_be() argument 74 return esp_rom_crc16_be(crc, buf, len); in esp_crc16_be() 85 static inline uint8_t esp_crc8_le(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_crc8_le() argument 87 return esp_rom_crc8_le(crc, buf, len); in esp_crc8_le() [all …]
|