This patch applies to the current CVS head, post
0.2.6. It adds the ability to use the util/dll utility
to reset the RCX's LNP host id.
to apply the patch copy it into your legOS directory
and run
> patch -Np1 < setaddr.patch
> gmake realclean
> gmake
now use firmdl3 to load the new firmware, you don't
need to modify the LNP id at build time anymore, the
default 0x00 is ok to start.
to reset the ID to something else use the util/dll
utility with the new "-n" flag.
util/dll -r00 -n10
this resets the id from the default 0x00 id to 0x10.
To set it back to the default
util/dll -r10 -n00
as you can see you need to know the existing ID of the
RCX you are reseting.
you can also reset it programatically by changing the
global lnp_hostaddr variable.
thats it.