NXC SendMessage returning -19
NXC SendMessage returning -19
What does a return value of -19 from the NXC API SendMessage mean? I'm stumped.
Re: NXC SendMessage returning -19
Could we see your code? (A simplified version would be nice. About 10-20 lines, if you can.)
I don't see anything here.
EDIT: There's a
I don't see anything here.
EDIT: There's a
-19
here. Apparently, you specified something with an ERR_INVALID_SIZE
.Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Re: NXC SendMessage returning -19
Muntoo, you are exactly right! I was trying to send a text string that was one character too large! Goodness! Talk about a little frustrating! I tried searching through the NXC Guide for "-19," but I gave up. I guess I should've kept looking! Coming back to NXC is a little frustrating because I'm used to the documentation stating the possible return values of a function, whereas with the NXC documentation it is hard to discover what constants go with what functions. But thanks anyways for your help!muntoo wrote:Could we see your code? (A simplified version would be nice. About 10-20 lines, if you can.)
I don't see anything here.
EDIT: There's a-19
here. Apparently, you specified something with anERR_INVALID_SIZE
.
Who is online
Users browsing this forum: No registered users and 1 guest