To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1036
    Re: lnp communication question —Tobias Bende
   (...) So the length-argument tells lnp_integrity_write how many bytes to send? Doesn't that mean that it would be possible to send an array consisting of many integers, for example? How would this be done? (...) We plan to build a six-legged lego (...) (25 years ago, 16-May-00, to lugnet.robotics.rcx.legos)
   
        Re: lnp communication question —Marcus Hoff
   You just pass an array and give the length, to send it. In theory you can send packets with a size up to 255 bytes (look in this group, the info is in here somewhere), but sending 1 byte has a packet loss of aprox. 1% and 4 bytes aprox. 10%, over (...) (25 years ago, 17-May-00, to lugnet.robotics.rcx.legos)
   
        Re: lnp communication question —Steven J. Morris
   (...) This suprises me. I have never heard of such high packet losses. How does dll do this? With some kind of ack and retry mechanism? dll seems reliable. Of course dll is going in the other direction. (25 years ago, 17-May-00, to lugnet.robotics.rcx.legos)
   
        Re: lnp communication question —Luis Villa
   Remember the medium... cheap IR basically stinks for transmission. You get transients from the lights in your room, the outdoors, yadda, yadda. Luis (wishing for RF like the Europeans get ;) (...) ---...--- "Going to California with an aching in my (...) (25 years ago, 17-May-00, to lugnet.robotics.rcx.legos)
   
        Re: lnp communication question —Tobias Bende
   (...) Ok, this brings up more questions :). I have never had any problems with errors when sending messages. Sometimes the message is not recieved but when it is, I have never seen any errors in the transmission. Am I missing your point? Second, (...) (25 years ago, 20-May-00, to lugnet.robotics.rcx.legos)
   
        Re: lnp communication question —Steven J. Morris
   (...) lnp does a checksum and throws away bad data. I think it is a 1 byte checksum so 1 out of 256 errors gets through anyway. There is no retry so timeout and retry has to be handled by some higher level code. (25 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR