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 / 140
139  |  141
Subject: 
Re: LNP Repost
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 16 Apr 1999 22:16:12 GMT
Viewed: 
962 times
  
"Jacob S. Barrett" wrote:

I thought it might be good to repost this with some changes...

8-15 & 16-23: To Address and From Address are 5 bits each.  This allows
for 32 addressable nodes. The address 00000b will be used for
broadcasting.  The other 31 assigned to the RCXs and Towers.  The ports
are 3 bits each giving a range of 0-7.  Port 0 reserved for the OS.

I can see this.  but it is starting to feel a little cramped on the ports,
though.  What functionality is port 0 reserved for?

Actually, I was thinking of reserving a host address (such as 0x0) for IPC.
I'd probably want to have more than 3 possible local message queues,
though.  The notion of having a unified interface for network and local
communication is appealing.  I thought of just sending to the RCX's host
address (instead of reserving one), but there are security implications.

Do you think that 4 bits for host and 4 for port would work for most people?



Message has 1 Reply:
  Re: LNP Repost
 
I personally can't see needing more than about 7 tasks listening at one time anyway. Keep in mind that the resources on the lego are very very small. As far as reserving an address for IPC that would be fine. We could reserve 00000b for IPC and (...) (25 years ago, 17-Apr-99, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  LNP Repost
 
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...3|4|5|6|7| ---...--- | 0xF | VER | TOADDR | PORT| FRADDR | PORT| PAYLOADLEN | ---...--- / PAYLOAD / ---...--- / (...) (25 years ago, 16-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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