Lines Matching refs:btif_cb

822     btif_gattc_cb_t btif_cb;  in bta_gattc_multi_adv_cback()  local
837 btif_cb.status = call_status; in bta_gattc_multi_adv_cback()
838 btif_cb.client_if = client_if; in bta_gattc_multi_adv_cback()
839 btif_cb.inst_id = inst_id; in bta_gattc_multi_adv_cback()
864 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in bta_gattc_multi_adv_cback()
871 btif_gattc_cb_t btif_cb; in bta_gattc_set_adv_data_cback() local
872 btif_cb.status = call_status; in bta_gattc_set_adv_data_cback()
873 btif_cb.action = 0; in bta_gattc_set_adv_data_cback()
875 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in bta_gattc_set_adv_data_cback()
974 btif_gattc_cb_t btif_cb; in bta_scan_results_cb() local
981 bdcpy(btif_cb.bd_addr.address, p_data->inq_res.bd_addr); in bta_scan_results_cb()
982 btif_cb.device_type = p_data->inq_res.device_type; in bta_scan_results_cb()
983 btif_cb.rssi = p_data->inq_res.rssi; in bta_scan_results_cb()
984 btif_cb.addr_type = p_data->inq_res.ble_addr_type; in bta_scan_results_cb()
985 btif_cb.flag = p_data->inq_res.flag; in bta_scan_results_cb()
988 memcpy(btif_cb.value, p_data->inq_res.p_eir, 62); in bta_scan_results_cb()
1010 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in bta_scan_results_cb()
1026 btif_gattc_cb_t btif_cb; in btm_read_rssi_cb() local
1028 bdcpy(btif_cb.bd_addr.address, p_result->rem_bda); in btm_read_rssi_cb()
1029 btif_cb.rssi = p_result->rssi; in btm_read_rssi_cb()
1030 btif_cb.status = p_result->status; in btm_read_rssi_cb()
1031 btif_cb.client_if = rssi_request_client_if; in btm_read_rssi_cb()
1033 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btm_read_rssi_cb()
1038 btif_gattc_cb_t btif_cb; in bta_scan_param_setup_cb() local
1040 btif_cb.status = status; in bta_scan_param_setup_cb()
1041 btif_cb.client_if = client_if; in bta_scan_param_setup_cb()
1043 (char *)&btif_cb, sizeof(btif_gattc_cb_t), NULL); in bta_scan_param_setup_cb()
1050 btgatt_adv_filter_cb_t btif_cb; in bta_scan_filt_cfg_cb() local
1051 btif_cb.status = status; in bta_scan_filt_cfg_cb()
1052 btif_cb.action = action; in bta_scan_filt_cfg_cb()
1053 btif_cb.cond_op = cfg_op; in bta_scan_filt_cfg_cb()
1054 btif_cb.avbl_space = avbl_space; in bta_scan_filt_cfg_cb()
1055 btif_cb.client_if = ref_value; in bta_scan_filt_cfg_cb()
1057 (char*) &btif_cb, sizeof(btgatt_adv_filter_cb_t), NULL); in bta_scan_filt_cfg_cb()
1064 btgatt_adv_filter_cb_t btif_cb; in bta_scan_filt_param_setup_cb() local
1066 btif_cb.status = status; in bta_scan_filt_param_setup_cb()
1067 btif_cb.action = action_type; in bta_scan_filt_param_setup_cb()
1068 btif_cb.client_if = ref_value; in bta_scan_filt_param_setup_cb()
1069 btif_cb.avbl_space = avbl_space; in bta_scan_filt_param_setup_cb()
1071 (char*) &btif_cb, sizeof(btgatt_adv_filter_cb_t), NULL); in bta_scan_filt_param_setup_cb()
1077 btgatt_adv_filter_cb_t btif_cb; in bta_scan_filt_status_cb() local
1079 btif_cb.status = status; in bta_scan_filt_status_cb()
1080 btif_cb.action = action; in bta_scan_filt_status_cb()
1081 btif_cb.client_if = ref_value; in bta_scan_filt_status_cb()
1083 (char*) &btif_cb, sizeof(btgatt_adv_filter_cb_t), NULL); in bta_scan_filt_status_cb()
1612 btif_gattc_cb_t btif_cb; in btif_gattc_register_app() local
1613 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t)); in btif_gattc_register_app()
1615 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_register_app()
1621 btif_gattc_cb_t btif_cb; in btif_gattc_unregister_app() local
1622 btif_cb.client_if = (uint8_t) client_if; in btif_gattc_unregister_app()
1624 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_unregister_app()
1630 btif_gattc_cb_t btif_cb; in btif_gattc_scan() local
1632 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_scan()
1639 btif_gattc_cb_t btif_cb; in btif_gattc_open() local
1640 btif_cb.client_if = (uint8_t) client_if; in btif_gattc_open()
1641 btif_cb.is_direct = is_direct ? 1 : 0; in btif_gattc_open()
1642 btif_cb.transport = (btgatt_transport_t)transport; in btif_gattc_open()
1643 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gattc_open()
1645 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_open()
1651 btif_gattc_cb_t btif_cb; in btif_gattc_close() local
1652 btif_cb.client_if = (uint8_t) client_if; in btif_gattc_close()
1653 btif_cb.conn_id = (uint16_t) conn_id; in btif_gattc_close()
1654 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gattc_close()
1656 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_close()
1662 btif_gattc_cb_t btif_cb; in btif_gattc_listen() local
1663 btif_cb.client_if = (uint8_t) client_if; in btif_gattc_listen()
1664 btif_cb.start = start ? 1 : 0; in btif_gattc_listen()
1666 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_listen()
1730 btif_gattc_cb_t btif_cb; in btif_gattc_refresh() local
1731 btif_cb.client_if = (uint8_t) client_if; in btif_gattc_refresh()
1732 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gattc_refresh()
1734 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_refresh()
1740 btif_gattc_cb_t btif_cb; in btif_gattc_search_service() local
1741 btif_cb.conn_id = (uint16_t) conn_id; in btif_gattc_search_service()
1742 btif_cb.search_all = filter_uuid ? 0 : 1; in btif_gattc_search_service()
1744 memcpy(&btif_cb.uuid, filter_uuid, sizeof(bt_uuid_t)); in btif_gattc_search_service()
1746 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_search_service()
1752 btif_gattc_cb_t btif_cb; in btif_gattc_get_gatt_db() local
1753 btif_cb.conn_id = (uint16_t) conn_id; in btif_gattc_get_gatt_db()
1756 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_get_gatt_db()
1763 btif_gattc_cb_t btif_cb; in btif_gattc_read_char() local
1764 btif_cb.conn_id = (uint16_t) conn_id; in btif_gattc_read_char()
1765 btif_cb.handle = (uint16_t) handle; in btif_gattc_read_char()
1766 btif_cb.auth_req = (uint8_t) auth_req; in btif_gattc_read_char()
1768 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_read_char()
1774 btif_gattc_cb_t btif_cb; in btif_gattc_read_char_descr() local
1775 btif_cb.conn_id = (uint16_t) conn_id; in btif_gattc_read_char_descr()
1776 btif_cb.handle = (uint16_t) handle; in btif_gattc_read_char_descr()
1777 btif_cb.auth_req = (uint8_t) auth_req; in btif_gattc_read_char_descr()
1779 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_read_char_descr()
1786 btif_gattc_cb_t btif_cb; in btif_gattc_write_char() local
1787 btif_cb.conn_id = (uint16_t) conn_id; in btif_gattc_write_char()
1788 btif_cb.handle = (uint16_t) handle; in btif_gattc_write_char()
1789 btif_cb.auth_req = (uint8_t) auth_req; in btif_gattc_write_char()
1790 btif_cb.write_type = (uint8_t) write_type; in btif_gattc_write_char()
1791 btif_cb.len = len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len; in btif_gattc_write_char()
1792 memcpy(btif_cb.value, p_value, btif_cb.len); in btif_gattc_write_char()
1794 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_write_char()
1802 btif_gattc_cb_t btif_cb; in btif_gattc_write_char_descr() local
1803 btif_cb.conn_id = (uint16_t) conn_id; in btif_gattc_write_char_descr()
1804 btif_cb.handle = (uint16_t) handle; in btif_gattc_write_char_descr()
1805 btif_cb.auth_req = (uint8_t) auth_req; in btif_gattc_write_char_descr()
1806 btif_cb.write_type = (uint8_t) write_type; in btif_gattc_write_char_descr()
1807 btif_cb.len = len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len; in btif_gattc_write_char_descr()
1808 memcpy(btif_cb.value, p_value, btif_cb.len); in btif_gattc_write_char_descr()
1810 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_write_char_descr()
1816 btif_gattc_cb_t btif_cb; in btif_gattc_execute_write() local
1817 btif_cb.conn_id = (uint16_t) conn_id; in btif_gattc_execute_write()
1818 btif_cb.action = (uint8_t) execute; in btif_gattc_execute_write()
1820 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_execute_write()
1827 btif_gattc_cb_t btif_cb; in btif_gattc_reg_for_notification() local
1828 btif_cb.client_if = (uint8_t) client_if; in btif_gattc_reg_for_notification()
1829 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gattc_reg_for_notification()
1830 btif_cb.handle = handle; in btif_gattc_reg_for_notification()
1832 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_reg_for_notification()
1839 btif_gattc_cb_t btif_cb; in btif_gattc_dereg_for_notification() local
1840 btif_cb.client_if = (uint8_t) client_if; in btif_gattc_dereg_for_notification()
1841 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gattc_dereg_for_notification()
1842 btif_cb.handle = handle; in btif_gattc_dereg_for_notification()
1844 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_dereg_for_notification()
1850 btif_gattc_cb_t btif_cb; in btif_gattc_read_remote_rssi() local
1851 btif_cb.client_if = (uint8_t) client_if; in btif_gattc_read_remote_rssi()
1852 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gattc_read_remote_rssi()
1854 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_read_remote_rssi()
1860 btif_gattc_cb_t btif_cb; in btif_gattc_configure_mtu() local
1861 btif_cb.conn_id = conn_id; in btif_gattc_configure_mtu()
1862 btif_cb.len = mtu; // Re-use len field in btif_gattc_configure_mtu()
1864 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_configure_mtu()
1871 btif_conn_param_cb_t btif_cb; in btif_gattc_conn_parameter_update() local
1872 btif_cb.min_interval = min_interval; in btif_gattc_conn_parameter_update()
1873 btif_cb.max_interval = max_interval; in btif_gattc_conn_parameter_update()
1874 btif_cb.latency = latency; in btif_gattc_conn_parameter_update()
1875 btif_cb.timeout = timeout; in btif_gattc_conn_parameter_update()
1876 bdcpy(btif_cb.bd_addr.address, bd_addr->address); in btif_gattc_conn_parameter_update()
1878 (char*) &btif_cb, sizeof(btif_conn_param_cb_t), NULL); in btif_gattc_conn_parameter_update()
1982 btif_gattc_cb_t btif_cb; in btif_gattc_set_scan_parameters() local
1983 btif_cb.client_if = client_if; in btif_gattc_set_scan_parameters()
1984 btif_cb.scan_interval = scan_interval; in btif_gattc_set_scan_parameters()
1985 btif_cb.scan_window = scan_window; in btif_gattc_set_scan_parameters()
1987 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in btif_gattc_set_scan_parameters()