Semicolon in Payload
-
Hi, a semicolon in payload trims the payload to the size of the semicolon position.
Is this intentionally or just a side effect of the mysensors serial api format, because the data before payload is also separated by semicolon?
-
It is not intentional and is probably a bug in the GW "parser". I suspect you mean from the controller to sensor network direction? The serial protocol really was a quick-and-dirty-hack and should probably get a facelift. Newline isn't possible to transfer either.
I'm considering plain json if possible to squeeze in. But any changes to the serial protocol will have to wait until 2.0.
-
Thanks a lot for fast replay, meanwhile i'll just use another separator. I'm very curious about the json solution.