-
Notifications
You must be signed in to change notification settings - Fork 319
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
missing iio_channel_get_label(const struct iio_channel *chn) function #1222
Comments
Here are the sequnce of commits that @pcercuei did for adding device labels - channel labels should be similar:
and then bindings:
and then utils: and then (as a best practice) make sure that new kernel device drivers have labels if the channels will be mostly constant. |
Agreed, makes sense to support this... |
would be nice to support this before 1.0 is released ... ?? |
Dan can you please have a look? |
Yes, I will make this a priority. |
While libiio supports reading device labels for the last three years.
Some devices (ion hwmon) have channel labels - which seems to be a good idea for userspace:
vin
andvout1
is much more user intuitive thanin1
andin2
.Supporting this with a function like:
seems like a no brainer...
See hwmon sysfs Doc:
IIO seems to support it as well:
its just libiio that does not.
The text was updated successfully, but these errors were encountered: