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 / 1032
1031  |  1033
Subject: 
lnp communication question
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 14 May 2000 13:24:41 GMT
Viewed: 
1276 times
  
Hi!

When using lnp_integrity_write(&data, length), what is the length argument used
for? The data can only be one byte long if I understand it correctly. Can I use
the length argument to send an additional byte of information? Is there anyway
I can send an array without looping over all elements and sending them one by
one?

To clarify, I have six RCXs and I want them to communicate with eachother. I
don't want to use addressing since the messages should be broadcasted to all
the others.

Further, what is the lnp-logical package used for?

Regards
Tobias



Message has 1 Reply:
  Re: lnp communication question
 
Hello Tobias, (...) Why do you think there's only 1 byte that can be sent? If your data buffer is longer, bytes are sent one-by-one serially in a packet... (...) look into lnp.c and you will see that both lnp_integrity_xxx and lnp_addressing_xxx are (...) (24 years ago, 15-May-00, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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