Subject:
|
RE: LNP Repost
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sat, 17 Apr 1999 18:32:17 GMT
|
Reply-To:
|
<JBARRETT@ACM.WWUnospam.EDU>
|
Viewed:
|
1259 times
|
| |
| |
Very true, but lets try hard not to add any more bytes to the header. The
smaller the better since the packets are probably pretty small.
-Jake
-----Original Message-----
From: Ben Laurie [mailto:ben@algroup.co.uk]
Sent: Saturday, April 17, 1999 3:24 AM
To: Jacob S. Barrett
Cc: lugnet.robotics.rcx.legos@lugnet.com
Subject: Re: LNP Repost
Jacob S. Barrett wrote:
>
> I thought it might be good to repost this with some changes...
>
> Okay a little smaller... Only a 4 byte header...
>
> |0|1|2|3|4|5|6|7|0|1|2|3|4|5|6|7|0|1|2|3|4|5|6|7|0|1|2|3|4|5|6|7|
> -----------------------------------------------------------------
> | 0xF | VER | TOADDR | PORT| FRADDR | PORT| PAYLOADLEN |
> -----------------------------------------------------------------
> / PAYLOAD /
> -----------------------------------------------------------------
> / PAYLOAD / CRC16 |
> -----------------------------------------------------------------
>
> 0-3: The first nibble with help the OS understand that this incoming
> data is
> the LNP protocol.
>
> 4-5: The version number of the protocol we are using. Only gives us 16
> tries to get it right...
Actually, no. On attempt 16, you reserve some more bits further down for
the new version number :-)
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
|
|
Message is in Reply To:
| | Re: LNP Repost
|
| (...) Actually, no. On attempt 16, you reserve some more bits further down for the new version number :-) Cheers, Ben. -- (URL) grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to (...) (26 years ago, 17-Apr-99, to lugnet.robotics.rcx.legos)
|
21 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|