Lines Matching refs:ev
91 struct btp_hap_hauc_discovery_complete_ev ev = { 0 }; in has_client_discover_cb() local
95 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in has_client_discover_cb()
96 ev.status = BTP_STATUS_VAL(err); in has_client_discover_cb()
103 ev.has_hearing_aid_features_handle = inst->features_subscription.value_handle; in has_client_discover_cb()
104 ev.has_control_point_handle = inst->control_point_subscription.value_handle; in has_client_discover_cb()
105 ev.has_active_preset_index_handle = inst->active_index_subscription.value_handle; in has_client_discover_cb()
108 tester_event(BTP_SERVICE_ID_HAP, BT_HAP_EV_HAUC_DISCOVERY_COMPLETE, &ev, sizeof(ev)); in has_client_discover_cb()
136 struct btp_hap_iac_discovery_complete_ev ev; in ias_client_discover_cb() local
141 bt_addr_le_copy(&ev.address, info.le.dst); in ias_client_discover_cb()
143 ev.status = BT_ATT_ERR_UNLIKELY; in ias_client_discover_cb()
145 ev.status = (uint8_t)err; in ias_client_discover_cb()
148 tester_event(BTP_SERVICE_ID_HAP, BT_HAP_EV_IAC_DISCOVERY_COMPLETE, &ev, sizeof(ev)); in ias_client_discover_cb()