Class Spark1Response


  • public class Spark1Response
    extends Object
    Represents an ISO15693 AUTHENTICATE response. Note: normal responses don't have a two-byte prefix. These are parsed manually.
    • Constructor Detail

      • Spark1Response

        public Spark1Response​(byte[] chipResponse)
        Creates an Spark1Response and processes the fed chip response.
        Parameters:
        chipResponse - the response from a Spark 1-style chip.
    • Method Detail

      • getResponse

        public byte[] getResponse()
        Get the chip response.
        Returns:
        a byte[] containing the response, zero-length if none.
      • getFlags

        public byte getFlags()
        Get the flags associated with the response.
        Returns:
        a byte containing the flags.
      • getBarker

        public byte getBarker()
        Get the Barker Code associated with the response.
        Returns:
        a byte containing the Barker Code.