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?


  • Admin

    @klim

    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.



Suggested Topics

  • 3
  • 3
  • 33
  • 2
  • 2
  • 5

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts