/hal_espressif-latest/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() 57 va_list arg; in rtc_printf() local 58 va_start(arg, format); in rtc_printf() 59 int res = lib_printf("rtc", format, arg); in rtc_printf() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/api/ |
D | esp_hf_ag_api.c | 83 btc_hf_args_t arg; in esp_hf_ag_slc_connect() local 84 memset(&arg, 0, sizeof(btc_hf_args_t)); in esp_hf_ag_slc_connect() 85 memcpy(&(arg.connect), remote_addr, sizeof(esp_bd_addr_t)); in esp_hf_ag_slc_connect() 88 bt_status_t status = btc_transfer_context(&msg, &arg, sizeof(btc_hf_args_t), NULL, NULL); in esp_hf_ag_slc_connect() 102 btc_hf_args_t arg; in esp_hf_ag_slc_disconnect() local 103 memset(&arg, 0, sizeof(btc_hf_args_t)); in esp_hf_ag_slc_disconnect() 104 memcpy(&(arg.disconnect), remote_addr, sizeof(esp_bd_addr_t)); in esp_hf_ag_slc_disconnect() 107 bt_status_t status = btc_transfer_context(&msg, &arg, sizeof(btc_hf_args_t), NULL, NULL); in esp_hf_ag_slc_disconnect() 121 btc_hf_args_t arg; in esp_hf_ag_audio_connect() local 122 memset(&arg, 0, sizeof(btc_hf_args_t)); in esp_hf_ag_audio_connect() [all …]
|
D | esp_gatts_api.c | 40 btc_ble_gatts_args_t arg; in esp_ble_gatts_app_register() local 52 arg.app_reg.app_id = app_id; in esp_ble_gatts_app_register() 54 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gatts_args_t), NULL, NULL) == BT_STATUS_SU… in esp_ble_gatts_app_register() 61 btc_ble_gatts_args_t arg; in esp_ble_gatts_app_unregister() local 68 arg.app_unreg.gatts_if = gatts_if; in esp_ble_gatts_app_unregister() 70 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gatts_args_t), NULL, NULL) == BT_STATUS_SU… in esp_ble_gatts_app_unregister() 77 btc_ble_gatts_args_t arg; in esp_ble_gatts_create_service() local 84 arg.create_srvc.gatts_if = gatts_if; in esp_ble_gatts_create_service() 85 arg.create_srvc.num_handle = num_handle; in esp_ble_gatts_create_service() 86 memcpy(&arg.create_srvc.service_id, service_id, sizeof(esp_gatt_srvc_id_t)); in esp_ble_gatts_create_service() [all …]
|
D | esp_gap_bt_api.c | 36 btc_gap_bt_args_t arg; in esp_bt_gap_set_scan_mode() local 45 arg.set_scan_mode.c_mode = c_mode; in esp_bt_gap_set_scan_mode() 46 arg.set_scan_mode.d_mode = d_mode; in esp_bt_gap_set_scan_mode() 48 …return (btc_transfer_context(&msg, &arg, sizeof(btc_gap_bt_args_t), NULL, NULL) == BT_STATUS_SUCCE… in esp_bt_gap_set_scan_mode() 54 btc_gap_bt_args_t arg; in esp_bt_gap_start_discovery() local 74 arg.start_disc.mode = mode; in esp_bt_gap_start_discovery() 75 arg.start_disc.inq_len = inq_len; in esp_bt_gap_start_discovery() 76 arg.start_disc.num_rsps = num_rsps; in esp_bt_gap_start_discovery() 78 …return (btc_transfer_context(&msg, &arg, sizeof(btc_gap_bt_args_t), NULL, NULL) == BT_STATUS_SUCCE… in esp_bt_gap_start_discovery() 99 btc_gap_bt_args_t arg; in esp_bt_gap_get_remote_services() local [all …]
|
D | esp_gap_ble_api.c | 34 btc_ble_gap_args_t arg; in esp_ble_gap_config_adv_data() local 49 memcpy(&arg.cfg_adv_data.adv_data, adv_data, sizeof(esp_ble_adv_data_t)); in esp_ble_gap_config_adv_data() 51 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() 59 btc_ble_gap_args_t arg; in esp_ble_gap_set_scan_params() local 70 memcpy(&arg.set_scan_param.scan_params, scan_params, sizeof(esp_ble_scan_params_t)); in esp_ble_gap_set_scan_params() 72 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), NULL, NULL) == BT_STATUS_SUCC… in esp_ble_gap_set_scan_params() 78 btc_ble_gap_args_t arg; in esp_ble_gap_start_scanning() local 85 arg.start_scan.duration = duration; in esp_ble_gap_start_scanning() 87 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gap_args_t), NULL, NULL) == BT_STATUS_SUCC… in esp_ble_gap_start_scanning() 106 btc_ble_gap_args_t arg; in esp_ble_gap_start_advertising() local [all …]
|
D | esp_hidh_api.c | 62 btc_hidh_args_t arg; in esp_bt_hid_host_connect() local 68 memcpy(arg.connect.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_connect() 70 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_hidh_args_t), NULL, NULL); in esp_bt_hid_host_connect() 78 btc_hidh_args_t arg; in esp_bt_hid_host_disconnect() local 84 memcpy(arg.disconnect.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_disconnect() 86 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_hidh_args_t), NULL, NULL); in esp_bt_hid_host_disconnect() 94 btc_hidh_args_t arg; in esp_bt_hid_host_virtual_cable_unplug() local 100 memcpy(arg.unplug.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_virtual_cable_unplug() 102 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_hidh_args_t), NULL, NULL); in esp_bt_hid_host_virtual_cable_unplug() 110 btc_hidh_args_t arg; in esp_bt_hid_host_set_info() local [all …]
|
D | esp_spp_api.c | 50 btc_spp_args_t arg; in esp_spp_enhanced_init() local 63 arg.init.mode = cfg->mode; in esp_spp_enhanced_init() 64 arg.init.enable_l2cap_ertm = cfg->enable_l2cap_ertm; in esp_spp_enhanced_init() 65 arg.init.tx_buffer_size = cfg->tx_buffer_size; in esp_spp_enhanced_init() 67 …return (btc_transfer_context(&msg, &arg, sizeof(btc_spp_args_t), NULL, NULL) == BT_STATUS_SUCCESS … in esp_spp_enhanced_init() 73 btc_spp_args_t arg; in esp_spp_deinit() local 80 …return (btc_transfer_context(&msg, &arg, sizeof(btc_spp_args_t), NULL, NULL) == BT_STATUS_SUCCESS … in esp_spp_deinit() 90 btc_spp_args_t arg; in esp_spp_start_discovery() local 97 memcpy(arg.start_discovery.bd_addr, bd_addr, ESP_BD_ADDR_LEN); in esp_spp_start_discovery() 98 arg.start_discovery.num_uuid = 1; in esp_spp_start_discovery() [all …]
|
D | esp_gattc_api.c | 40 btc_ble_gattc_args_t arg; in esp_ble_gattc_app_register() local 51 arg.app_reg.app_id = app_id; in esp_ble_gattc_app_register() 53 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gattc_args_t), NULL, NULL) == BT_STATUS_SU… in esp_ble_gattc_app_register() 59 btc_ble_gattc_args_t arg; in esp_ble_gattc_app_unregister() local 66 arg.app_unreg.gattc_if = gattc_if; in esp_ble_gattc_app_unregister() 68 …return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_gattc_args_t), NULL, NULL) == BT_STATUS_SU… in esp_ble_gattc_app_unregister() 74 btc_ble_gattc_args_t arg; in esp_ble_gattc_enh_open() local 86 arg.open.gattc_if = gattc_if; in esp_ble_gattc_enh_open() 87 memcpy(arg.open.remote_bda, creat_conn_params->remote_bda, ESP_BD_ADDR_LEN); in esp_ble_gattc_enh_open() 88 arg.open.remote_addr_type = creat_conn_params->remote_addr_type; in esp_ble_gattc_enh_open() [all …]
|
D | esp_hf_client_api.c | 73 btc_hf_client_args_t arg; in esp_hf_client_connect() local 80 memset(&arg, 0, sizeof(btc_hf_client_args_t)); in esp_hf_client_connect() 83 memcpy(&(arg.connect), remote_bda, sizeof(bt_bdaddr_t)); in esp_hf_client_connect() 84 stat = btc_transfer_context(&msg, &arg, sizeof(btc_hf_client_args_t), NULL, NULL); in esp_hf_client_connect() 95 btc_hf_client_args_t arg; in esp_hf_client_disconnect() local 102 memset(&arg, 0, sizeof(btc_hf_client_args_t)); in esp_hf_client_disconnect() 105 memcpy(&(arg.disconnect), remote_bda, sizeof(bt_bdaddr_t)); in esp_hf_client_disconnect() 106 stat = btc_transfer_context(&msg, &arg, sizeof(btc_hf_client_args_t), NULL, NULL); in esp_hf_client_disconnect() 117 btc_hf_client_args_t arg; in esp_hf_client_connect_audio() local 124 memset(&arg, 0, sizeof(btc_hf_client_args_t)); in esp_hf_client_connect_audio() [all …]
|
D | esp_avrc_api.c | 80 btc_avrc_args_t arg; in esp_avrc_ct_send_set_player_value_cmd() local 81 memset(&arg, 0, sizeof(btc_avrc_args_t)); in esp_avrc_ct_send_set_player_value_cmd() 83 arg.ps_cmd.tl = tl; in esp_avrc_ct_send_set_player_value_cmd() 84 arg.ps_cmd.attr_id = attr_id; in esp_avrc_ct_send_set_player_value_cmd() 85 arg.ps_cmd.value_id = value_id; in esp_avrc_ct_send_set_player_value_cmd() 88 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_avrc_args_t), NULL, NULL); in esp_avrc_ct_send_set_player_value_cmd() 107 btc_avrc_args_t arg; in esp_avrc_ct_send_get_rn_capabilities_cmd() local 108 memset(&arg, 0, sizeof(btc_avrc_args_t)); in esp_avrc_ct_send_get_rn_capabilities_cmd() 110 arg.get_caps_cmd.tl = tl; in esp_avrc_ct_send_get_rn_capabilities_cmd() 113 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_avrc_args_t), NULL, NULL); in esp_avrc_ct_send_get_rn_capabilities_cmd() [all …]
|
D | esp_a2dp_api.c | 75 btc_av_args_t arg; in esp_a2d_sink_register_data_callback() local 76 memset(&arg, 0, sizeof(btc_av_args_t)); in esp_a2d_sink_register_data_callback() 77 arg.data_cb = callback; in esp_a2d_sink_register_data_callback() 80 bt_status_t stat = btc_transfer_context(&msg, &arg, sizeof(btc_av_args_t), NULL, NULL); in esp_a2d_sink_register_data_callback() 95 btc_av_args_t arg; in esp_a2d_sink_connect() local 102 memset(&arg, 0, sizeof(btc_av_args_t)); in esp_a2d_sink_connect() 105 memcpy(&(arg.connect), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_sink_connect() 106 stat = btc_transfer_context(&msg, &arg, sizeof(btc_av_args_t), NULL, NULL); in esp_a2d_sink_connect() 121 btc_av_args_t arg; in esp_a2d_sink_disconnect() local 129 memcpy(&(arg.disconn), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_sink_disconnect() [all …]
|
D | esp_l2cap_bt_api.c | 57 btc_l2cap_args_t arg; in esp_bt_l2cap_connect() local 64 arg.connect.sec_mask = (cntl_flag & 0xffff); in esp_bt_l2cap_connect() 65 arg.connect.remote_psm = remote_psm; in esp_bt_l2cap_connect() 66 memcpy(arg.connect.peer_bd_addr, peer_bd_addr, ESP_BD_ADDR_LEN); in esp_bt_l2cap_connect() 68 …return (btc_transfer_context(&msg, &arg, sizeof(btc_l2cap_args_t), NULL, NULL) == BT_STATUS_SUCCES… in esp_bt_l2cap_connect() 74 btc_l2cap_args_t arg; in esp_bt_l2cap_start_srv() local 81 arg.start_srv.sec_mask = (cntl_flag & 0xffff); in esp_bt_l2cap_start_srv() 82 arg.start_srv.local_psm = local_psm; in esp_bt_l2cap_start_srv() 84 …return (btc_transfer_context(&msg, &arg, sizeof(btc_l2cap_args_t), NULL, NULL) == BT_STATUS_SUCCES… in esp_bt_l2cap_start_srv() 90 btc_l2cap_args_t arg; in esp_bt_l2cap_stop_all_srv() local [all …]
|
D | esp_sdp_api.c | 86 btc_sdp_args_t arg; in esp_sdp_search_record() local 92 memset(&arg, 0, sizeof(btc_sdp_args_t)); in esp_sdp_search_record() 93 memcpy(arg.search.bd_addr, bd_addr, ESP_BD_ADDR_LEN); in esp_sdp_search_record() 94 arg.search.sdp_uuid.len = uuid.len; in esp_sdp_search_record() 95 memcpy(&arg.search.sdp_uuid.uu, &uuid.uuid, sizeof(uuid.uuid)); in esp_sdp_search_record() 98 stat = btc_transfer_context(&msg, &arg, sizeof(btc_sdp_args_t), NULL, NULL); in esp_sdp_search_record() 112 btc_sdp_args_t arg; in esp_sdp_create_record() local 118 memset(&arg, 0, sizeof(btc_sdp_args_t)); in esp_sdp_create_record() 119 arg.create_record.record = (bluetooth_sdp_record *)record; in esp_sdp_create_record() 122 stat = btc_transfer_context(&msg, &arg, sizeof(btc_sdp_args_t), in esp_sdp_create_record() [all …]
|
/hal_espressif-latest/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, 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, 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, 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, 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, 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 …]
|
D | esp_ble_mesh_ble_api.c | 28 btc_ble_mesh_ble_args_t arg = {0}; in esp_ble_mesh_start_ble_advertising() local 41 memcpy(&arg.start_ble_adv.param, param, sizeof(esp_ble_mesh_ble_adv_param_t)); in esp_ble_mesh_start_ble_advertising() 43 memcpy(&arg.start_ble_adv.data, data, sizeof(esp_ble_mesh_ble_adv_data_t)); in esp_ble_mesh_start_ble_advertising() 46 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_ble_args_t), NULL, NULL) in esp_ble_mesh_start_ble_advertising() 52 btc_ble_mesh_ble_args_t arg = {0}; in esp_ble_mesh_stop_ble_advertising() local 65 arg.stop_ble_adv.index = index; in esp_ble_mesh_stop_ble_advertising() 67 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_ble_args_t), NULL, NULL) in esp_ble_mesh_stop_ble_advertising() 75 btc_ble_mesh_ble_args_t arg = {0}; in esp_ble_mesh_start_ble_scanning() local 84 return (btc_transfer_context(&msg, &arg, sizeof(btc_ble_mesh_ble_args_t), NULL, NULL) in esp_ble_mesh_start_ble_scanning() 90 btc_ble_mesh_ble_args_t arg = {0}; in esp_ble_mesh_stop_ble_scanning() local [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gatt/ |
D | btc_gattc.c | 80 btc_ble_gattc_args_t *arg = (btc_ble_gattc_args_t *)msg->arg; in btc_gattc_arg_deep_free() local 84 if (arg->write_char.value) { in btc_gattc_arg_deep_free() 85 osi_free(arg->write_char.value); in btc_gattc_arg_deep_free() 90 if (arg->write_descr.value) { in btc_gattc_arg_deep_free() 91 osi_free(arg->write_descr.value); in btc_gattc_arg_deep_free() 96 if (arg->prep_write.value) { in btc_gattc_arg_deep_free() 97 osi_free(arg->prep_write.value); in btc_gattc_arg_deep_free() 102 if (arg->prep_write_descr.value) { in btc_gattc_arg_deep_free() 103 osi_free(arg->prep_write_descr.value); in btc_gattc_arg_deep_free() 160 tBTA_GATTC *arg = (tBTA_GATTC *)(msg->arg); in btc_gattc_free_req_data() local [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 150 btc_ble_mesh_prov_args_t *arg = NULL; in btc_ble_mesh_prov_arg_deep_free() local 157 arg = (btc_ble_mesh_prov_args_t *)(msg->arg); in btc_ble_mesh_prov_arg_deep_free() 161 if (arg->proxy_client_add_filter_addr.addr) { in btc_ble_mesh_prov_arg_deep_free() 162 bt_mesh_free(arg->proxy_client_add_filter_addr.addr); in btc_ble_mesh_prov_arg_deep_free() 166 if (arg->proxy_client_remove_filter_addr.addr) { in btc_ble_mesh_prov_arg_deep_free() 167 bt_mesh_free(arg->proxy_client_remove_filter_addr.addr); in btc_ble_mesh_prov_arg_deep_free() 171 if (arg->store_node_comp_data.data) { in btc_ble_mesh_prov_arg_deep_free() 172 bt_mesh_free(arg->store_node_comp_data.data); in btc_ble_mesh_prov_arg_deep_free() 226 btc_ble_mesh_model_args_t *arg = NULL; in btc_ble_mesh_model_arg_deep_free() local 233 arg = (btc_ble_mesh_model_args_t *)(msg->arg); in btc_ble_mesh_model_arg_deep_free() [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 …]
|
D | btc_ble_mesh_ble.c | 51 esp_ble_mesh_ble_cb_param_t *arg = NULL; in btc_ble_mesh_ble_free_req_data() local 58 arg = (esp_ble_mesh_ble_cb_param_t *)msg->arg; in btc_ble_mesh_ble_free_req_data() 62 if (arg->scan_ble_adv_pkt.data) { in btc_ble_mesh_ble_free_req_data() 63 bt_mesh_free(arg->scan_ble_adv_pkt.data); in btc_ble_mesh_ble_free_req_data() 117 btc_ble_mesh_ble_args_t *arg = NULL; in btc_ble_mesh_ble_call_handler() local 124 arg = (btc_ble_mesh_ble_args_t *)msg->arg; in btc_ble_mesh_ble_call_handler() 129 … struct bt_mesh_ble_adv_param *set = (struct bt_mesh_ble_adv_param *)&arg->start_ble_adv.param; in btc_ble_mesh_ble_call_handler() 131 if (arg->start_ble_adv.data.adv_data_len || arg->start_ble_adv.data.scan_rsp_data_len) { in btc_ble_mesh_ble_call_handler() 132 data = (struct bt_mesh_ble_adv_data *)&arg->start_ble_adv.data; in btc_ble_mesh_ble_call_handler() 142 param.stop_ble_advertising_comp.index = arg->stop_ble_adv.index; in btc_ble_mesh_ble_call_handler() [all …]
|
/hal_espressif-latest/components/bt/common/api/ |
D | esp_blufi_api.c | 29 btc_blufi_args_t arg; in esp_blufi_send_wifi_conn_report() local 36 arg.wifi_conn_report.opmode = opmode; in esp_blufi_send_wifi_conn_report() 37 arg.wifi_conn_report.sta_conn_state = sta_conn_state; in esp_blufi_send_wifi_conn_report() 38 arg.wifi_conn_report.softap_conn_num = softap_conn_num; in esp_blufi_send_wifi_conn_report() 39 arg.wifi_conn_report.extra_info = extra_info; in esp_blufi_send_wifi_conn_report() 41 return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy, in esp_blufi_send_wifi_conn_report() 48 btc_blufi_args_t arg; in esp_blufi_send_wifi_list() local 55 arg.wifi_list.apCount = apCount; in esp_blufi_send_wifi_list() 56 arg.wifi_list.list = list; in esp_blufi_send_wifi_list() 58 return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy, in esp_blufi_send_wifi_list() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gap/ |
D | btc_gap_bt.c | 79 static void btc_gap_bt_start_discovery(btc_gap_bt_args_t *arg) in btc_gap_bt_start_discovery() argument 86 inq_params.mode = (arg->start_disc.mode == ESP_BT_INQ_MODE_GENERAL_INQUIRY) ? in btc_gap_bt_start_discovery() 88 inq_params.duration = arg->start_disc.inq_len; in btc_gap_bt_start_discovery() 89 inq_params.max_resps = arg->start_disc.num_rsps; in btc_gap_bt_start_discovery() 114 static void btc_gap_bt_get_remote_service_record(btc_gap_bt_args_t *arg) in btc_gap_bt_get_remote_service_record() argument 116 esp_bt_uuid_t *uuid = &arg->get_rmt_srv_rcd.uuid; in btc_gap_bt_get_remote_service_record() 117 bt_bdaddr_t *remote_bda = &arg->get_rmt_srv_rcd.bda; in btc_gap_bt_get_remote_service_record() 584 static void btc_gap_bt_set_cod(btc_gap_bt_args_t *arg) in btc_gap_bt_set_cod() argument 587 esp_bt_cod_t *cod = &(arg->set_cod.cod); in btc_gap_bt_set_cod() 592 bool ret = utl_set_device_class(&p_cod, arg->set_cod.mode); in btc_gap_bt_set_cod() [all …]
|
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/ |
D | ets_sys.h | 67 typedef void (* ets_idle_cb_t)(void *arg); /**< Type of the system idle callback*/ 399 void ets_isr_attach(int i, ets_isr_t func, void *arg); 496 #define ETS_WMAC_INTR_ATTACH(func, arg) \ argument 497 ETS_ISR_ATTACH(ETS_WMAC_INUM, (func), (void *)(arg)) 499 #define ETS_TG0_T0_INTR_ATTACH(func, arg) \ argument 500 ETS_ISR_ATTACH(ETS_TG0_T0_INUM, (func), (void *)(arg)) 502 #define ETS_GPIO_INTR_ATTACH(func, arg) \ argument 503 ETS_ISR_ATTACH(ETS_GPIO_INUM, (func), (void *)(arg)) 505 #define ETS_UART0_INTR_ATTACH(func, arg) \ argument 506 ETS_ISR_ATTACH(ETS_UART0_INUM, (func), (void *)(arg)) [all …]
|