I had to correct this and thought I'd put in a ticket on this a couple years ago.
Basically the type of FS_r_i8 is incorrect, they need to be FS_r_float8. It's correct for the EDS0068, for example, which is essentialy the same device.
The diff of my fix is below.
Thanks! Rob.
$ diff /usr/src/owfs-3.1p0-mod/module/owlib/src/c/ow_eds.c ow_eds.c 383,384c383,384 < {"EDS0065/threshold/humidity_hi" , PROPERTY_LENGTH_FLOAT, NON_AGGREGATE, ft_float, fc_stable, FS_r_float8, FS_w_float8, VISIBLE_EDS0065, {.u= _EDS0064_Hum_hi,}, }, < {"EDS0065/threshold/humidity_low", PROPERTY_LENGTH_FLOAT, NON_AGGREGATE, ft_float, fc_stable, FS_r_float8, FS_w_float8, VISIBLE_EDS0065, {.u= _EDS0064_Hum_lo,}, }, --- > {"EDS0065/threshold/humidity_hi" , PROPERTY_LENGTH_FLOAT, NON_AGGREGATE, ft_float, fc_stable, FS_r_i8, FS_w_i8, VISIBLE_EDS0065, {.u= _EDS0064_Hum_hi,}, }, > {"EDS0065/threshold/humidity_low", PROPERTY_LENGTH_FLOAT, NON_AGGREGATE, ft_float, fc_stable, FS_r_i8, FS_w_i8, VISIBLE_EDS0065, {.u= _EDS0064_Hum_lo,}, },
Thanks for noticing. I've thrown out FS_r_i8 and FS_w_i8 completely, this was the last place those functions were errorenously used.
Please provide future diffs as
diff -u
, and best as diffs between trees. You can create such a diff e.g. by doingdiff -urN owfs-3.1p0.orig/module/owlib/src/c/ owfs-3.1p0/module/owlib/src/c/