-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
When I register the example
parser.registerCommand("test", "sdiu", &cmd_test);
and parse the following Message:
test "Hello World" 13.23 -45 85
I get 45 for the interger instead of -45
Serial.print("int64: "); Serial.println(args[2].asInt64);
gives
int64: 45
It seems that the negative value is parsed, because when i submit a negative value for uint64
test "Hallo Welt" 13.23 -45 -85
then i get the Error;
parse error: invalid uint64_t for arg 4
Metadata
Metadata
Assignees
Labels
No labels