Subject:
|
Re: lnp communication question
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Mon, 15 May 2000 13:50:42 GMT
|
Viewed:
|
1430 times
|
| |
| |
Hello Tobias,
> 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?
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...
> Further, what is the lnp-logical package used for?
look into lnp.c and you will see that both lnp_integrity_xxx
and lnp_addressing_xxx are implemented using lnp_logical_xxx,
so lnp-logical is just a lower layer of the LNP protocol.
Do you have some particular plans with your RCXs?
Pavel.
|
|
Message has 1 Reply: | | Re: lnp communication question
|
| (...) 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)
|
Message is in Reply To:
| | lnp communication question
|
| 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 (...) (25 years ago, 14-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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|