Open433 icon indicating copy to clipboard operation
Open433 copied to clipboard

Consider using ArduinoJSON as serial protocol

Open tobiasdiez opened this issue 5 years ago • 3 comments
trafficstars

Currently you use a custom serial protocol to communicate between the Arduino and the host. It might be more robust/extendable to use JSON as the format. This should also streamline the code somewhat.

ArduinoJSON seems to be a great library for this. Of course, there is a bit of overhead involved when using JSON (see https://arduinojson.org/news/2019/11/19/arduinojson-vs-arduino_json/ for performance details).

tobiasdiez avatar Nov 05 '20 09:11 tobiasdiez

True I might look into it but you just thrown a lot of changes at me in no time 😃 so I will need some time to do all that especially since I don't have a lot of it

TheStaticTurtle avatar Nov 05 '20 10:11 TheStaticTurtle

Sure, take your time. There is no need for hurry!

tobiasdiez avatar Nov 05 '20 12:11 tobiasdiez

Opened a new branch for it (arduino_json_migration), might be a couple of weeks until I finish it really busy right now

TheStaticTurtle avatar Nov 09 '20 17:11 TheStaticTurtle