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.
1 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 -
Making WiFiManager compatible with MySensors 2.3.2
Bug Reports • 12 Feb 2020, 21:43 • pihome 1 Jun 2022, 16:02 -
sleep(0) in V2.1 doesn't sleep indefinitely anymore. Used to powerdown and sleep in V1.5
Bug Reports • 22 Nov 2019, 00:35 • GaryStofer 15 Apr 2023, 05:50 -
ESP32 + Signing fails after xxx msg as result of memory leak
Bug Reports • 6 Apr 2020, 18:43 • Technovation 7 Mar 2022, 10:37