Re: [RFC] Issues with Zephyr Sensors API and ways to resolve them


Paul Sokolovsky
 

On Wed, 24 Jan 2018 23:13:21 +0200
Paul Sokolovsky <Paul.Sokolovsky@linaro.org> wrote:

Hello,

Having tried Sensors API recently, I found few issues which I think
worth discussing and maybe resolving. A summary of them is:

1. Humidity is defined in milli-percents, which is somewhat confusing.
2. By extension, we may want to re-review unit of measurements used
for other values too.
3. Definition of struct sensor_value is vague, leading to confusion.

Details:

1. Humidity is defined in milli-percents, which is somewhat confusing.

Tracked as https://github.com/zephyrproject-rtos/zephyr/issues/5693
A patch was posted:
https://github.com/zephyrproject-rtos/zephyr/pull/5825

[]

--
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

Join devel@lists.zephyrproject.org to automatically receive all group messages.