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."
HiTechnic NXC function error
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: HiTechnic NXC function error
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: HiTechnic NXC function error
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
John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
http://bricxcc.sourceforge.net/
Who is online
Users browsing this forum: Semrush [Bot] and 0 guests