Lines Matching refs:ev

1193 	struct btp_mesh_prov_link_open_ev ev;  in link_open()  local
1199 ev.bearer = BTP_MESH_PROV_BEARER_PB_ADV; in link_open()
1202 ev.bearer = BTP_MESH_PROV_BEARER_PB_GATT; in link_open()
1205 ev.bearer = BTP_MESH_PROV_BEARER_REMOTE; in link_open()
1213 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_PROV_LINK_OPEN, &ev, sizeof(ev)); in link_open()
1218 struct btp_mesh_prov_link_closed_ev ev; in link_close() local
1224 ev.bearer = BTP_MESH_PROV_BEARER_PB_ADV; in link_close()
1227 ev.bearer = BTP_MESH_PROV_BEARER_PB_GATT; in link_close()
1230 ev.bearer = BTP_MESH_PROV_BEARER_REMOTE; in link_close()
1238 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_PROV_LINK_CLOSED, &ev, sizeof(ev)); in link_close()
1243 struct btp_mesh_out_number_action_ev ev; in output_number() local
1247 ev.action = sys_cpu_to_le16(action); in output_number()
1248 ev.number = sys_cpu_to_le32(number); in output_number()
1250 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_OUT_NUMBER_ACTION, &ev, sizeof(ev)); in output_number()
1257 struct btp_mesh_out_string_action_ev *ev; in output_string() local
1264 ev = net_buf_simple_add(buf, sizeof(*ev)); in output_string()
1265 ev->string_len = strlen(str); in output_string()
1267 net_buf_simple_add_mem(buf, str, ev->string_len); in output_string()
1277 struct btp_mesh_in_action_ev ev; in input() local
1283 ev.action = sys_cpu_to_le16(action); in input()
1284 ev.size = size; in input()
1286 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_IN_ACTION, &ev, sizeof(ev)); in input()
1305 struct btp_mesh_prov_node_added_ev ev; in prov_node_added() local
1310 ev.net_idx = net_idx; in prov_node_added()
1311 ev.addr = addr; in prov_node_added()
1312 ev.num_elems = num_elem; in prov_node_added()
1313 memcpy(&ev.uuid, uuid, sizeof(ev.uuid)); in prov_node_added()
1315 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_PROV_NODE_ADDED, &ev, sizeof(ev)); in prov_node_added()
5372 struct btp_mesh_net_recv_ev *ev; in net_recv_ev() local
5382 ev = net_buf_simple_add(&buf, sizeof(*ev)); in net_recv_ev()
5383 ev->ttl = ttl; in net_recv_ev()
5384 ev->ctl = ctl; in net_recv_ev()
5385 ev->src = sys_cpu_to_le16(src); in net_recv_ev()
5386 ev->dst = sys_cpu_to_le16(dst); in net_recv_ev()
5387 ev->payload_len = payload_len; in net_recv_ev()
5397 struct btp_mesh_model_recv_ev *ev; in model_recv_ev() local
5406 ev = net_buf_simple_add(&buf, sizeof(*ev)); in model_recv_ev()
5407 ev->src = sys_cpu_to_le16(src); in model_recv_ev()
5408 ev->dst = sys_cpu_to_le16(dst); in model_recv_ev()
5409 ev->payload_len = payload_len; in model_recv_ev()
5459 struct btp_mesh_invalid_bearer_ev ev = { in invalid_bearer_cb() local
5465 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_INVALID_BEARER, &ev, sizeof(ev)); in invalid_bearer_cb()
5485 struct btp_mesh_frnd_established_ev ev = { net_idx, lpn_addr, recv_delay, in friend_established() local
5493 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_FRND_ESTABLISHED, &ev, sizeof(ev)); in friend_established()
5498 struct btp_mesh_frnd_terminated_ev ev = { net_idx, lpn_addr }; in friend_terminated() local
5503 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_FRND_TERMINATED, &ev, sizeof(ev)); in friend_terminated()
5514 struct btp_mesh_lpn_established_ev ev = { net_idx, friend_addr, queue_size, in lpn_established() local
5521 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_LPN_ESTABLISHED, &ev, sizeof(ev)); in lpn_established()
5526 struct btp_mesh_lpn_polled_ev ev = { net_idx, friend_addr }; in lpn_terminated() local
5531 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_LPN_TERMINATED, &ev, sizeof(ev)); in lpn_terminated()
5536 struct btp_mesh_lpn_polled_ev ev = { net_idx, friend_addr, (uint8_t)retry }; in lpn_polled() local
5540 tester_event(BTP_SERVICE_ID_MESH, BTP_MESH_EV_LPN_POLLED, &ev, sizeof(ev)); in lpn_polled()