Package com.vivokey.chipscanlib
Class Spark1Response
- java.lang.Object
-
- com.vivokey.chipscanlib.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 Summary
Constructors Constructor Description Spark1Response(byte[] chipResponse)
Creates an Spark1Response and processes the fed chip response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getBarker()
Get the Barker Code associated with the response.byte
getFlags()
Get the flags associated with the response.byte[]
getResponse()
Get the chip response.
-
-
-
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.
-
-