Idea
Extract the Z21, WiThrottle, and LocoNet protocol handling layer into a separate loco repository.
That repo would produce:
- a library with a public protocol API,
- the
loco CLI tool.
In parallel, slim down the current loco code: remove subcommands related to handling various decoders (programming, mappings, factory reset, etc.). The extracted repo should focus on the protocol layer and locomotive control; decoder-specific logic is out of scope.
Goal: clearer separation of concerns, a smaller and simpler loco, and a reusable protocol library for BigFred and other ecosystem components.
Implementation and migration details to be refined during execution.
Idea
Extract the Z21, WiThrottle, and LocoNet protocol handling layer into a separate
locorepository.That repo would produce:
locoCLI tool.In parallel, slim down the current
lococode: remove subcommands related to handling various decoders (programming, mappings, factory reset, etc.). The extracted repo should focus on the protocol layer and locomotive control; decoder-specific logic is out of scope.Goal: clearer separation of concerns, a smaller and simpler
loco, and a reusable protocol library for BigFred and other ecosystem components.Implementation and migration details to be refined during execution.