drivers: sensor: passing multiple values using struct sensor_value #77944
Unanswered
cyberjupiter
asked this question in
General
Replies: 1 comment
-
Hi @cyberjupiter! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, I am using vl513x - ToF sensor. There is an attribute to set some config (ROI for example) of which the application needs to pass two(2) values. The actual implementation actually needs four(4) values but the author of the code managed to encode those in
struct sensor_value
which is fine.But lets say I have to set some other attributes that needs like 10 values. How do I do this?
I have tried to search for any sensor that needs this feature but I can't seem to find one.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions