Other Control Commands

{From the laptop (4) to the Raspberry Pi (3)}

The interface to the Base Station is not standardized. NMRA defines the DCC standards between a Base Station and the hardware NOT the controllers to the Base Station. The following added commands from the laptop to the Raspberry Pi need to be coordinated only with the DCC++ commands going from the laptop to the Base Station (Arduino) through the same channel.


Command summary

    • < -- Start of added command
    • I|s – Command character
    • Zero bytes or {text string}
    • > -- End of added command


Added command response summary

    • < -- Start of response
    • I| -- Response character
    • Variable return data
    • > -- End of response


  • Log Information

Insert text string into the logging output. The though was to provide synchronization between the Laptop program and the Raspberry Pi logging data.

<I {text string}>

Returns: <I {text string}> Echo the laptop command.


  • Status request

Status request for both the Arduino Base Station and the Raspberry Pi. For Base Station response see DCC++ Commands

<s>

Returns:

Arduino:

      • Track power status <p0> or <p1>
      • Throttle status
      • Turnout status (see <T>)
      • Sensor status (see <S>)
      • Output status (see <Z>)
      • Base Station version number
      • Network connection

Raspberry Pi:

      • Raspberry Pi version number
      • Network connection
      • Signal status (see added <K>)
      • Sensor status (see added <S>)