Hi Dave,
You definitely found a bug in the TIA8570 barometer file structure.
I can't way the casts do anything for me on my platform (it already worked)
but the change is harmless and so implemented. Thank you for finding this
error.
Paul Alfille
On Sun, Apr 14, 2013 at 4:00 PM, <[email protected]> wrote:
> First of all, many thanks for all the hard work developing and maintaining
> the OWFS suite. The most recent update fixed many lingering issues I had
> been experiencing.
>
> My TAI8570, however, started giving out invalid readings (of the form
> "6.63453E+07") for both temperature and pressure, despite having the
> correct coefficients and raw readouts for C.ALL, D1, and D2. I traced it
> to a missing typecast (at least, that fixed it for me) and also added some
> directory entries to expose the 5534- and 5540- specific functions already
> in the code. Stylistically, I'm sure there are better ways to fix it than
> what I did.
>
> Diff and source files for ow_2406.c attached.
>
> Let me know if it helps to generate the diff with other options. I don't
> do much coding on a regular basis.
>
> Thanks,
> Dave
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers