Works great!  Thank YOU for your assistance.  Persistence on my part was
easy :)  Now I can finish incorporating it into my monitoring system.

Thanks,
Dave

On Tue, 2006-08-15 at 22:13 -0400, Paul Alfille wrote:
> I use the TMEX file as the primary (readable) device. It can reader or
> writer.
> I notice that the lines
> DETAIL: TAI8570 reader=12 DD 98 3B 00 00 00 5A writer=04 00 00 00 06
> 00
> DETAIL: TAI8570 reader=12 DD 98 3B 00 00 00 5A writer=54 3E F6 B7 3F
> 00 
> DETAIL: TAI8570 reader=12 DD 98 3B 00 00 00 5A writer=54 3E F6 B7 3F
> 00
> 
> occurs in your error log. I get: DETAIL: TAI8570 reader=12 95 CF 1B 00
> 00 00 3A writer=12 E4 D2 1B 00 00 00 05
> which is expected. (Simple TMEX parsing) 
> 
> AHHA! The answer.
> ow_2406.c line 622
>     if ( pow ) {
>         memcpy( tai->writer, pn->sn  , 8 ) ;
>         memcpy( tai->reader, &data[1], 8 ) ;
>     } else {
>         memcpy( tai->reader, pn->sn  , 8 ) ; 
>         memcpy( tai->reader, &data[1], 8 ) ;
>     }
> 
> Yup, we follow different branches and the "else" branch is wrong.
> Changed to:
>     if ( pow ) {
>         memcpy( tai->writer, pn->sn  , 8 ) ; 
>         memcpy( tai->reader, &data[1], 8 ) ;
>     } else {
>         memcpy( tai->reader, pn->sn  , 8 ) ;
>         memcpy( tai->writer, &data[1], 8 ) ;
>     }
> 
> You can pull it from the CVS. 
> Tell me if this works, and thanks for your persistence!!!
> 
> Paul Alfille
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to