Skip to content

fw compatibility added for mipi devices - #14106

Merged
Nir-Az merged 2 commits into
realsenseai:developmentfrom
remibettan:rs-fw-update-avoid-old-fw-mipi
Jul 2, 2025
Merged

fw compatibility added for mipi devices#14106
Nir-Az merged 2 commits into
realsenseai:developmentfrom
remibettan:rs-fw-update-avoid-old-fw-mipi

Conversation

@remibettan

Copy link
Copy Markdown
Contributor

Tracked by: RSDSO-20314

@remibettan
remibettan requested a review from Nir-Az July 1, 2025 07:39
{
auto upd = dev.as<rs2::updatable>();
// checking compatibility bewtween firmware and device
if( !upd.check_firmware_compatibility( fw_image ) )

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

For better protection, I suggest :
if (upd && !upd.check_firmware_compatibility( fw_image ))
or

if (is<rs2::updatable>())
{
auto upd = dev.as<rs2::updatable>();
...
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just to make sure, did you try to update to a low version and see it is blocked? meaning the device is really updateable ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sure!

@Nir-Az
Nir-Az merged commit 7665e99 into realsenseai:development Jul 2, 2025
@remibettan
remibettan deleted the rs-fw-update-avoid-old-fw-mipi branch July 29, 2025 14:12
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.

2 participants