Class SerialAdapter

  • All Implemented Interfaces:
    PortAdapter, SerialPortAdapter

    public class SerialAdapter
    extends AbstractSerialPortController
    Implements SerialPortAdapter for the RPS system.

    Unlike many other SerialPortAdapters, this also converts the input stream into Readings that can be passed to the Distributor.

    This version expects that the "A" command will send back "DATA,," followed by a list of receivers numbers, and data lines will be "0,0,0,0": A value for each address up to the max receiver, even if some are missing (0 in that case)