/hal_espressif-3.5.0/components/bt/host/bluedroid/api/ |
D | esp_hf_ag_api.c | 61 btc_hf_args_t arg; in esp_bt_hf_init() local 62 memset(&arg, 0, sizeof(btc_hf_args_t)); in esp_bt_hf_init() 63 memcpy(&(arg.init), remote_addr, sizeof(esp_bd_addr_t)); in esp_bt_hf_init() 66 bt_status_t status = btc_transfer_context(&msg, &arg, sizeof(btc_hf_args_t), NULL); in esp_bt_hf_init() 80 btc_hf_args_t arg; in esp_bt_hf_deinit() local 81 memset(&arg, 0, sizeof(btc_hf_args_t)); in esp_bt_hf_deinit() 82 memcpy(&(arg.deinit), remote_addr, sizeof(esp_bd_addr_t)); in esp_bt_hf_deinit() 85 bt_status_t status = btc_transfer_context(&msg, &arg, sizeof(btc_hf_args_t), NULL); in esp_bt_hf_deinit() 99 btc_hf_args_t arg; in esp_bt_hf_connect() local 100 memset(&arg, 0, sizeof(btc_hf_args_t)); in esp_bt_hf_connect() [all …]
|
D | esp_gatts_api.c | 35 btc_ble_gatts_args_t arg; in esp_ble_gatts_app_register() local 47 arg.app_reg.app_id = app_id; in esp_ble_gatts_app_register() 49 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gatts_args_t), NULL) == BT_STATUS_SUCCESS … in esp_ble_gatts_app_register() 56 btc_ble_gatts_args_t arg; in esp_ble_gatts_app_unregister() local 63 arg.app_unreg.gatts_if = gatts_if; in esp_ble_gatts_app_unregister() 65 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gatts_args_t), NULL) == BT_STATUS_SUCCESS … in esp_ble_gatts_app_unregister() 72 btc_ble_gatts_args_t arg; in esp_ble_gatts_create_service() local 79 arg.create_srvc.gatts_if = gatts_if; in esp_ble_gatts_create_service() 80 arg.create_srvc.num_handle = num_handle; in esp_ble_gatts_create_service() 81 memcpy(&arg.create_srvc.service_id, service_id, sizeof(esp_gatt_srvc_id_t)); in esp_ble_gatts_create_service() [all …]
|
D | esp_gap_ble_api.c | 37 btc_ble_gap_args_t arg; in esp_ble_gap_config_adv_data() local 52 memcpy(&arg.cfg_adv_data.adv_data, adv_data, sizeof(esp_ble_adv_data_t)); in esp_ble_gap_config_adv_data() 54 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), btc_gap_ble_arg_deep_copy) ==… in esp_ble_gap_config_adv_data() 62 btc_ble_gap_args_t arg; in esp_ble_gap_set_scan_params() local 73 memcpy(&arg.set_scan_param.scan_params, scan_params, sizeof(esp_ble_scan_params_t)); in esp_ble_gap_set_scan_params() 75 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), NULL) == BT_STATUS_SUCCESS ? … in esp_ble_gap_set_scan_params() 81 btc_ble_gap_args_t arg; in esp_ble_gap_start_scanning() local 88 arg.start_scan.duration = duration; in esp_ble_gap_start_scanning() 90 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), NULL) == BT_STATUS_SUCCESS ? … in esp_ble_gap_start_scanning() 109 btc_ble_gap_args_t arg; in esp_ble_gap_start_advertising() local [all …]
|
D | esp_gattc_api.c | 35 btc_ble_gattc_args_t arg; in esp_ble_gattc_app_register() local 46 arg.app_reg.app_id = app_id; in esp_ble_gattc_app_register() 48 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gattc_args_t), NULL) == BT_STATUS_SUCCESS … in esp_ble_gattc_app_register() 54 btc_ble_gattc_args_t arg; in esp_ble_gattc_app_unregister() local 61 arg.app_unreg.gattc_if = gattc_if; in esp_ble_gattc_app_unregister() 63 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gattc_args_t), NULL) == BT_STATUS_SUCCESS … in esp_ble_gattc_app_unregister() 69 btc_ble_gattc_args_t arg; in esp_ble_gattc_open() local 76 arg.open.gattc_if = gattc_if; in esp_ble_gattc_open() 77 memcpy(arg.open.remote_bda, remote_bda, ESP_BD_ADDR_LEN); in esp_ble_gattc_open() 78 arg.open.remote_addr_type = remote_addr_type; in esp_ble_gattc_open() [all …]
|
D | esp_gap_bt_api.c | 44 btc_gap_bt_args_t arg; in esp_bt_gap_set_scan_mode() local 53 arg.set_scan_mode.c_mode = c_mode; in esp_bt_gap_set_scan_mode() 54 arg.set_scan_mode.d_mode = d_mode; in esp_bt_gap_set_scan_mode() 56 …return (btc_transfer_context(&msg, &arg, sizeof(btc_gap_bt_args_t), NULL) == BT_STATUS_SUCCESS ? E… in esp_bt_gap_set_scan_mode() 62 btc_gap_bt_args_t arg; in esp_bt_gap_start_discovery() local 82 arg.start_disc.mode = mode; in esp_bt_gap_start_discovery() 83 arg.start_disc.inq_len = inq_len; in esp_bt_gap_start_discovery() 84 arg.start_disc.num_rsps = num_rsps; in esp_bt_gap_start_discovery() 86 …return (btc_transfer_context(&msg, &arg, sizeof(btc_gap_bt_args_t), NULL) == BT_STATUS_SUCCESS ? E… in esp_bt_gap_start_discovery() 107 btc_gap_bt_args_t arg; in esp_bt_gap_get_remote_services() local [all …]
|
D | esp_hidh_api.c | 69 btc_hidh_args_t arg; in esp_bt_hid_host_connect() local 75 memcpy(arg.connect.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_connect() 77 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_hidh_args_t), NULL); in esp_bt_hid_host_connect() 85 btc_hidh_args_t arg; in esp_bt_hid_host_disconnect() local 91 memcpy(arg.disconnect.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_disconnect() 93 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_hidh_args_t), NULL); in esp_bt_hid_host_disconnect() 101 btc_hidh_args_t arg; in esp_bt_hid_host_virtual_cable_unplug() local 107 memcpy(arg.unplug.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_virtual_cable_unplug() 109 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_hidh_args_t), NULL); in esp_bt_hid_host_virtual_cable_unplug() 117 btc_hidh_args_t arg; in esp_bt_hid_host_set_info() local [all …]
|
D | esp_spp_api.c | 46 btc_spp_args_t arg; in esp_spp_init() local 53 arg.init.mode = mode; in esp_spp_init() 54 …return (btc_transfer_context(&msg, &arg, sizeof(btc_spp_args_t), NULL) == BT_STATUS_SUCCESS ? ESP_… in esp_spp_init() 60 btc_spp_args_t arg; in esp_spp_deinit() local 67 …return (btc_transfer_context(&msg, &arg, sizeof(btc_spp_args_t), NULL) == BT_STATUS_SUCCESS ? ESP_… in esp_spp_deinit() 77 btc_spp_args_t arg; in esp_spp_start_discovery() local 84 memcpy(arg.start_discovery.bd_addr, bd_addr, ESP_BD_ADDR_LEN); in esp_spp_start_discovery() 85 arg.start_discovery.num_uuid = 1; in esp_spp_start_discovery() 86 arg.start_discovery.p_uuid_list = &sdp_uuid; in esp_spp_start_discovery() 88 …return (btc_transfer_context(&msg, &arg, sizeof(btc_spp_args_t), btc_spp_arg_deep_copy) == BT_STAT… in esp_spp_start_discovery() [all …]
|
D | esp_avrc_api.c | 88 btc_avrc_args_t arg; in esp_avrc_ct_send_set_player_value_cmd() local 89 memset(&arg, 0, sizeof(btc_avrc_args_t)); in esp_avrc_ct_send_set_player_value_cmd() 91 arg.ps_cmd.tl = tl; in esp_avrc_ct_send_set_player_value_cmd() 92 arg.ps_cmd.attr_id = attr_id; in esp_avrc_ct_send_set_player_value_cmd() 93 arg.ps_cmd.value_id = value_id; in esp_avrc_ct_send_set_player_value_cmd() 96 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_avrc_args_t), NULL); in esp_avrc_ct_send_set_player_value_cmd() 115 btc_avrc_args_t arg; in esp_avrc_ct_send_get_rn_capabilities_cmd() local 116 memset(&arg, 0, sizeof(btc_avrc_args_t)); in esp_avrc_ct_send_get_rn_capabilities_cmd() 118 arg.get_caps_cmd.tl = tl; in esp_avrc_ct_send_get_rn_capabilities_cmd() 121 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_avrc_args_t), NULL); in esp_avrc_ct_send_get_rn_capabilities_cmd() [all …]
|
D | esp_hf_client_api.c | 81 btc_hf_client_args_t arg; in esp_hf_client_connect() local 88 memset(&arg, 0, sizeof(btc_hf_client_args_t)); in esp_hf_client_connect() 91 memcpy(&(arg.connect), remote_bda, sizeof(bt_bdaddr_t)); in esp_hf_client_connect() 92 stat = btc_transfer_context(&msg, &arg, sizeof(btc_hf_client_args_t), NULL); in esp_hf_client_connect() 103 btc_hf_client_args_t arg; in esp_hf_client_disconnect() local 110 memset(&arg, 0, sizeof(btc_hf_client_args_t)); in esp_hf_client_disconnect() 113 memcpy(&(arg.disconnect), remote_bda, sizeof(bt_bdaddr_t)); in esp_hf_client_disconnect() 114 stat = btc_transfer_context(&msg, &arg, sizeof(btc_hf_client_args_t), NULL); in esp_hf_client_disconnect() 125 btc_hf_client_args_t arg; in esp_hf_client_connect_audio() local 132 memset(&arg, 0, sizeof(btc_hf_client_args_t)); in esp_hf_client_connect_audio() [all …]
|
D | esp_a2dp_api.c | 83 btc_av_args_t arg; in esp_a2d_sink_register_data_callback() local 84 memset(&arg, 0, sizeof(btc_av_args_t)); in esp_a2d_sink_register_data_callback() 85 arg.data_cb = callback; in esp_a2d_sink_register_data_callback() 88 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_av_args_t), NULL); in esp_a2d_sink_register_data_callback() 103 btc_av_args_t arg; in esp_a2d_sink_connect() local 110 memset(&arg, 0, sizeof(btc_av_args_t)); in esp_a2d_sink_connect() 113 memcpy(&(arg.connect), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_sink_connect() 114 stat = btc_transfer_context(&msg, &arg, sizeof(btc_av_args_t), NULL); in esp_a2d_sink_connect() 129 btc_av_args_t arg; in esp_a2d_sink_disconnect() local 137 memcpy(&(arg.disconn), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_sink_disconnect() [all …]
|
/hal_espressif-3.5.0/components/esp_phy/src/ |
D | lib_printf.c | 26 static int lib_printf(const char* tag, const char* format, va_list arg) in lib_printf() argument 29 int len = vsnprintf(temp, sizeof(temp) - 1, format, arg); in lib_printf() 41 va_end(arg); in lib_printf() 47 va_list arg; in phy_printf() local 48 va_start(arg, format); in phy_printf() 49 int res = lib_printf("phy", format, arg); in phy_printf() 50 va_end(arg); in phy_printf() 63 va_list arg; in wpa_printf() local 64 va_start(arg, format); in wpa_printf() 65 int res = lib_printf("wpa", format, arg); in wpa_printf() [all …]
|
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/api/core/ |
D | esp_ble_mesh_provisioning_api.c | 46 btc_ble_mesh_prov_args_t arg = {0}; in esp_ble_mesh_node_prov_enable() local 58 arg.node_prov_enable.bearers = bearers; in esp_ble_mesh_node_prov_enable() 60 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_prov_args_t), NULL) in esp_ble_mesh_node_prov_enable() 66 btc_ble_mesh_prov_args_t arg = {0}; in esp_ble_mesh_node_prov_disable() local 78 arg.node_prov_disable.bearers = bearers; in esp_ble_mesh_node_prov_disable() 80 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_prov_args_t), NULL) in esp_ble_mesh_node_prov_disable() 87 btc_ble_mesh_prov_args_t arg = {0}; in esp_ble_mesh_node_set_oob_pub_key() local 100 memcpy(arg.set_oob_pub_key.pub_key_x, pub_key_x, 32); in esp_ble_mesh_node_set_oob_pub_key() 101 memcpy(arg.set_oob_pub_key.pub_key_y, pub_key_y, 32); in esp_ble_mesh_node_set_oob_pub_key() 102 memcpy(arg.set_oob_pub_key.private_key, private_key, 32); in esp_ble_mesh_node_set_oob_pub_key() [all …]
|
D | esp_ble_mesh_networking_api.c | 25 btc_ble_mesh_model_args_t arg = {0}; in ble_mesh_model_send_msg() local 91 arg.model_publish.model = model; in ble_mesh_model_send_msg() 92 arg.model_publish.device_role = device_role; in ble_mesh_model_send_msg() 94 arg.model_send.model = model; in ble_mesh_model_send_msg() 95 arg.model_send.ctx = ctx; in ble_mesh_model_send_msg() 96 arg.model_send.need_rsp = need_rsp; in ble_mesh_model_send_msg() 97 arg.model_send.opcode = opcode; in ble_mesh_model_send_msg() 98 arg.model_send.length = op_len + length; in ble_mesh_model_send_msg() 99 arg.model_send.data = msg_data; in ble_mesh_model_send_msg() 100 arg.model_send.device_role = device_role; in ble_mesh_model_send_msg() [all …]
|
D | esp_ble_mesh_local_data_operation_api.c | 76 btc_ble_mesh_prov_args_t arg = {0}; in esp_ble_mesh_model_subscribe_group_addr() local 90 arg.model_sub_group_addr.element_addr = element_addr; in esp_ble_mesh_model_subscribe_group_addr() 91 arg.model_sub_group_addr.company_id = company_id; in esp_ble_mesh_model_subscribe_group_addr() 92 arg.model_sub_group_addr.model_id = model_id; in esp_ble_mesh_model_subscribe_group_addr() 93 arg.model_sub_group_addr.group_addr = group_addr; in esp_ble_mesh_model_subscribe_group_addr() 95 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_prov_args_t), NULL) in esp_ble_mesh_model_subscribe_group_addr() 102 btc_ble_mesh_prov_args_t arg = {0}; in esp_ble_mesh_model_unsubscribe_group_addr() local 116 arg.model_unsub_group_addr.element_addr = element_addr; in esp_ble_mesh_model_unsubscribe_group_addr() 117 arg.model_unsub_group_addr.company_id = company_id; in esp_ble_mesh_model_unsubscribe_group_addr() 118 arg.model_unsub_group_addr.model_id = model_id; in esp_ble_mesh_model_unsubscribe_group_addr() [all …]
|
D | esp_ble_mesh_proxy_api.c | 58 btc_ble_mesh_prov_args_t arg = {0}; in esp_ble_mesh_proxy_client_connect() local 71 memcpy(arg.proxy_client_connect.addr, addr, BD_ADDR_LEN); in esp_ble_mesh_proxy_client_connect() 72 arg.proxy_client_connect.addr_type = addr_type; in esp_ble_mesh_proxy_client_connect() 73 arg.proxy_client_connect.net_idx = net_idx; in esp_ble_mesh_proxy_client_connect() 75 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_prov_args_t), NULL) in esp_ble_mesh_proxy_client_connect() 81 btc_ble_mesh_prov_args_t arg = {0}; in esp_ble_mesh_proxy_client_disconnect() local 90 arg.proxy_client_disconnect.conn_handle = conn_handle; in esp_ble_mesh_proxy_client_disconnect() 92 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_prov_args_t), NULL) in esp_ble_mesh_proxy_client_disconnect() 99 btc_ble_mesh_prov_args_t arg = {0}; in esp_ble_mesh_proxy_client_set_filter_type() local 112 arg.proxy_client_set_filter_type.conn_handle = conn_handle; in esp_ble_mesh_proxy_client_set_filter_type() [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/btc/profile/std/gatt/ |
D | btc_gattc.c | 78 btc_ble_gattc_args_t *arg = (btc_ble_gattc_args_t *)msg->arg; in btc_gattc_arg_deep_free() local 82 if (arg->write_char.value) { in btc_gattc_arg_deep_free() 83 osi_free(arg->write_char.value); in btc_gattc_arg_deep_free() 88 if (arg->write_descr.value) { in btc_gattc_arg_deep_free() 89 osi_free(arg->write_descr.value); in btc_gattc_arg_deep_free() 94 if (arg->prep_write.value) { in btc_gattc_arg_deep_free() 95 osi_free(arg->prep_write.value); in btc_gattc_arg_deep_free() 100 if (arg->prep_write_descr.value) { in btc_gattc_arg_deep_free() 101 osi_free(arg->prep_write_descr.value); in btc_gattc_arg_deep_free() 157 tBTA_GATTC *arg = (tBTA_GATTC *)(msg->arg); in btc_gattc_free_req_data() local [all …]
|
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 125 btc_ble_mesh_prov_args_t *arg = NULL; in btc_ble_mesh_prov_arg_deep_free() local 127 if (!msg || !msg->arg) { in btc_ble_mesh_prov_arg_deep_free() 132 arg = (btc_ble_mesh_prov_args_t *)(msg->arg); in btc_ble_mesh_prov_arg_deep_free() 136 if (arg->proxy_client_add_filter_addr.addr) { in btc_ble_mesh_prov_arg_deep_free() 137 bt_mesh_free(arg->proxy_client_add_filter_addr.addr); in btc_ble_mesh_prov_arg_deep_free() 141 if (arg->proxy_client_remove_filter_addr.addr) { in btc_ble_mesh_prov_arg_deep_free() 142 bt_mesh_free(arg->proxy_client_remove_filter_addr.addr); in btc_ble_mesh_prov_arg_deep_free() 146 if (arg->store_node_comp_data.data) { in btc_ble_mesh_prov_arg_deep_free() 147 bt_mesh_free(arg->store_node_comp_data.data); in btc_ble_mesh_prov_arg_deep_free() 201 btc_ble_mesh_model_args_t *arg = NULL; in btc_ble_mesh_model_arg_deep_free() local [all …]
|
D | btc_ble_mesh_lighting_model.c | 80 btc_ble_mesh_lighting_client_args_t *arg = NULL; in btc_ble_mesh_lighting_client_arg_deep_free() local 82 if (!msg || !msg->arg) { in btc_ble_mesh_lighting_client_arg_deep_free() 87 arg = (btc_ble_mesh_lighting_client_args_t *)(msg->arg); in btc_ble_mesh_lighting_client_arg_deep_free() 91 if (arg->light_client_get_state.params) { in btc_ble_mesh_lighting_client_arg_deep_free() 92 bt_mesh_free(arg->light_client_get_state.params); in btc_ble_mesh_lighting_client_arg_deep_free() 94 if (arg->light_client_get_state.get_state) { in btc_ble_mesh_lighting_client_arg_deep_free() 95 bt_mesh_free(arg->light_client_get_state.get_state); in btc_ble_mesh_lighting_client_arg_deep_free() 99 if (arg->light_client_set_state.params) { in btc_ble_mesh_lighting_client_arg_deep_free() 100 bt_mesh_free(arg->light_client_set_state.params); in btc_ble_mesh_lighting_client_arg_deep_free() 102 if (arg->light_client_set_state.set_state) { in btc_ble_mesh_lighting_client_arg_deep_free() [all …]
|
/hal_espressif-3.5.0/components/app_trace/test/ |
D | test_trace.c | 136 static void esp_apptrace_test_timer_isr(void *arg) in esp_apptrace_test_timer_isr() argument 138 esp_apptrace_test_timer_arg_t *tim_arg = (esp_apptrace_test_timer_arg_t *)arg; in esp_apptrace_test_timer_isr() 158 static void esp_apptrace_test_timer_isr_crash(void *arg) in esp_apptrace_test_timer_isr_crash() argument 160 esp_apptrace_test_timer_arg_t *tim_arg = (esp_apptrace_test_timer_arg_t *)arg; in esp_apptrace_test_timer_isr_crash() 184 esp_apptrace_test_task_arg_t *arg = (esp_apptrace_test_task_arg_t *) p; in esp_apptrace_dummy_task() local 187 TickType_t tmo_ticks = arg->data.period / (1000 * portTICK_PERIOD_MS); in esp_apptrace_dummy_task() 189 …mmy task (period %u us, %u timers)", xTaskGetCurrentTaskHandle(), arg->data.period, arg->timers_nu… in esp_apptrace_dummy_task() 191 if (arg->timers_num > 0) { in esp_apptrace_dummy_task() 192 inth = pvPortMalloc(arg->timers_num * sizeof(timer_isr_handle_t)); in esp_apptrace_dummy_task() 197 memset(inth, 0, arg->timers_num * sizeof(timer_isr_handle_t)); in esp_apptrace_dummy_task() [all …]
|
/hal_espressif-3.5.0/examples/system/ipc/ipc_isr/main/ |
D | main.c | 30 void get_ps_other_cpu(void* arg); 31 void extended_ipc_isr_asm(void* arg); 44 arg_data_t arg = { 0 }; in app_main() local 45 arg.in[0] = 0x01; in app_main() 46 arg.in[1] = 0x02; in app_main() 47 arg.in[2] = 0x03; in app_main() 48 ESP_LOGI(TAG, "in[0] = 0x%x", arg.in[0]); in app_main() 49 ESP_LOGI(TAG, "in[1] = 0x%x", arg.in[1]); in app_main() 50 ESP_LOGI(TAG, "in[2] = 0x%x", arg.in[2]); in app_main() 51 esp_ipc_isr_asm_call_blocking(extended_ipc_isr_asm, (void*)&arg); in app_main() [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/btc/profile/std/gap/ |
D | btc_gap_bt.c | 87 static void btc_gap_bt_start_discovery(btc_gap_bt_args_t *arg) in btc_gap_bt_start_discovery() argument 94 inq_params.mode = (arg->start_disc.mode == ESP_BT_INQ_MODE_GENERAL_INQUIRY) ? in btc_gap_bt_start_discovery() 96 inq_params.duration = arg->start_disc.inq_len; in btc_gap_bt_start_discovery() 97 inq_params.max_resps = arg->start_disc.num_rsps; in btc_gap_bt_start_discovery() 122 static void btc_gap_bt_get_remote_service_record(btc_gap_bt_args_t *arg) in btc_gap_bt_get_remote_service_record() argument 124 esp_bt_uuid_t *uuid = &arg->get_rmt_srv_rcd.uuid; in btc_gap_bt_get_remote_service_record() 125 bt_bdaddr_t *remote_bda = &arg->get_rmt_srv_rcd.bda; in btc_gap_bt_get_remote_service_record() 592 static void btc_gap_bt_set_cod(btc_gap_bt_args_t *arg) in btc_gap_bt_set_cod() argument 595 esp_bt_cod_t *cod = &(arg->set_cod.cod); in btc_gap_bt_set_cod() 599 bool ret = utl_set_device_class(&p_cod, arg->set_cod.mode); in btc_gap_bt_set_cod() [all …]
|
/hal_espressif-3.5.0/components/esp_serial_slave_link/ |
D | essl_sdio.c | 77 esp_err_t essl_sdio_update_tx_buffer_num(void *arg, uint32_t wait_ms); 78 esp_err_t essl_sdio_update_rx_data_size(void *arg, uint32_t wait_ms); 103 essl_sdio_context_t* arg = NULL; in essl_sdio_init_dev() local 105 …arg = (essl_sdio_context_t*)heap_caps_malloc(sizeof(essl_sdio_context_t), MALLOC_CAP_INTERNAL | MA… in essl_sdio_init_dev() 108 if (arg == NULL || dev == NULL) { in essl_sdio_init_dev() 114 dev->args = arg; in essl_sdio_init_dev() 116 *arg = (essl_sdio_context_t) { in essl_sdio_init_dev() 128 free(arg); in essl_sdio_init_dev() 140 esp_err_t essl_sdio_init(void *arg, uint32_t wait_ms) in essl_sdio_init() argument 142 essl_sdio_context_t* ctx = arg; in essl_sdio_init() [all …]
|
/hal_espressif-3.5.0/components/esp_serial_slave_link/include/esp_serial_slave_link/ |
D | essl_sdio.h | 64 esp_err_t essl_sdio_init(void *arg, uint32_t wait_ms); 76 esp_err_t essl_sdio_wait_for_ready(void *arg, uint32_t wait_ms); 87 uint32_t essl_sdio_get_tx_buffer_num(void *arg); 97 uint32_t essl_sdio_get_rx_data_size(void *arg); 112 esp_err_t essl_sdio_send_packet(void *arg, const void *start, size_t length, uint32_t wait_ms); 127 esp_err_t essl_sdio_get_packet(void *arg, void *out_data, size_t size, uint32_t wait_ms); 140 esp_err_t essl_sdio_wait_int(void *arg, uint32_t wait_ms); 153 esp_err_t essl_sdio_clear_intr(void *arg, uint32_t intr_mask, uint32_t wait_ms); 168 esp_err_t essl_sdio_get_intr(void *arg, uint32_t *intr_raw, uint32_t *intr_st, uint32_t wait_ms); 181 esp_err_t essl_sdio_set_intr_ena(void *arg, uint32_t ena_mask, uint32_t wait_ms); [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/btc/profile/std/hf_ag/ |
D | btc_hf_ag.c | 1016 btc_hf_args_t *arg = (btc_hf_args_t *)msg->arg; in btc_hf_arg_deep_free() local 1021 if (arg->unat_rep.unat) { in btc_hf_arg_deep_free() 1022 osi_free(arg->unat_rep.unat); in btc_hf_arg_deep_free() 1029 if (arg->cops_rep.name) { in btc_hf_arg_deep_free() 1030 osi_free(arg->cops_rep.name); in btc_hf_arg_deep_free() 1037 if (arg->clcc_rep.number) { in btc_hf_arg_deep_free() 1038 osi_free(arg->clcc_rep.number); in btc_hf_arg_deep_free() 1045 if (arg->cnum_rep.number) { in btc_hf_arg_deep_free() 1046 osi_free(arg->cnum_rep.number); in btc_hf_arg_deep_free() 1056 if (arg->phone.number) { in btc_hf_arg_deep_free() [all …]
|
/hal_espressif-3.5.0/components/bt/common/api/ |
D | esp_blufi_api.c | 37 btc_blufi_args_t arg; in esp_blufi_send_wifi_conn_report() local 44 arg.wifi_conn_report.opmode = opmode; in esp_blufi_send_wifi_conn_report() 45 arg.wifi_conn_report.sta_conn_state = sta_conn_state; in esp_blufi_send_wifi_conn_report() 46 arg.wifi_conn_report.softap_conn_num = softap_conn_num; in esp_blufi_send_wifi_conn_report() 47 arg.wifi_conn_report.extra_info = extra_info; in esp_blufi_send_wifi_conn_report() 49 …return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy) == BT… in esp_blufi_send_wifi_conn_report() 55 btc_blufi_args_t arg; in esp_blufi_send_wifi_list() local 62 arg.wifi_list.apCount = apCount; in esp_blufi_send_wifi_list() 63 arg.wifi_list.list = list; in esp_blufi_send_wifi_list() 65 …return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy) == BT… in esp_blufi_send_wifi_list() [all …]
|