-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
L515 FW version compatibility fix #9185
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,14 +258,14 @@ namespace librealsense | |
|
||
}; | ||
|
||
static std::map<uint16_t, std::string> device_to_fw_min_version = { | ||
{ L500_RECOVERY_PID, "1.4.1.0"}, | ||
{ L535_RECOVERY_PID, "1.4.1.0"}, | ||
{ L500_USB2_RECOVERY_PID_OLD, "1.4.1.0"}, | ||
{ L500_PID, "1.4.1.0"}, | ||
{ L515_PID_PRE_PRQ, "1.4.1.0"}, | ||
{ L515_PID, "1.4.1.0"}, | ||
{ L535_PID, "1.4.1.0"} | ||
static std::map<uint16_t, std::pair<std::string, std::string>> device_to_fw_min_max_version = { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not a pair of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can consider |
||
{ L500_RECOVERY_PID, { "1.5.1.3", "1.99.99.99"}}, | ||
{ L535_RECOVERY_PID, { "1.5.1.3", "1.99.99.99"}}, | ||
{ L500_USB2_RECOVERY_PID_OLD, { "1.5.1.3", "1.99.99.99"}}, | ||
{ L500_PID, { "1.5.1.3", "1.99.99.99"}}, | ||
{ L515_PID_PRE_PRQ, { "1.5.1.3", "1.99.99.99"}}, | ||
{ L515_PID, { "1.5.1.3", "1.99.99.99"}}, | ||
{ L535_PID, { "1.5.1.3", "1.99.99.99"}} | ||
}; | ||
|
||
// Known FW error codes, if we poll for errors (RS2_OPTION_ERROR_POLLING_ENABLED) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can use [) for ranges here so it's be
<
rather than<=
?Then you wouldn't have to write numbers like
1.99.99.99
...I also don't like putting the build number in there. It's got nothing to do with the version number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The max is required to prevent recognizing D400's 5.12.14.50 as a valid candidate for L515.
Since no formal definition is given 1.99..... is the version that will be currently supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm saying rather than
<= 1.99.99.99
we should say< 2.0