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.
3 out of 3
Suggested Topics
-
payload ACK
Feature Requests • 22 Nov 2014, 16:46 • dzairo 22 Nov 2014, 19:28 -
Info about String Payload
Troubleshooting • 24 Jan 2015, 08:40 • adrianmihai83 24 Jan 2015, 09:34 -
Code for beta-testing?
Controllers • 24 Mar 2014, 20:48 • andriej 9 Aug 2014, 10:44 -
RFM95W sleep() directly after send() often doesn't sleep radio
Bug Reports • 1 Jan 2023, 18:41 • prawnpie 8 Jan 2023, 05:36 -
some differences between serial- and tcp-gateways.
Bug Reports • 15 Mar 2023, 09:26 • Branther 30 Mar 2023, 15:40 -
Missing "__libc_init_array();" wenn using samd without USB
Bug Reports • 6 Jul 2022, 08:36 • ltigges 7 Jul 2022, 22:43