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

15
getCardStatus
Retrieves the Card Status
- (NSString *) getCardStatus
Parameters
Return Value
Card Status
getTrackDecodeStatus
Retrieves the Track Decode Status. This is a one-byte value, which indicates the status of
decoding track 1. Bit position zero indicates if there was an error decoding track 1 if the bit is
set to one. If it is zero, then no error occurred. If a track has data on it that is not noise, and it is
not decodable, then a decode error is indicated. If a decode error is indicated, the corresponding
track data length value for the track that has the error will be set to zero and no valid track data
will be supplied.
- (NSString *) getTrackDecodeStatus
Parameters
Return Value
Track Decode Status. Consists of three 2-byte hex values
representing the decode status for tracks 1, 2, and 3 (respectively
from left to right).
Values are:
00 = Track OK
01 = Track read Error
02 = Track is Blank
getResponseType
Retrieves the Response Type.
- (NSString *) getResponseType
Parameters
Return Value
For Audio Reader, always “C101”.
setDeviceType
Sets the type of device to Open
- (void) setDeviceType: (UInt32 *)deviceType
Parameters
Device Type. Options:
MTSCRADeviceType.MAGTEKAUDIOREADER
MTSCRADeviceType. MAGTEKIDYNAMO