refactor: split logic for incoming and outgoing json #3

Merged
nicu merged 6 commits from gw/optmisation into gateway 2022-10-27 11:05:38 +02:00

6 Commits

Author SHA1 Message Date
7df46560ee use reference to avoid copying
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-27 10:48:57 +02:00
101564bb6a separate sensor from generic in protocol 2 2022-10-27 10:44:05 +02:00
3e4c3f3461 cleanup 2022-10-26 10:36:54 +02:00
015607d2a9 separate fromJson logic 2022-10-26 10:36:26 +02:00
06f2186401 separate toJson logic for each protocol 2022-10-26 10:35:45 +02:00
ab4e406b2f return by value
split protocol handling
2022-10-25 23:23:49 +02:00