Class CoreIdRfidProtocol


  • public class CoreIdRfidProtocol
    extends RfidProtocol
    Common routines to extract the Tag information and validate checksum for implementations that use the CORE-ID / ID-Innovations protocol.
    This file is part of JMRI.

    JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

    JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    • Constructor Detail

      • CoreIdRfidProtocol

        public CoreIdRfidProtocol()
        Constructor for CORE-ID RFID Protocol. Used when a single reader is connected directly to a port, not via a concentrator.
      • CoreIdRfidProtocol

        public CoreIdRfidProtocol​(char concentratorFirst,
                                  char concentratorLast,
                                  int portPosition)
        Constructor for CORE-ID RFID Protocol. Supports the use of concentrators where a character range is used to determine the specific reader port.
        Parameters:
        concentratorFirst - character representing first concentrator port
        concentratorLast - character representing last concentrator port
        portPosition - position of port character in reply string