Commit graph

2 commits

Author SHA1 Message Date
f429d3da45 Refactor server handler
- rename protocols.Handler to ServerHandler
- rename ServerHandler methods to better express their purpose
- pass command and response as parameters
- simplify state machine and handle errors in serial/seriallink.go
- implement command read timeout
- remove currentCommand and currentResponse fields from MsgPackHandler
2022-11-29 11:45:59 +01:00
faaadbe5aa Move internal code to internal packages 2022-11-28 17:39:48 +01:00
Renamed from pkg/protocol/msgpack.go (Browse further)