DCC-EX / CommandStation-EX

EX-CommandStation firmware from DCC-EX. Includes support for WiFi and a standalone WiThrottle server. A complete re-write of the original DCC++.
https://dcc-ex.github.io/
GNU General Public License v3.0
155 stars 107 forks source link

wiThrottle 'N' cmd does not respond as per spec #250

Closed flash62au closed 2 years ago

flash62au commented 2 years ago

sending a wiThrottle 'N' cmd (device name) to the CS should cause the CS to respond with a heartbeat and time out period.
The DC++EX CS does not respond to the cmd.

see https://www.jmri.org/help/en/package/jmri/jmrit/withrottle/Protocol.shtml#Commands for the spec.

flash62au commented 2 years ago

looking at the code, it only sends the heart beat if it has previously received a "HU" (device Id) cmd. That does not appear in the spec, but I can work with it.