
i Audio Reader PROGRAMMING REFERENCE MANUAL PART NUMBER 99875582-1 SEPTEMBER 2012 Confidential This document contains the proprietary in
4 getMaskedTracks Retrieves existing stored Masked data, only supported for iDynamo, it will return a empty string in audio reader. If decodable
5 getTrack2 Retrieve Encrypted Track2 if any. This field contains the encrypted track data for track 2. - (NSString *) getTrack2 Parameters Re
6 getTrack1Masked Retrieve Masked Track1 if any - (NSString *) getTrack1 Parameters Return Value Return stored masked track1 data string. Fo
7 For an AAMVA card, the DL/ID# is masked as follows: • The specified number of initial characters are sent unmasked. The specified number of
8 getMagnePrintStatus Supported on uDynamo only - (NSString *) getMagnePrintStatus Parameters Return Value Empty String. This Binary field r
9 be retrieved and set with the device serial number property explained in the property section of this document. This field is stored in non-vo
10 getTagValue Retrieve individual tag value, only supported in audio reader - (NSString *) getTagValue: (UInt32)tag Parameters tag A MTSCRATr
11 getDeviceCaps Get device capabilities. For future use. - (NSString *) getDeviceCaps Parameters Return Value Return device capabilities.
12 sendCommandToDevice Send command to device. - (Void *) sendCommandToDevice: (NSString *)pData Parameters Command string. Return Value Sen
13 setDeviceProtocolString Sets the protocol String for iDynamo - (void) setDeviceProtocolString: (NSString *)pData Parameters Protocol String
ii Copyright© 2001-2012 MagTek®, Inc. Printed in the United States of America Information in this document is subject to change without notice. No
14 getCardName Retrieves the Name in the Card - (NSString *) getCardName Parameters Return Value Card Name getCardIIN Retrieves the IIN in
15 getCardStatus Retrieves the Card Status - (NSString *) getCardStatus Parameters Return Value Card Status getTrackDecodeStatus Retrieves t
16 MTSCRADeviceType. MAGTEKNONE isDeviceOpened Retrieves device opened status - (BOOL) isDeviceOpened Parameters Return Value Boolean wh
17 getOperationStatus Retrieves the operation status. - (NSString *) getOperationStatus Parameters Return Value 2-byte bit string in hex. Th
18 Notification trackDataReadyNotification Notification received when tracks data is available on reader. devConnectionNotification Notificat
19 Enum MTSCRADeviceType MAGTEKAUDIOREADER is used to open/close audio reader. MTSCRATransactionStatus TRANS_STATUS_OK is triggered
20 Encrypted track 2 TLV_ENCTK3 Encrypted track 3 TLV_DEVSN Device serial number TLV_DEVSNMAGTEK Device serial number created
21 SECTION 2. COMMANDS Discovery Send discovery command to device. - (Void *) sendCommandToDevice: (NSString *)command Parameters Command strin
22 4 = Supported tracks: Track3. 5 = Supported tracks: Track1, Track3. 6 = Supported tracks: Track2, Track3. 7 = Supported tracks: Track1, Track2,
23 SECTION 3. CODE EXAMPLES Open Device: self.mtSCRALib = [[MTSCRA alloc] init]; [self.mtSCRALib listenForEvents:(TRANS_EVENT_OK|TRANS_EV
iii SOFTWARE LICENSE AGREEMENT IMPORTANT: YOU SHOULD CAREFULLY READ ALL THE TERMS, CONDITIONS AND RESTRICTIONS OF THIS LICENSE AGREEMENT BEFORE INSTAL
24 NSLog(@"TRANS_STATUS_ERROR"); break; default: break;
iv Table of Contents Section 1. MagTekSCRA Class ... 1 Meth
v getResponseType ... 15 setDeviceType...
1 SECTION 1. MagTekSCRA CLASS Methods: openDevice: Open device closeDevice: Close device isDeviceConnected Check the connection status of reader
2 Notifications: trackDataReadyNotification Receieves notification when track data is available on reader devConnectionNotification Receieves not
3 Methods openDevice: This function opens the reader. - (BOOL) openDevice Parameters Return Value YES if the device is opened successfully. Ot
Kommentare zu diesen Handbüchern