Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/components/case/
Dsync.c250 uint8_t data_ptr = 0; in analys_param() local
257 sync_obj.own_ble_case = data[data_ptr]; in analys_param()
260 data_ptr += 1; in analys_param()
265 sync_obj.own_wifi_case = data[data_ptr]; in analys_param()
268 data_ptr += 1; in analys_param()
272 sync_obj.start_time = data[data_ptr]; in analys_param()
273 data_ptr += 1; in analys_param()
279 …sprintf(server_ip, "%d.%d.%d.%d", data[data_ptr], data[data_ptr + 1], data[data_ptr + 2], data[dat… in analys_param()
282 data_ptr += 4; in analys_param()
288 uint8_t length = data[data_ptr]; in analys_param()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/hci/ble_adv_scan_combined/main/
Dapp_bt.c228 uint16_t data_ptr; in hci_evt_process() local
236 data_ptr = 0; in hci_evt_process()
240 hci_event_opcode = queue_data[++data_ptr]; in hci_evt_process()
243 data_ptr += 2; in hci_evt_process()
244 sub_event = queue_data[data_ptr++]; in hci_evt_process()
251 num_responses = queue_data[data_ptr++]; in hci_evt_process()
258 event_type[i] = queue_data[data_ptr++]; in hci_evt_process()
268 addr_type[i] = queue_data[data_ptr++]; in hci_evt_process()
281 addr[(6 * i) + j] = queue_data[data_ptr++]; in hci_evt_process()
292 data_len[i] = queue_data[data_ptr]; in hci_evt_process()
[all …]
/hal_espressif-3.6.0/components/tcp_transport/
Dtransport_ws.c373 char *data_ptr = ws_header, mask; in ws_read_header() local
384 if ((rlen = esp_transport_read(ws->parent, data_ptr, header, timeout_ms)) <= 0) { in ws_read_header()
389 ws->frame_state.opcode = (*data_ptr & 0x0F); in ws_read_header()
390 data_ptr ++; in ws_read_header()
391 mask = ((*data_ptr >> 7) & 0x01); in ws_read_header()
392 payload_len = (*data_ptr & 0x7F); in ws_read_header()
393 data_ptr++; in ws_read_header()
397 if ((rlen = esp_transport_read(ws->parent, data_ptr, header, timeout_ms)) <= 0) { in ws_read_header()
401 payload_len = data_ptr[0] << 8 | data_ptr[1]; in ws_read_header()
405 if ((rlen = esp_transport_read(ws->parent, data_ptr, header, timeout_ms)) <= 0) { in ws_read_header()
[all …]
/hal_espressif-3.6.0/examples/protocols/websocket/main/
Dwebsocket_example.c73 … ESP_LOGW(TAG, "Received closed message with code=%d", 256*data->data_ptr[0] + data->data_ptr[1]); in websocket_event_handler()
75 ESP_LOGW(TAG, "Received=%.*s", data->data_len, (char *)data->data_ptr); in websocket_event_handler()
/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c175 static esp_err_t mbc_serial_master_send_request(mb_param_request_t* request, void* data_ptr) in mbc_serial_master_send_request() argument
183 MB_MASTER_CHECK((data_ptr != NULL), in mbc_serial_master_send_request()
195 mbm_opts->mbm_reg_buffer_ptr = (uint8_t*)data_ptr; in mbc_serial_master_send_request()
207 *(USHORT*)data_ptr, (LONG)MB_RESPONSE_TICS ); in mbc_serial_master_send_request()
211 … (USHORT)mb_size, (UCHAR*)data_ptr, (LONG)MB_RESPONSE_TICS); in mbc_serial_master_send_request()
223 … *(USHORT*)data_ptr, (LONG)MB_RESPONSE_TICS ); in mbc_serial_master_send_request()
229 … (USHORT*)data_ptr, (LONG)MB_RESPONSE_TICS ); in mbc_serial_master_send_request()
233 … (USHORT)mb_size, (USHORT*)data_ptr, in mbc_serial_master_send_request()
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c261 static esp_err_t mbc_tcp_master_send_request(mb_param_request_t* request, void* data_ptr) in mbc_tcp_master_send_request() argument
266 MB_MASTER_CHECK((data_ptr != NULL), ESP_ERR_INVALID_ARG, "mb incorrect data pointer."); in mbc_tcp_master_send_request()
277 mbm_opts->mbm_reg_buffer_ptr = (uint8_t*)data_ptr; in mbc_tcp_master_send_request()
289 *(USHORT *)data_ptr, (LONG)MB_RESPONSE_TIMEOUT); in mbc_tcp_master_send_request()
293 (USHORT)mb_size, (UCHAR *)data_ptr, in mbc_tcp_master_send_request()
306 *(USHORT *)data_ptr, (LONG)MB_RESPONSE_TIMEOUT); in mbc_tcp_master_send_request()
312 … (USHORT *)data_ptr, (LONG)MB_RESPONSE_TIMEOUT); in mbc_tcp_master_send_request()
316 (USHORT)mb_size, (USHORT *)data_ptr, in mbc_tcp_master_send_request()
/hal_espressif-3.6.0/components/driver/
Di2s.c2034 char *data_ptr, *src_byte; in i2s_write() local
2052 data_ptr = (char *)p_i2s[i2s_num]->tx->curr_ptr; in i2s_write()
2053 data_ptr += p_i2s[i2s_num]->tx->rw_pos; in i2s_write()
2058 memcpy(data_ptr, src_byte, bytes_can_write); in i2s_write()
2093 char *data_ptr; in i2s_write_expand() local
2131 data_ptr = (char *)p_i2s[i2s_num]->tx->curr_ptr; in i2s_write_expand()
2132 data_ptr += p_i2s[i2s_num]->tx->rw_pos; in i2s_write_expand()
2140 memset(data_ptr, 0, bytes_can_write); in i2s_write_expand()
2143 memcpy(&data_ptr[j], (const char *)(src + *bytes_written), aim_bytes - zero_bytes); in i2s_write_expand()
2169 char *data_ptr, *dest_byte; in i2s_read() local
[all …]
/hal_espressif-3.6.0/components/freemodbus/common/
Desp_modbus_master.c92 esp_err_t mbc_master_send_request(mb_param_request_t* request, void* data_ptr) in mbc_master_send_request() argument
101 error = master_interface_ptr->send_request(request, data_ptr); in mbc_master_send_request()
/hal_espressif-3.6.0/components/mdns/
Dmdns.c3181 const uint8_t * data_ptr = content + MDNS_DATA_OFFSET; in mdns_parse_packet() local
3184 content = data_ptr + data_len; in mdns_parse_packet()
3222 if (!_mdns_parse_fqdn(data, data_ptr, name)) { in mdns_parse_packet()
3262 if (!_mdns_parse_fqdn(data, data_ptr + MDNS_SRV_FQDN_OFFSET, name)) { in mdns_parse_packet()
3265 uint16_t priority = _mdns_read_u16(data_ptr, MDNS_SRV_PRIORITY_OFFSET); in mdns_parse_packet()
3266 uint16_t weight = _mdns_read_u16(data_ptr, MDNS_SRV_WEIGHT_OFFSET); in mdns_parse_packet()
3267 uint16_t port = _mdns_read_u16(data_ptr, MDNS_SRV_PORT_OFFSET); in mdns_parse_packet()
3358 … _mdns_result_txt_create(data_ptr, data_len, &txt, &txt_value_len, &txt_count); in mdns_parse_packet()
3366 … _mdns_result_txt_create(data_ptr, data_len, &txt, &txt_value_len, &txt_count); in mdns_parse_packet()
3383 col = _mdns_check_txt_collision(service->service, data_ptr, data_len); in mdns_parse_packet()
[all …]
/hal_espressif-3.6.0/components/esp_websocket_client/include/
Desp_websocket_client.h52 const char *data_ptr; /*!< Data pointer */ member
/hal_espressif-3.6.0/components/freemodbus/common/include/
Desp_modbus_master.h211 esp_err_t mbc_master_send_request(mb_param_request_t* request, void* data_ptr);
/hal_espressif-3.6.0/components/esp_event/
Desp_event.c135 void* data_ptr = NULL; in handler_execute() local
139 data_ptr = post.data.ptr; in handler_execute()
141 data_ptr = &post.data.val; in handler_execute()
145 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, data_ptr); in handler_execute()
/hal_espressif-3.6.0/components/esp_hid/src/
Dbt_hidd.c645 uint8_t *data_ptr = NULL; in bt_hidd_cb() local
678 data_ptr = ((uint8_t *)p_cb_param) + sizeof(esp_hidd_event_data_t); in bt_hidd_cb()
679 *data_ptr++ = (uint8_t)param->get_report.buffer_size; in bt_hidd_cb()
680 *data_ptr++ = (uint8_t)(param->get_report.buffer_size >> 8); in bt_hidd_cb()
/hal_espressif-3.6.0/components/driver/test/
Dtest_spi_master.c869 uint8_t *data_ptr = buffer; in test_cmd_addr() local
870 uint16_t cmd_got = *(uint16_t *)data_ptr; in test_cmd_addr()
871 data_ptr += cmd_bits / 8; in test_cmd_addr()
876 uint64_t addr_got = *(uint64_t *)data_ptr; in test_cmd_addr()
877 data_ptr += 8; in test_cmd_addr()
880 addr_got |= (*data_ptr >> (8 - remain_bits)); in test_cmd_addr()
/hal_espressif-3.6.0/components/esp_websocket_client/
Desp_websocket_client.c142 event_data.data_ptr = data; in esp_websocket_client_dispatch_event()