Section 1. magtekscra class – MagTek Audio Reader User Manual
Page 7

1
SECTION 1. MagTekSCRA CLASS
Methods:
openDevice:
Open device
closeDevice:
Close device
isDeviceConnected
Check the connection status of reader
clearBuffers
Clear card data that is stored through the setCardData function
getMaskedTracks
Retrieves the existing stored masked track data
getTrack1
Retrieves encrypted track1
getTrack2
Retrieves encrypted track2
getTrack3
Retrieves encrypted track3
getTrack1Masked
Retrieves masked track1
getTrack2Masked
Retrieves masked track2
getTrack3Masked
Retrieves masked track3
getMagnePrint
Retrieves encrypted MagnePrint
getMagnePrintStatus
Retrieves encrypted MagnePrintStatus
getDeviceSerial
Retrieves device serial number
getSessionID
Retrieves session ID
getKSN
Retrieves key serial number
getTagValue
Retrieves tag value in tracks data
getMagTekDeviceSerial
Retrieves device serial number created by MagTek
getDeviceName
Retrieves device model name
getDeviceCaps
Retrieves device capabilities
getDeviceStatus
Retrieves device status
getTLVVersion
Retrieves TLV version
getDevicePartNumber
Retrieves device part number
sendCommandToDevice
Send command to device
getCapMSR
Retrieve MSR Capability
getCapTracks
Retrieve Tracks Capability
getCapMagStripeEncryption Retrieve MagStripe Encryption Capability
setDeviceProtocolString
Sets the protocol String for iDynamo
listenForEvents
Setup the events to listen for
getDeviceType
Retrieves the Device Type
getCardPANLength
Retrieves the Length of teh PAN
getResponseData
Retrieved the whole Response from the reader
getCardName
Retrieves the Name in the Card
getCardIIN
Retrieves the IIN in the Card
getCardLast4
Retrieves the Last 4 of the PAN
getCardExpDate
Retrieves the Expiration Date
getCardServiceCode
Retrieves the Service Code
getCardStatus
Retrieves the Card Status
getTrackDecodeStatus
Retrieves the Track Decode Status
getResponseType
Retrieve Response Type
setDeviceType
Sets the type of device to Open
isDeviceOpened
Retrieves device opened status
Classes
Description
MagTekSCRA
This class allows you to perform reader functions.