| | Re: bug in setting lnp host address?
|
|
you'll probably hate me for being a nitpicker.... (...) technically, you should not do any bitshifting at all. There is always the odd case when someone decides to be clever and have a hostmask with interleaved zeros. for example, a hostmask of (...) (22 years ago, 5-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: bug in setting lnp host address?
|
|
You are correct in stating that I shouldn't have restricted you to 16 nodes X 16 ports. I did however, want to normalize the host address in the visible API and user interfaces to be a small 0..N number instead of a random hex byte value, properly (...) (22 years ago, 4-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | bug in setting lnp host address?
|
|
include/lnp/lnp.h (from the cvs repository) 114: file://! set new LNP host address 115: extern inline void lnp_set_hostaddr(unsigned char host) 116: { 117: lnp_hostaddr = ((host << 4) & CONF_LNP_HOSTMASK); 118: } Why is host bitshifted by 4? This (...) (22 years ago, 4-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: help with setting up legOS 0.2.6 on Windows XP
|
|
Scott, I suggest you start by following the instructions by Paolo Masetti found at (URL) He has written a pretty thorough set of instructions that should get you started. I do suggest that you read it over once BEFORE starting so you don't miss (...) (22 years ago, 2-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | help with setting up legOS 0.2.6 on Windows XP
|
|
I'm new to legOS and would like help setting up legOS on my computer thanks scott (22 years ago, 2-Jun-02, to lugnet.robotics.rcx.legos)
|