Class UsbDcs210PlusAdapter

    • Method Detail

      • setSerialPort

        protected void setSerialPort​(purejavacomm.SerialPort activeSerialPort)
                              throws purejavacomm.UnsupportedCommOperationException
        Sets up the serial port characteristics. Always uses flow control, which is not considered a user-settable option. Sets the DCS210Plus USB interface for the appropriate operating mode, based on the selected "command station type".
        setSerialPort in class LocoBufferAdapter
        activeSerialPort - the port to be configured
        purejavacomm.UnsupportedCommOperationException - Usually if the hardware isn't present or capable
      • configure

        public void configure()
        Set up all of the other objects to operate with a DCS210Plus USB interface connected to this port. This overrides the version in loconet.locobuffer, but it has to duplicate much of the functionality there, so the code is basically copied.
        Specified by:
        configure in interface PortAdapter
        Specified by:
        configure in interface SerialPortAdapter
        configure in class LocoBufferAdapter
      • commandStationOptions

        public java.lang.String[] commandStationOptions()
        The DCS210Plus USB interface can be used as a "Standalone Programmer", or with various LocoNet command stations, or as an interface to a "Standalone LocoNet". Provide those options.
        an array of strings containing the various command station names and name(s) of modes without command stations