All pages
Powered by GitBook
1 of 1

Loading...

Commands

Custom software can use the sendCommandToDevice method to send direct commands to the device. This section provides information about commonly used commands.

Discovery

To send a command to device, use:

public void sendCommandToDevice(String command)

Parameters: Use “C10206C20503840900” as command string for audio readers.

Return Value:

The following device information will be retrieved.

  • Device SN, internal: Device serial number created by chip manufacturer. Use getDeviceSerial method to retrieve data.

  • Device SN, MagTek: Device serial number created by MagTek. Use getDeviceSerialMagTek method to retrieve data.

  • Device Firmware Part Number: Device firmware part number. Use getFirmware method to retrieve data.

  • Device Model Name: Device model name. Use getDeviceName method to retrieve data. Device TLV Version: Device TLV version. Use getTLVVersion method to retrieve data.

  • Device Part Number: Device part number. Use getDevicePartNumber method to retrieve data. Capability - MSR: 0 = No MSR, 1 = MSR. Use getCapMSR method to retrieve data.

Capability - TRACKS:

  • 0 = Supported tracks: None.

  • 1 = Supported tracks: Track1.

  • 2 = Supported tracks: Track2.

  • 3 = Supported tracks: Track1, Track2.

Use getCapTracks method to retrieve data.

Capability - MagStripe Encryption:

  • 0 = No Encryption,

  • 1 = TripDES DUKPT.

Use: getCapMagStripeEncryption method to retrieve data.

  • 4 = Supported tracks: Track3.

  • 5 = Supported tracks: Track1, Track3.

  • 6 = Supported tracks: Track2, Track3.

  • 7 = Supported tracks: Track1, Track2, Track3.