Lines Matching refs:ev

107 	struct btp_gap_device_connected_ev ev;  in le_connected()  local
120 bt_addr_le_copy(&ev.address, info.le.dst); in le_connected()
121 ev.interval = sys_cpu_to_le16(info.le.interval); in le_connected()
122 ev.latency = sys_cpu_to_le16(info.le.latency); in le_connected()
123 ev.timeout = sys_cpu_to_le16(info.le.timeout); in le_connected()
125 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_DEVICE_CONNECTED, &ev, sizeof(ev)); in le_connected()
138 struct btp_gap_device_disconnected_ev ev; in le_disconnected() local
145 bt_addr_le_copy(&ev.address, addr); in le_disconnected()
147 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_DEVICE_DISCONNECTED, &ev, sizeof(ev)); in le_disconnected()
153 struct btp_gap_identity_resolved_ev ev; in le_identity_resolved() local
155 bt_addr_le_copy(&ev.address, rpa); in le_identity_resolved()
156 bt_addr_le_copy(&ev.identity_address, identity); in le_identity_resolved()
158 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_IDENTITY_RESOLVED, &ev, sizeof(ev)); in le_identity_resolved()
164 struct btp_gap_conn_param_update_ev ev; in le_param_updated() local
167 bt_addr_le_copy(&ev.address, addr); in le_param_updated()
168 ev.interval = sys_cpu_to_le16(interval); in le_param_updated()
169 ev.latency = sys_cpu_to_le16(latency); in le_param_updated()
170 ev.timeout = sys_cpu_to_le16(timeout); in le_param_updated()
172 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_CONN_PARAM_UPDATE, &ev, sizeof(ev)); in le_param_updated()
866 struct btp_gap_device_found_ev *ev; local
871 ev = net_buf_simple_add(adv_buf, sizeof(*ev));
873 bt_addr_le_copy(&ev->address, addr);
874 ev->rssi = rssi;
875 ev->flags = BTP_GAP_DEVICE_FOUND_FLAG_AD | BTP_GAP_DEVICE_FOUND_FLAG_RSSI;
876 ev->eir_data_len = buf_ad->len;
904 struct btp_gap_device_found_ev *ev; local
913 ev = (void *) adv_buf->data;
915 bt_addr_le_copy(&a, &ev->address);
927 ev->eir_data_len += buf_ad->len;
928 ev->flags |= BTP_GAP_DEVICE_FOUND_FLAG_SD;
1059 struct btp_gap_passkey_display_ev ev; local
1062 bt_addr_le_copy(&ev.address, addr);
1063 ev.passkey = sys_cpu_to_le32(passkey);
1065 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_PASSKEY_DISPLAY, &ev, sizeof(ev));
1070 struct btp_gap_passkey_entry_req_ev ev; local
1073 bt_addr_le_copy(&ev.address, addr);
1075 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_PASSKEY_ENTRY_REQ, &ev, sizeof(ev));
1080 struct btp_gap_passkey_confirm_req_ev ev; local
1083 bt_addr_le_copy(&ev.address, addr);
1084 ev.passkey = sys_cpu_to_le32(passkey);
1086 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_PASSKEY_CONFIRM_REQ, &ev, sizeof(ev));
1097 struct btp_gap_bond_lost_ev ev; local
1109 bt_addr_le_copy(&ev.address, addr);
1111 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_BOND_LOST, &ev, sizeof(ev));
1118 struct btp_gap_bond_pairing_failed_ev ev; local
1121 bt_addr_le_copy(&ev.address, addr);
1122 ev.reason = reason;
1124 tester_event(BTP_SERVICE_ID_GAP, BTP_GAP_EV_PAIRING_FAILED, &ev, sizeof(ev));
1415 struct btp_gap_ev_periodic_sync_established_ev ev; local
1417 bt_addr_le_copy(&ev.address, info->addr);
1418 ev.sync_handle = sys_cpu_to_le16(sync->handle);
1419 ev.status = 0;
1422 &ev, sizeof(ev));
1432 struct btp_gap_ev_periodic_sync_lost_ev ev; local
1437 ev.sync_handle = sys_cpu_to_le16(sync->handle);
1438 ev.reason = info->reason;
1441 &ev, sizeof(ev));