Searched refs:cback_data (Results 1 – 5 of 5) sorted by relevance
234 tBTA_HH cback_data; in bta_hh_sm_execute() local241 memset(&cback_data, 0, sizeof(tBTA_HH)); in bta_hh_sm_execute()252 cback_data.conn.bda = ((tBTA_HH_API_CONN*)p_data)->bd_addr; in bta_hh_sm_execute()253 cback_data.conn.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()254 cback_data.conn.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()261 cback_data.dev_info.bda = p_data->api_maintdev.bda; in bta_hh_sm_execute()262 cback_data.dev_info.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()263 cback_data.dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()265 cback_data.dev_info.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()266 cback_data.dev_info.handle = in bta_hh_sm_execute()[all …]
764 tBTA_HH_CBDATA cback_data; in write_proto_mode_cb() local766 cback_data.handle = p_dev_cb->hid_handle; in write_proto_mode_cb()767 cback_data.status = (status == GATT_SUCCESS) ? BTA_HH_OK : BTA_HH_ERR; in write_proto_mode_cb()773 (*bta_hh_cb.p_cback)(cb_evt, (tBTA_HH*)&cback_data); in write_proto_mode_cb()791 tBTA_HH_CBDATA cback_data; in bta_hh_le_set_protocol_mode() local796 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()803 cback_data.status = BTA_HH_ERR; in bta_hh_le_set_protocol_mode()808 cback_data.status = BTA_HH_OK; in bta_hh_le_set_protocol_mode()812 (cback_data.status == BTA_HH_OK) ? BTA_HH_OK : BTA_HH_ERR_PROTO; in bta_hh_le_set_protocol_mode()814 (*bta_hh_cb.p_cback)(BTA_HH_SET_PROTO_EVT, (tBTA_HH*)&cback_data); in bta_hh_le_set_protocol_mode()[all …]
279 tBTA_HD cback_data; in bta_hd_connect_act() local295 cback_data.conn.bda = p_ctrl->addr; in bta_hd_connect_act()296 cback_data.conn.status = BTHD_CONN_STATE_CONNECTING; in bta_hd_connect_act()298 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_connect_act()312 tBTA_HD cback_data; in bta_hd_disconnect_act() local323 if (HID_DevGetDevice(&cback_data.conn.bda) == HID_SUCCESS) { in bta_hd_disconnect_act()324 cback_data.conn.status = BTHD_CONN_STATE_DISCONNECTING; in bta_hd_disconnect_act()325 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_disconnect_act()452 tBTA_HD cback_data; in bta_hd_open_act() local459 cback_data.conn.bda = p_cback->addr; in bta_hd_open_act()[all …]
240 tBTA_HD cback_data; in bta_hd_sm_execute() local248 memset(&cback_data, 0, sizeof(tBTA_HD)); in bta_hd_sm_execute()
1065 tLLCP_SAP_CBACK_DATA cback_data; in llcp_dlc_proc_rr_rnr_pdu() local1116 cback_data.congest.event = LLCP_SAP_EVT_CONGEST; in llcp_dlc_proc_rr_rnr_pdu()1117 cback_data.congest.local_sap = p_dlcb->local_sap; in llcp_dlc_proc_rr_rnr_pdu()1118 cback_data.congest.remote_sap = p_dlcb->remote_sap; in llcp_dlc_proc_rr_rnr_pdu()1119 cback_data.congest.is_congested = true; in llcp_dlc_proc_rr_rnr_pdu()1120 cback_data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlc_proc_rr_rnr_pdu()1122 (*p_dlcb->p_app_cb->p_app_cback)(&cback_data); in llcp_dlc_proc_rr_rnr_pdu()1134 cback_data.congest.event = LLCP_SAP_EVT_CONGEST; in llcp_dlc_proc_rr_rnr_pdu()1135 cback_data.congest.local_sap = p_dlcb->local_sap; in llcp_dlc_proc_rr_rnr_pdu()1136 cback_data.congest.remote_sap = p_dlcb->remote_sap; in llcp_dlc_proc_rr_rnr_pdu()[all …]