Class SeeedStudioRfidProtocol


  • public class SeeedStudioRfidProtocol
    extends RfidProtocol
    Common routines to extract the Tag information and validate checksum for implementations that use the SeeedStudio 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

      • SeeedStudioRfidProtocol

        public SeeedStudioRfidProtocol()
        Constructor for SeeedStudio RFID Protocol. Used when a single reader is connected directly to a port, not via a concentrator.
      • SeeedStudioRfidProtocol

        public SeeedStudioRfidProtocol​(char concentratorFirst,
                                       char concentratorLast,
                                       int portPosition)
        Constructor for SeeedStudio 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