-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug in "functions" (argument transfer) #5
Comments
Hi, thanks for bringing up the issue. Will work to fix that for the next release of the library. |
Hello, just tested the feature again & it works fine. I think the problem is that you need to follow this syntax to execute a function: /led?params=0 executes the function (from the documentation) Let me know if that works & if I can close the issue. |
I can confirm that executing functions also works just fine. i.e: cheers James Mills / prologic E: prologic@shortcircuit.net.au On Sat, Jul 12, 2014 at 6:24 PM, marcoschwartz notifications@github.com
|
Ok, closing the issue. |
Hi
the problem is the line
int header_length = functions_names[i].length() + 8;
Even if you would read the rest of the input until end of line, this would result in a normal use like "/led/1" or "/led/0" no argmuents are transfered (as cut the klenth of the function (led=3) and addtional 8 characters (something like /led--------1 would be valid then).
The text was updated successfully, but these errors were encountered: