All pages
Powered by GitBook
1 of 1

Loading...

MTSCRA Class Methods - 21 - 30

getDeviceName

Get device model name.

public String getDeviceName()

Parameters: None

Return Value:

Return device model name.

clearBuffers

Clears buffered data retrieved from the reader.

public void clearBuffers() Parameters: None

Return Value: None

getBatteryLevel

Retrieves battery level.

public long getBatteryLevel()

Parameters: None

Return Value:

Battery Level (0 to 100)

Retrieves swipe count.

Parameters: None

Return Value:

Long value representing swipe count.

Retrieves MagnePrint capabilities.

Parameters: None

Return Value:

String representing MagnePrint capabilities:

  • 0 = No MagnePrint,

  • 1 = Short MagnePrint,

  • 2 = Long MagnePrint

Retrieves MagnePrint Encryption capabilities.

Parameters: None Return Value:

String representing MagnePrint Encryption capabilities:

  • 0 = No Encryption,

  • 1 = Same as MagStripe (8122), other values TBD.

  • If absent, default value is 1.

Retrieves MagneSafe 2.0 Encryption capabilities.

Parameters: None

Return Value:

String representing MagneSafe 2.0 Encryption capabilities. 0 = Not supported, other values TBD.

Retrieves MagneStripe Encryption capabilities.

Parameters: None

Return Value:

String representing MagStripe Encryption capabilities. 0 = No Encryption, 1 = TDES DUKPT / PIN Variant, other values TBD

Retrieves MSR capabilities.

Return Value:

String representing MSR capabilities. 0 = No MSR, 1 = MSR.

Retrieves Track capabilities.

Parameters: None Return Value:

String representing Track capabilities:

  • Bit 0 = 1 / Track 1 supported,

  • Bit 1 = 1 / Track 2 supported,

  • Bit 2 = 1 / Track 3 supported,

  • All other bits = 0.

getSwipeCount

getCapMagnePrint

getCapMagnePrintEncryption

getCapMagneSafe20Encryption

getCapMagStripeEncryption

getCapMSR

getCapTracks

public long getSwipeCount()
public String getCapMagnePrint()
public String getCapMagnePrintEncryption()
public String getCapMagneSafe20Encryption()
public String getCapMagStripeEncryption()
public String getCapMSR() Parameters: None
public String getCapTracks()