DCC-EX / WebThrottle-EX

WebThrottle-EX is a web based (html,jQuery,JavaScript) Controller/Throttle for DCC-EX EX-CommandStations
https://dcc-ex.com/WebThrottle-EX
GNU General Public License v3.0
21 stars 14 forks source link

Legacy mode #44

Open matt-vdv opened 3 years ago

matt-vdv commented 3 years ago

From #14

As more new features are added to CS, we may need a legacy mode to retain backwards compatibility to DCC++ Classic

FrightRisk commented 3 years ago

What do you see as breaking compatibility? I'm not very concerned about that. Though one thing we could do is read the version and not send anything classic would not understand

matt-vdv commented 3 years ago

@FrightRisk The only thing that breaks compatibility at the moment is new turnout command.

Fair point about breaking backwards compatibility though. I suppose that if a DCC++ Classic base station is connected, we could show a message to the user prompting them to update and notifying them not all features will be available unless they do.

Just a thought, it might be possible to use the GitHub API to check the latest release of CS then compare it to the version on the Arduino, notifying them if we have released a new version...