Lines Matching refs:rsp

149 	NET_BUF_SIMPLE_DEFINE(rsp, BT_MESH_TX_SDU_MAX);  in handle_info_get()
150 bt_mesh_model_msg_init(&rsp, BT_MESH_DFU_OP_UPDATE_INFO_STATUS); in handle_info_get()
151 net_buf_simple_add_u8(&rsp, srv->img_count); in handle_info_get()
152 net_buf_simple_add_u8(&rsp, idx); in handle_info_get()
166 if (net_buf_simple_tailroom(&rsp) + BT_MESH_MIC_SHORT < entry_len) { in handle_info_get()
170 net_buf_simple_add_u8(&rsp, srv->imgs[idx].fwid_len); in handle_info_get()
171 net_buf_simple_add_mem(&rsp, srv->imgs[idx].fwid, in handle_info_get()
177 net_buf_simple_add_u8(&rsp, len); in handle_info_get()
178 net_buf_simple_add_mem(&rsp, srv->imgs[idx].uri, len); in handle_info_get()
180 net_buf_simple_add_u8(&rsp, 0); in handle_info_get()
190 bt_mesh_model_send(mod, ctx, &rsp, NULL, NULL); in handle_info_get()
203 BT_MESH_MODEL_BUF_DEFINE(rsp, BT_MESH_DFU_OP_UPDATE_METADATA_STATUS, 2); in handle_metadata_check()
204 bt_mesh_model_msg_init(&rsp, BT_MESH_DFU_OP_UPDATE_METADATA_STATUS); in handle_metadata_check()
211 net_buf_simple_add_u8(&rsp, (status & BIT_MASK(3)) | (effect << 3)); in handle_metadata_check()
212 net_buf_simple_add_u8(&rsp, idx); in handle_metadata_check()
218 bt_mesh_model_send(mod, ctx, &rsp, NULL, NULL); in handle_metadata_check()
301 goto rsp; in handle_start()
315 goto rsp; in handle_start()
323 goto rsp; in handle_start()
348 goto rsp; in handle_start()
353 goto rsp; in handle_start()
358 goto rsp; in handle_start()
365 goto rsp; in handle_start()
373 rsp: in handle_start()
385 goto rsp; in handle_cancel()
394 rsp: in handle_cancel()