Owner's manual
Table Of Contents
- Section 1. MagTekSCRA Class
- Methods
- openDevice:
- closeDevice:
- isDeviceConnected
- clearBuffers
- getMaskedTracks
- getTrack1
- getTrack2
- getTrack3
- getTrack1Masked
- getTrack2Masked
- getTrack3Masked
- getMagnePrint
- getMagnePrintStatus
- getDeviceSerial
- getSessionID
- getKSN
- getTagValue
- getMagTekDeviceSerial
- getFirmware
- getDeviceName
- getDeviceCaps
- getDeviceStatus
- getTLVVersion
- getDevicePartNumber
- sendCommandToDevice
- getCapMSR
- getCapTracks
- getCapMagStripeEncryption
- setDeviceProtocolString
- listenForEvents
- getDeviceType
- getCardPANLength
- getResponseData
- getCardName
- getCardIIN
- getCardLast4
- getCardExpDate
- getCardServiceCode
- getCardStatus
- getTrackDecodeStatus
- getResponseType
- setDeviceType
- isDeviceOpened
- getBatteryLevel
- getSDKVersion
- getOperationStatus
- setConfigurationParams
- Notification
- Enum
- Methods
- Section 2. Commands
- Section 3. Code Examples

19
Enum
MTSCRADeviceType
MAGTEKAUDIOREADER
is used to open/close audio reader.
MTSCRATransactionStatus
TRANS_STATUS_OK is triggered when transaction succeed.
TRANS_STATUS_START is triggered when reader starts sending data.
TRANS_STATUS_ERROR is triggered when reader fails sending data.
MTSCRATransactionData
TLV_OPSTS
Operation Status
TLV_CARDSTS
Card Information
TLV_TRACKSTS
Card tracks status
TLV_CARDNAME
Card holder name
TLV_CARDIIN
Card issuer identification number
TLV_CARDLAST4
Last four digits of PAN number
TLV_CARDEXPDATE
Card Expiration date
TLV_CARDSVCCODE
Card service code
TLV_CARDPANLEN
The length of PAN number
TLV_ENCTK1
Encrypted track 1
TLV_ENCTK2