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

How can I fetch the firmware versoin from the device ? #159

Open
rjwb1 opened this issue Dec 12, 2024 · 5 comments
Open

How can I fetch the firmware versoin from the device ? #159

rjwb1 opened this issue Dec 12, 2024 · 5 comments

Comments

@rjwb1
Copy link

rjwb1 commented Dec 12, 2024

No description provided.

@georgflick
Copy link

you can check the firmware version using the livox viewer.

@rjwb1
Copy link
Author

rjwb1 commented Dec 28, 2024

@georgflick I need to be able to automatically store the serial number to a file so I can track component replacements

@georgflick
Copy link

@georgflick I need to be able to automatically store the serial number to a file so I can track component replacements

I see, in the struct DetectionData there is a char array with the serial number:
https://github.com/Livox-SDK/Livox-SDK2/blob/6a940156dd7151c3ab6a52442d86bc83613bd11b/sdk_core/comm/define.h#L135

so you could print / save it to a file after that line:
https://github.com/Livox-SDK/Livox-SDK2/blob/6a940156dd7151c3ab6a52442d86bc83613bd11b/sdk_core/device_manager.cpp#L536

@rjwb1
Copy link
Author

rjwb1 commented Jan 3, 2025

@georgflick apologies, I already store the serial number, I was supposed to say the firmware version

@georgflick
Copy link

@georgflick apologies, I already store the serial number, I was supposed to say the firmware version

there is a function QueryLivoxLidarFirmwareVer in the sdk:
https://github.com/Livox-SDK/Livox-SDK2/blob/6a940156dd7151c3ab6a52442d86bc83613bd11b/sdk_core/command_handler/command_impl.cpp#L134

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

No branches or pull requests

2 participants