Evert Lammerts wrote: > Hi, > > I'm sending over a package (a character array) containing 3 floats: > > ------------------------------------------------------------------- > | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | > ------------------------------------------------------------------- > > bytes 5, 10 and 15 are terminators (\0). > > about 70% arrives well, the other 30% comes out in a strange form. For > example, the byte 0xbd becomes 0xffffffbd - or 0x80 ends up as 0xffffff80. > > Why is this happening? What are these 6 f's doing there? > > Couple of notes - I am working from a RT thread and in kernel space.
Are those packets correctly on the wire (sender and receiver side)? Check with RTcap and Wiretap e.g. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users