Page 2 of 2

Re: HiTechnic NXC function error

Posted: 19 Mar 2011, 05:01
by mattallen37
Well, I am quite positive the remote doesn't need a reply, so that should be right. I know SetMessage doesn't get a reply either. My theory, is that only the messages that should get a response need the 0x08 bit toggling.

But where did you see that c2 is Uart? According to the Opcodes, c2 is the reply the RCX gives when something is attempting to "Start subroutine download". "A return value of 0 indicates success, a return value of 1 indicates that there is insufficient memory for a subroutine of the requested size, and a return value of 2 indicates that the subroutine index was invalid."

Re: HiTechnic NXC function error

Posted: 19 Mar 2011, 14:50
by afanofosc
Kekoa's list is just RCX1.0 opcodes. I was looking at my source code which is based off of the Spybot and RCX2 SDK documentation.

John Hansen