Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add D500 DFU progress monitoring support #12948

Merged
merged 8 commits into from
May 26, 2024

Conversation

remibettan
Copy link
Contributor

@remibettan remibettan commented May 21, 2024

Tracked by: RSDEV-1224 ("pre-PR")
This PR allow monitoring the progress of the DFU progress on D500 devices.
This was the progress percentage is real from the FW and represent the actual progress

@remibettan remibettan requested a review from Nir-Az May 21, 2024 11:52
@remibettan remibettan merged commit 009bb25 into IntelRealSense:development May 26, 2024
16 of 17 checks passed
@maloel
Copy link
Collaborator

maloel commented Jun 6, 2024

I have to say, I hate PRs like this that do not have a description of what was done... :)

std::stringstream ss;
ss << "DFU_GETSTATUS called, state is: " << to_string(dfu_state);
ss << ", iString equals: " << percentage_of_transfer << ", and bwPollTimeOut equals: " << status.bwPollTimeout << std::endl;
LOG_DEBUG(ss.str().c_str());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use stringstream here and not just do the output inside the LOG_DEBUG?

@Nir-Az Nir-Az changed the title D500 dfu Add D500 DFU progress monitoring support Jun 6, 2024
@Nir-Az
Copy link
Collaborator

Nir-Az commented Jun 6, 2024

I have to say, I hate PRs like this that do not have a description of what was done... :)

Noted, Description updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants