Lines Matching refs:rsp
155 BT_MESH_MODEL_BUF_DEFINE(rsp, RPR_OP_SCAN_STATUS, 4); in scan_status_send()
156 bt_mesh_model_msg_init(&rsp, RPR_OP_SCAN_STATUS); in scan_status_send()
157 net_buf_simple_add_u8(&rsp, status); in scan_status_send()
158 net_buf_simple_add_u8(&rsp, srv.scan.state); in scan_status_send()
159 net_buf_simple_add_u8(&rsp, srv.scan.max_devs); in scan_status_send()
160 net_buf_simple_add_u8(&rsp, timeout); in scan_status_send()
162 bt_mesh_model_send(srv.mod, ctx, &rsp, NULL, NULL); in scan_status_send()
542 BT_MESH_MODEL_BUF_DEFINE(rsp, RPR_OP_SCAN_CAPS_STATUS, 2); in handle_scan_caps_get()
543 bt_mesh_model_msg_init(&rsp, RPR_OP_SCAN_CAPS_STATUS); in handle_scan_caps_get()
544 net_buf_simple_add_u8(&rsp, CONFIG_BT_MESH_RPR_SRV_SCANNED_ITEMS_MAX); in handle_scan_caps_get()
545 net_buf_simple_add_u8(&rsp, true); in handle_scan_caps_get()
547 bt_mesh_model_send(srv.mod, ctx, &rsp, NULL, NULL); in handle_scan_caps_get()
587 goto rsp; in handle_scan_start()
593 goto rsp; in handle_scan_start()
618 rsp: in handle_scan_start()
627 BT_MESH_MODEL_BUF_DEFINE(rsp, RPR_OP_EXTENDED_SCAN_REPORT, in handle_extended_scan_start()
676 bt_mesh_model_msg_init(&rsp, RPR_OP_EXTENDED_SCAN_REPORT); in handle_extended_scan_start()
678 net_buf_simple_add_u8(&rsp, BT_MESH_RPR_SUCCESS); in handle_extended_scan_start()
679 net_buf_simple_add_mem(&rsp, prov->uuid, 16); in handle_extended_scan_start()
680 net_buf_simple_add_le16(&rsp, prov->oob_info); in handle_extended_scan_start()
686 net_buf_simple_add_u8(&rsp, uri_len + 1); in handle_extended_scan_start()
687 net_buf_simple_add_u8(&rsp, BT_DATA_URI); in handle_extended_scan_start()
688 net_buf_simple_add_mem(&rsp, prov->uri, in handle_extended_scan_start()
696 bt_mesh_model_send(mod, ctx, &rsp, NULL, NULL); in handle_extended_scan_start()
723 goto rsp; in handle_extended_scan_start()
730 goto rsp; in handle_extended_scan_start()
744 goto rsp; in handle_extended_scan_start()
778 rsp: in handle_extended_scan_start()
779 bt_mesh_model_msg_init(&rsp, RPR_OP_EXTENDED_SCAN_REPORT); in handle_extended_scan_start()
780 net_buf_simple_add_u8(&rsp, status); in handle_extended_scan_start()
781 net_buf_simple_add_mem(&rsp, uuid, 16); in handle_extended_scan_start()
782 bt_mesh_model_send(mod, ctx, &rsp, NULL, NULL); in handle_extended_scan_start()
829 goto rsp; in handle_link_open()
837 goto rsp; in handle_link_open()
849 goto rsp; in handle_link_open()
854 goto rsp; in handle_link_open()
865 goto rsp; in handle_link_open()
881 goto rsp; in handle_link_open()
896 goto rsp; in handle_link_open()
924 goto rsp; in handle_link_open()
935 rsp: in handle_link_open()