Lines Matching refs:rsp
717 struct bt_mesh_dfu_target_status *rsp = cli->req.params; in handle_status() local
719 rsp->status = status; in handle_status()
720 rsp->phase = phase; in handle_status()
722 rsp->ttl = net_buf_simple_pull_u8(buf); in handle_status()
723 rsp->effect = net_buf_simple_pull_u8(buf) & BIT_MASK(5); in handle_status()
724 rsp->timeout_base = net_buf_simple_pull_le16(buf); in handle_status()
725 rsp->blob_id = net_buf_simple_pull_le64(buf); in handle_status()
726 rsp->img_idx = net_buf_simple_pull_u8(buf); in handle_status()
731 rsp->ttl = 0U; in handle_status()
732 rsp->effect = BT_MESH_DFU_EFFECT_NONE; in handle_status()
733 rsp->timeout_base = 0U; in handle_status()
734 rsp->blob_id = 0U; in handle_status()
735 rsp->img_idx = 0U; in handle_status()
931 struct bt_mesh_dfu_metadata_status *rsp = cli->req.params; in handle_metadata_status() local
938 idx != rsp->idx) { in handle_metadata_status()
950 rsp->status = hdr & BIT_MASK(3); in handle_metadata_status()
951 rsp->effect = (hdr >> 3); in handle_metadata_status()
1208 struct bt_mesh_dfu_metadata_status *rsp) in bt_mesh_dfu_cli_metadata_check() argument
1212 err = req_setup(cli, REQ_METADATA, ctx->addr, rsp); in bt_mesh_dfu_cli_metadata_check()
1228 rsp->idx = img_idx; in bt_mesh_dfu_cli_metadata_check()
1241 struct bt_mesh_dfu_target_status *rsp) in bt_mesh_dfu_cli_status_get() argument
1245 err = req_setup(cli, REQ_STATUS, ctx->addr, rsp); in bt_mesh_dfu_cli_status_get()