background image

 
 
 

 

 

Copyright © 2010-2014, International Technologies & Systems Corp.  All rights reserved. 

 

Page 63 of 74 

SecureMag User Manual 

0x32 – MSR Reading 
Buffered Mode Enabled 
0x33 Auto MSR Buffered 
Mode Enabled 

DTEnableSen
dID 

1B 

DT Enable 
Send 

‘0’(‘0’,’1’,’3’) 

Data Editing Control 

0x30 – Disable Data Edit. 

0x31 – Data Edit Match 
mode. 
0x33 – Data Edit Unmatch 
mode 

i

DecodingMeth
odID 

1D 

Decoding 
Direction 

‘1’ (‘0’~’3’) 

Reading Direction 
0x30 – Raw Data Decoding 
in Both Directions. 

0x31 – Decode in Both 
directions. 

0x32 – Moving Stripe Along 
Head 

in 

Direction 

of 

Encoding. 
0x33 – Moving Stripe Along 
Head Against Direction of 
Encoding. 

 

ReviewID 

1F 

Review All 
Settings 

None 

 

 

TerminatorID 

21 

Terminator 

0x0D (any) 

CR for RS232, Enter for KB 

FmVerID 

22 

Firmware 
Version  

None 

 

 

USBHIDFmtI

23 

USB HID Fmt 
(HID rdr only) 

‘0’ (‘0’~’1’, 
‘8’) 

‘0’ ID TECH Format; ‘1’ 
Mag-Tek Format;  ‘8’ 
HIDKB format 

u

ForeignKBID 

24 

Foreign KB 

'0' ('0' ~0x3A) 

Foreign Keyboard 

CustSetID 

30 

Custom 
Customer 
Settings 

00(00-07) 

.0 POS-X: Level 3 Non-CC 
send same as Level1 
.1 Level3: No empty pkt 
when not enough sampling 
bits 
.2 Enhanced Secured Output 
will have SN after hash 

 

Track1PrefixI

34 

Track 1 Prefix 

0 (any string) 

No prefix for track 1, 6 char 
max 

Track2PrefixI

35 

Track 2 Prefix 

0 (any string) 

No prefix for track 2, 6 char 
max 

Track3PrefixI

36 

Track 3 Prefix 

0 (any string) 

No prefix for track 3, 6 char 
max 

Summary of Contents for SecureMag

Page 1: ...USER MANUAL SecureMag Encrypted MagStripe Reader USB RS232 and PS2 Interface 80096504 001 RevM 9 16 2015 ...

Page 2: ...rect the interference at his expense FCC COMPLIANCE STATEMENT This device complies with Part 15 of the FCC Rules Operation of this device is subject to the following conditions this device may not cause harmful interference and this device must accept any interference received including interference that may cause undesired operation CANADIAN DOC STATEMENT This digital apparatus does not exceed th...

Page 3: ...please contact ID TECH to obtain a Return Material Authorization RMA number instructions for returning the product THIS WARRANTY IS IN LIEU OF ALL OTHER WARRANTIES OF MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE THERE ARE NO OTHER WARRANTIES OR GUARANTEES EXPRESS OR IMPLIED OTHER THAN THOSE HEREIN STATED THIS PRODUCT IS SOLD AS IS IN NO EVENT SHALL ID TECH BE LIABLE FOR CLAIMS BASED UPON BREA...

Page 4: ...original and enhanced security structures and descriptions Bruce K A8 09 07 2010 Added PS2 interface Jimmy W A9 09 10 2010 Updated demo software screenshots Revised data format information General edits Jenny W B 09 24 2010 Added decryption example for level 3 and 4 original and enhanced encryption format Revised to include more detailed explanations on the command format and security features Jen...

Page 5: ...ecureMag firmware v5 00 for serial interface and v 5 03 for USB interface Candy H J 06 06 2013 Remove key loading command Candy H K 03 26 2014 Update HIDSIZE definition Clarify data length in enhanced format to be Track 1 unencrypted data length Jimmy W Candy H L 06 19 2014 Update the track length on page 53 Candy H M 9 16 2015 Correct Section 10 5 Encryption Output Format Setting to correct Hex v...

Page 6: ... Settings 19 7 8 3 MSR Reading Settings 20 7 8 4 Decoding Method Settings 20 7 8 5 Terminator Setting 20 7 8 6 Preamble Setting 20 7 8 7 Postamble Setting 21 7 8 8 Track n Prefix Setting 21 7 8 9 Track x Suffix Setting 21 7 8 10 Track Selection 21 7 8 11 Track Separator Selection 22 7 8 12 Start End Sentinel and Track 2 Account Number Only 22 8 Security Features 23 8 1 Encryption Management 24 8 2...

Page 7: ...10 7 Decryption Example 48 10 7 1 Security Level 3 Decryption Original Encryption Format 48 10 7 2 Security Level 4 Decryption Original Encryption Format 51 10 7 3 Security Level 3 Decryption Enhanced Encryption Format 51 10 7 4 Security Level 4 Decryption Enhanced Encryption Format 54 10 8 Level 4 Activate Authentication Sequence 55 Appendix A Setting Configuration Parameters and Values 60 Append...

Page 8: ...32 as well as PS2 interfaces 2 Features and Benefits Bi directional card reading Reads encoded data that meets ANSI ISO AAMVA standards and some custom formats such as ISO track 1 format on track 2 or 3 Reads up to three tracks of card data A LED and a beeper on the reader provide status of the reading operations Compatible with USB specification Revision 2 0 USB interface Compatible with HID spec...

Page 9: ...an Interface Device IPS Inches per Second ISO International Organization for Standardization JIS Japanese Industrial Standard JPOS Java for Retail Point Of Sale KB Keyboard KSN Key Serial Number LED Light Emitting Diode LRC Longitudinal Redundancy Check Character MAC Message Authentication Code MSR Magnetic Stripe Reader OLE Object Linking and Embedding OPOS OLE for Retail Point Of Sale OTP One Ti...

Page 10: ...ysical ISO 7811 1 through 6 Identification Cards Track 1 through 3 ISO 7816 1 through 4 Identification Cards Integrated circuit cards with contacts ISO 4909 Magnetic stripe content for track 3 ISO 7812 Identification Cards Identification for issuers Part 1 2 ISO 7813 Identification Cards Financial Transaction Cards ANSI X 94 Retail Financial Services Symmetric Key Management ...

Page 11: ...e are no errors decoding the card data then the LED will turn green If there are any errors decoding the card data the LED will turn red for less than one second to indicate that an error occurred and then turn green The reader LED will be off during the data transfer and is ready to read another card when the LED returns to green A red LED indicates an error and the beeper will also provide error...

Page 12: ...rs Tri color LED o Red indicates bad read o LED off while reading and decoding o Green indicates good read and ready to read Beeper o A beep sound indicates good read Communication Interface RS232 o Baud Rate 1200 2400 4800 9600 19200 38400 56700 115200 o Data bits 8 o Stop bits 1 or 2 o Parity off odd even mark or space o Supports RTS CTS hardware and Xon Xoff software handshaking USB o Complies ...

Page 13: ...end and P1 is DB 9 end RTS and CTS are not used unless hardware handshaking support is enabled by Function ID 0x44 Handshake USB o IDT standard USB interface cable o Series A plug o Standard cable length is 6 feet o Pin Out Table J1 Color Signal P1 1 CASE_GND SHELL 3 GRN DATA 3 5 Red V_IN 1 6 White DATA 2 7 BLK GND 4 Keyboard wedge o IDT standard Keyboard Wedge cable o Y cable with dual PS 2 6 pin...

Page 14: ...Copyright 2010 2014 International Technologies Systems Corp All rights reserved Page 14 of 74 SecureMag User Manual PS 2 Connector LED indicator 2mmx5mm Green Red dual color under firmware control ...

Page 15: ...tween Setting Commands and Get Settings Commands Setting Command The setting data command is a collection of many function setting blocks and its format is as follows Command STX S FuncSETBLOCK1 FuncBLOCKn ETX LRC Response ACK or NAK for wrong command invalid funcID length and value Each function setting block FuncSETBLOCK has following format FuncID Len FuncData Where FuncID is one byte identifyi...

Page 16: ...e reset does not resend startup string M 4D OPOS JPOS Command Command to enter OPOS or JPOS mode P 50 Arm Disarm to Read Arm to Capture Buffer Mode MSR Q 51 Read Buffered Data Read Stored MSR Data R 52 Read MSR Options Read various reader optional settings S 53 Set MSR Options Set various reader optional functions Notation used throughout the document Bold boldface font indicates default setting v...

Page 17: ...I 06 02ID TECH TM3 SecureMag RS232 Reader V 3 19 03 LRC 7 3 Reader Reset Command 02 49 03 48 The reader supports a reset reader command This allows the host to return the reader to its default state Response is as follows 06 7 4 OPOS JPOS Command There are three forms of the command 02 4D 01 30 03 7D Enter Standard Mode Exit OPOS Mode 02 4D 01 31 03 7C Enter OPOS Mode 02 4D 01 32 03 7F Enter JPOS ...

Page 18: ...s NAK P command length must be 1 NAK P command must be 0x30 or 0x32 NAK Reader not configured for buffered mode NAK Reader not configured for magstripe read NAK for keyboard interface is FD non KB mode NAK is 15 7 6 Read Buffered MSR Data Command 02 51 01 Track Selection Option 03 LRC The Track Select Option byte is defined as follows 0 Any Track 1 Track 1 2 Track 2 3 Track 1 and Track 2 4 Track 3...

Page 19: ...ID Len FuncData Where FuncID is one byte identifying the setting s for the function Len is a one byte length count for the following function setting block FuncData FuncData is the current setting for this function It has the same format as in the sending command for this function FuncSETBLOCK are in the order of their Function ID FuncID 7 8 Set MSR Options Command The default value is listed in b...

Page 20: ...irection and still read the data encoded on the magnetic stripe Otherwise the card can only be swiped in one specified direction to read the card Raw Decoding just sends the card s magnetic data in groups of 4 bits per character No checking is done except to verify track has or does not have magnetic data 7 8 5 Terminator Setting Terminator characters are used to end a string of data in some appli...

Page 21: ...fic track to the receiving host or any other character string Up to six ASCII characters can be defined 02 53 n Len Prefix 03 LRC Where n is 34h for track 1 35h for track 2 and 36h for track 3 Len the number of bytes of prefix string Prefix string length string NOTE String length is one byte maximum six 7 8 9 Track x Suffix Setting Characters can be added to the end of track data These can be spec...

Page 22: ...ion allows the user to select the character to be used to separate data decoded by a multiple track reader 02 53 17 01 Track_Separator 03 LRC Track_Separator is one ASCII Character The default value is CR 0h means no track separator 7 8 12 Start End Sentinel and Track 2 Account Number Only The SecureMag can be set to either send or not send the Start End sentinel and to send either the Track 2 acc...

Page 23: ...the decoded track data is sent out in default mode Level 2 Key Serial Number and Base Derivation Key have been injected but the encryption process is not yet activated The reader will send out decoded track data in default format Setting the encryption type to TDES and AES will change the reader to security level 3 Level 3 Both Key Serial Number and Base Derivation Keys are injected and encryption...

Page 24: ...n Initialization Vector starting at all binary zeroes and the Encryption Key associated with the current DUKPT KSN 8 2 Check Card Format ISO ABA American Banking Association Card card type 0 Encoding method Track1 is 7 bits encoding Track1 is 7 bits encoding Track2 is 5 bits encoding Track3 is 5 bits encoding Track1 is 7 bits encoding Track2 is 5 bits encoding Track2 is 5 bits encoding Additional ...

Page 25: ... be masked using mask character Set PrePANClrData N PostPANClrData M MaskChar Mask Character N and M are configurable and default to 4 first and 4 last digits They follow the current PCI constraints requirements N 6 M 4 maximum Mask character default value is Set PrePANClrDataID N parameter range 00h 06h default value 04h Set PostPANClrDataID M parameter range 00h 04h default value 04h MaskCharID ...

Page 26: ...ng the Demo Program ID TECH SecureMag Demo is provided to demonstrate features of the Encrypted MSR It supports decrypting the encrypted data and sending command to MSR Overview of SecureMag Demo Screenshot of RS232 Demo Software The demo software is similar for each interface with exception of interface specific settings ...

Page 27: ...field and the command will be sent Command will be sent out in the following structure STX Command_Data ETX LRC where STX 02h ETX 03h Command_Data Please refer to Appendix A for a complete list of commands LRC is a one byte Xor value calculated for the above data block from STX to ETX eg 02 53 18 03 4A Set Default Configuration eg 02 52 22 03 71 Read Firmware Version Press Send Command the input a...

Page 28: ...By default the cursor is in Manual Command Encrypted Data textbox To get the decrypted data press the Decrypt button and the decrypted card data will be displayed in the lower box The default initial key is 0123456789ABCDEFFEDCBA9876543210 If the reader is programmed with a user defined key load the same key to the demo software by pressing the Input Initial Key button Type the initial key in the ...

Page 29: ...ight 2010 2014 International Technologies Systems Corp All rights reserved Page 29 of 74 SecureMag User Manual The Key Value KSN and Decrypted Data will be shown in the command output decrypted data textbox ...

Page 30: ...he text box and press the Send Command button General Setting Provide options such as reader default settings firmware version beeper options and buffered mode options For USB demo software there are options to set the reader to USB KB or USB HID mode MSR Security The security is enabled by selecting TDES or AES Once the encryption is enabled the reader cannot be changed back to non encrypted mode...

Page 31: ...ed in the HID mode it behaves like a vendor defined HID device A direct communication path can be established between the host application and the reader without interference from other HID devices 10 1 Level 1 and level 2 Standard Mode Data Output Format USB HID Output Format Card data is only sent to the host on the Interrupt In pipe using an Input Report The reader will send only one Input Repo...

Page 32: ... was an error decoding the track Card Encode Type Value Encode Type Description 0 ISO ABA ISO ABA encode format 1 AAMVA AAMVA encode format 3 Other The card has a non standard format For example ISO ABA track 1 format on track 2 4 Raw The card data is sent in Raw encrypted format All tracks are encrypted and no mask data is sent T1 T2 or T3 data The length of each track data field is fixed at 110 ...

Page 33: ...is subject to change Software should auto adjust in case enumeration changes 10 1 2 Descriptor Tables Device Descriptor Field Value Description Length 12 Des type 01 bcd USB 00 02 USB 2 0 Device Class 00 Unused Sub Class 00 Unused Device Protocol 00 Unused Max Packet Size 08 VID 0A CD PID 20 10 20 20 20 30 HID ID TECH Structure HID Other Structure HID Keyboard BCD Device Release 00 01 i Manufactur...

Page 34: ...09 Des type 21 HID bcdHID 11 01 Control Code 00 numDescriptors 01 Number of Class Descriptors to follow DescriptorType 22 Report Descriptor Descriptor Length 37 00 3D 00 52 00 HID ID TECH format HID Other format HID Keyboard format End Pointer Descriptor Field Value Description Length 07 Des Type 05 End Point EP Addr 83 EP3 In Attributes 03 Interrupt MaxPacketSize 40 00 bInterval 01 Report Descrip...

Page 35: ...01 Report Count 1 75 08 Report Size 26 FF 00 Logical Maximum 75 08 Report Size 09 20 Usage Tk1 Decode Status 09 21 Usage Tk2 Decode Status 09 22 Usage Tk3 Decode Status 09 28 Usage Tk1 Data Length 09 29 Usage Tk2 Data Length 09 2A Usage Tk3 Data Length 09 38 Usage Card Encode Type 95 07 Report Count 81 02 Input Data Var Abs Bit Field 09 30 Usage Total Sending Length 95 02 Report Count 2 82 02 01 I...

Page 36: ...9 66 Usage Maximum 102 81 00 Input Data Array 06 2D FF Usage Page ID TECH 95 01 Report Count 26 FF 00 Logical maximum 255 15 01 Logical Minimum 75 08 Report Size 8 09 20 Usage Setup data byte 95 08 Report Count 8 B2 02 01 Feature Data Var Abs C0 End Collection 10 2 Level 1 and level 2 POS Mode Data Output Format In POS mode use the special envelope to send out card data envelope is in the followin...

Page 37: ...e has Right Shift Left Shift Right Ctrl Left Ctrl under POS mode Read Error Read Error 1 byte bits MB LB 0 B6 B5 B4 B3 B2 B1 B0 B0 1 Track 1 sampling data exists 0 Track 1 sampling data does not exist B1 1 Track 2 sampling data exists 0 Track 2 sampling data does not exist B2 1 Track 3 sampling data exists 0 Track 3 sampling data does not exist B3 1 Track 1 decode success 0 Track 1 decode fail B4 ...

Page 38: ... Error Track x error is a byte of flags it will be in format of 0 0 1 b4 b3 b2 b1 b0 b0 1 Start sentinel error 0 Not start sentinel error b1 1 End sentinel error 0 Not end sentinel error b2 1 Parity error 0 Not parity error b3 1 LRC error 0 Not LRC error b4 1 Other error 0 Not other error Track x Error is set to 0x20 in OPOS raw data mode Track Length Assume actual Track x Data Length is hex code ...

Page 39: ... card encoding type 0 ISO ABA 4 for Raw Mode track status bit 0 1 2 T1 2 3 decode bit 3 4 5 T1 2 3 sampling track 1 unencrypted length 1 byte 0 for no track1 data track 2 unencrypted length 1 byte 0 for no track2 data track 3 unencrypted length 1 byte 0 for no track3 data track 1 masked Omitted if in Raw mode track 2 masked Omitted if in Raw mode track 3 data Omitted if in Raw mode track 1 2 encry...

Page 40: ...ncrypted length 1 byte 0 for no track1 data track 2 unencrypted length 1 byte 0 for no track2 data track 3 unencrypted length 1 byte 0 for no track3 data if card encoding type high bit set mask and clear sent track status encrypt and hash sent track status In this mode tracks are encrypted separately rather than as a group track 1 masked Omitted if in Raw mode track 2 masked Omitted if in Raw mode...

Page 41: ...ryption Option Encryption Option default 08h bit0 1 track 1 force encrypt bit1 1 track 2 force encrypt bit2 1 track 3 force encrypt bit3 1 track 3 force encrypt when card type is 0 bit4 1 new mask feature see note 4 below Note 1 When force encrypt is set this track will always be encrypted regardless of card type No clear mask text will be sent 2 If and only if in enhanced encryption format each t...

Page 42: ...thout mask 3 Hash Option Setting Command 53 5C 01 Hash Option Hash Option 0 7 Bit0 1 track1 hash will be sent if data is encrypted Bit1 1 track2 hash will be sent if data is encrypted Bit2 1 track3 hash will be sent if data is encrypted 4 Mask Option Setting for enhanced encryption format only Command 53 86 01 Mask Option Mask Option Default 0x07 bit0 1 tk1 mask data allow to send when encrypted b...

Page 43: ...rd Data card data format is shown below ISO ABA Data Output Format 0 STX 1 Data Length low byte 2 Data Length high byte 3 Card Encode Type1 4 Track 1 3 Status2 5 Track 1 unencrypted data length 6 Track 2 unencrypted data length 7 Track 3 unencrypted data length 8 Clear masked data sent status 3 9 Encrypted Hash data sent status 4 10 Track 1 clear mask data Track 2 clear mask data Track 3 clear mas...

Page 44: ...ormat and 0x for original encryption format Value Encode Type Description 00h 80h ISO ABA format 01h 81h AAMVA format 03h 83h Other 04h 84h Raw un decoded format For Type 04 or 84 Raw data format all tracks are encrypted and no mask data is sent No track indicator 01 02 or 03 in front of each track Track indicator 01 02 and 03 will still exist for non encrypted mode Note 2 Track 1 3 status byte Fi...

Page 45: ...k 1 hash data present Bit 4 1 track 2 hash data present Bit 5 1 track 3 hash data present Bit 6 1 session ID present Bit 7 1 KSN present 10 6 Additional Description Except for USBKB and PS2 interfaces track formatting preamble prefix separator etc is not supported in a reader set to send encrypted track data The track data is always sent in the same format that is with no special formatting so tha...

Page 46: ... the DUKPT Derived Key exclusive or ed with 0000000000FF0000 0000000000FF0000 to get the resulting intermediate variant key The left side of the intermediate variant key is then TDES encrypted with the entire 16 byte variant as the key After the same steps are preformed for the right side of the key combine the two key parts to create the Data Key How to get Encrypted Data Length The encrypted tra...

Page 47: ...the following Track Status bit0 1 2 T1 2 3 decode bit 3 4 5 T1 2 3 sampling Sampling Decoding Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Track 1 Empty 0 1 Track 2 Empty 0 1 Track 3 Empty 0 1 Track 1 Decoded 1 1 Track 2 Decoded 1 1 Track 3 Decoded 1 1 Track 1 Fail To Decode 1 0 Track 2 Fail To Decode 1 0 Track 3 Fail To Decode 1 0 2 Please be aware that track status byte in secured output is different fro...

Page 48: ...nt KSN present Session ID not present Additional Settings Send LRC in secured mode 6F 53 6F 01 31 to send LRC in secure mode Default 53 6F 01 30 Remove LRC in secure mode Display Expiration Data 50 53 50 01 30 Do not display Expiration Date Exp date Masked Default 53 50 01 31 Display Expiration Data Reader Serial Number 4E The serial number will be set to the same as S N in unit s label The length...

Page 49: ...e track status length track 1 length track 2 length track 3 02 7D01 00 3F 48 23 6B The above broken down and interpreted 02 STX character 7D low byte of total length 01 high byte of total length 00 card type byte interpretation old format ABA card 3F 3 tracks of data all good 48 track 1 clear mask data length 23 track 2 clear mask data length 6B track 3 clear mask data length Track 1 data masked l...

Page 50: ...unencrypted in ASCII 33333333337676760707077676763333333333767676070707767676333333333376767 607070776767633333333337676760707 2 Key Value F8 2A 7A 0D 7C 67 46 F1 96 18 9A FB 54 2C 65 A3 KSN 62 99 49 01 19 00 00 00 00 01 Decrypted Data in ASCII B4266841088889999 BUSH JR GEORGE W MR 0809101100001100000000046000000 4266841088889999 080910110000046 0 33333333337676760707077676763333333333767676070707...

Page 51: ...5343418AC88F65E1DB7ED4D10973F99DFC8463F F6DF113B6226C4898A9D355057ECAF11A5598F02CA31629949011900000000044B 6F03 Masked Data Track 1 4266 9999 BUSH JR GEORGE W MR Track 2 4266 9999 Track 3 33333333337676760707077676763333333333767676070707767676333333333376767 607070776767633333333337676760707 2 Key Value 8A 92 F6 74 00 BF 25 2E 57 9A A9 01 FF 27 48 41 KSN 62 99 49 01 19 00 00 00 00 04 Session ID A...

Page 52: ...73EF1B116E005B7CD8681860D174E6AD316A0E CDBC687115FC89360AEE7E430140A7B791589CCAADB6D6872B78433C3A25DA9 DDAE83F12FEFAB530CE405B701131D2FBAAD970248A456000933418AC88F65E1 DB7ED4D10973F99DFC8463FF6DF113B6226C4898A9D355057ECAF11A5598F02C A31688861C157C1CE2E0F72CE0F3BB598A614EAABB16299490119000000000206E 203 STX Length LSB MSB card type track status length track 1 length track 2 length track 3 02 9801 8...

Page 53: ...DD8B96C50FC39C7E6AF22F06ED1F033BE0FB23D6BD33DC5A1 F808512F7AE18D47A60CC3F4559B1B093563BE7E07459072ABF8FAAB5338C6CC 8815FF87797AE3A7BE Track 2 encrypted length 0x23 rounded up to 8 bytes 0x28 40 decimal AB3B10A3FBC230FBFB941FAC9E82649981AE79F2632156E775A06AEDAFAF6F0 A184318C5209E55AD Track 3 encrypted length 0x6B rounded up to 8 bytes 0x70 112 decimal 44A9CCF6A78AC240F791B63284E15B4019102BA6C505814...

Page 54: ...3130303030313130303030303030303034363030303030303F 21 Track 2 decrypted data in hex including padding zeros 3B343236363834313038383838393939393D3038303931303131303030303034363F300 000000000 Track 3 decrypted data in hex including padding zeros 3B333333333333333333333736373637363037303730373736373637363333333333333 333333337363736373630373037303737363736373633333333333333333333373637363 73630373037...

Page 55: ...4266841088889999 080910110000046 0 33333333337676760707077676763333333333767676070707767676333333333376767 607070776767633333333337676760707 2 Decrypted Data in Hex 2542343236363834313038383838393939395E42555348204A522F47454F52474520572 E4D525E303830393130313130303030313130303030303030303034363030303030303F 213B343236363834313038383838393939393D3038303931303131303030303034363F3 000000000003B333333...

Page 56: ...nticate the reader The user should complete the Activate Authentication sequence using Activation Challenge Reply command Command Structure Host Device STX R 80h 02h Pre Authentication Time Limit ETX LRC Device Host ACK STX Device Response Data ETX LRC success NAK fail Pre Authentication Time Limit 2 bytes of time in seconds Device Response Data 26 bytes data consists of Current Key Serial Number ...

Page 57: ...il Activation Data 8 or 16 bytes structured as Challenge 1 Response Session ID Challenge 1 Response 6 bytes of Challenge 1 random data with 2 bytes of Authenticated mode timeout duration It s encrypted using the key derived from the current DUKPT key Session ID Optional 8 bytes Session ID encrypted using the key derived from the current DUKPT key Deactivate Authenticated Mode Command This command ...

Page 58: ...ructure Host Device STX R 83h ETX LRC Device Host ACK STX 83h 02h Current Reader Status Pre conditon ETX LRC success NAK fail Current Reader Status 2 bytes data with one byte of Reader State and one byte of Pre Condition Reader State indicates the current state of the reader 0x00 The reader is waiting for Activate Authentication Mode Command The command must be sent before the card can be read 0x0...

Page 59: ...es a good card swipe 0x03 The reader receives a bad card swipe or the card is invalid 0x04 Authentication Activation Failed 0x05 Authentication Deactivation Failed 0x06 Authentication Activation Timed Out The Host fails to send an Activation Challenge Reply command within the time specified in the Activate Authentication Mode command 0x07 Swipe Timed Out The user fails to swipe a card within the t...

Page 60: ... low short ChaDelayID 12 Character Delay 0 0 5 6 2 ms inter character delay 6 for 0 mS delay k TrackSelectID 13 Track Selection 0 0 9 0x30 Any Track 0x31 Track 1 Only 0x32 Track 2 Only 0x33 Track 1 Track 2 0x34 Track 3 Only 0x35 Track 1 Track 3 0x36 Track 2 Track 3 0x37 All Three Tracks 0x38 Track 1 Or Track 2 0x39 Track 2 Or Track 3 Any Track 0 any 1 7 bit 1 tk1 bit 2 tk2 bit 3 tk3 8 tk1 2 9 tk2 ...

Page 61: ...otification Control Key Output 0x32 Not send start end sentinel and only send account number on Track 2 not send error notification Control Key Output 0x33 Send start end sentinel and only send account number on Track 2 not send error notification Control Key Output 0x34 Not send start end sentinel and send all data on Track 2 send error notification default Control Key Output 0x35 Send start end ...

Page 62: ...y Output 0x3b Send start end sentinel and only send account number on Track 2 not send error notification Alt Key Output 0x3c Not send start end sentinel and send all data on Track 2 send error notification default Alt Key Output 0x3d Send start end sentinel and send all data on Track 2 send error notification Alt Key Output 0x3e Not send start end sentinel and only send account number on Track 2 ...

Page 63: ... Against Direction of Encoding ReviewID 1F Review All Settings None TerminatorID 21 Terminator 0x0D any CR for RS232 Enter for KB i FmVerID 22 Firmware Version None USBHIDFmtI D 23 USB HID Fmt HID rdr only 0 0 1 8 0 ID TECH Format 1 Mag Tek Format 8 HIDKB format u r ForeignKBID 24 Foreign KB 0 0 0x3A Foreign Keyboard k CustSetID 30 Custom Customer Settings 00 00 07 0 POS X Level 3 Non CC send same...

Page 64: ...Bit 0 0 1 0 1 stop Bit 1 2 stop bits s XOnID 47 XOn Character DC1 0x11 as XOn s XOffID 48 XOff Character DC3 0x13 as XOff s PrePANID 49 PAN to not mask 4 0 6 leading PAN digits to display e PostPANID 4A PAN to not mask 4 0 4 of trailing PAN digits to display e MaskCharID 4B mask the PAN with this character 20 7E any printable character e CrypTypeID 4C encryption type 0 0 2 0 no encryption 1 3DES 2...

Page 65: ...any as Track 1 5 Bit Start Sentinel i T27BStartID 64 Track 2 7 Bit Start Char any as Track 2 7 Bit Start Sentinel i T25BStartID 65 T25BStart any as Track 2 5 Bit Start Sentinel i T37BStartID 66 Track 3 7 Bit Start Char any as Track 3 7 Bit Start Sentinel i T36BStartID 67 T36BStart any as Track 3 6 Bit Start Sentinel i T35BStartID 68 T35BStart any as Track 3 5 Bit Start Sentinel i T1EndID 69 Track ...

Page 66: ...T exhausted 4 authentication required n r MagTCryptID 7F 1 0 3 p EncryptOptID 84 encryption options enhanced only 8 encrypt trk 3 if card type 0 0 F bit 0 encrypt trk1 bit 1 encrypt trk2 bit 3 encrypt trk3 bit 4 encrypt trk3 if card type 0 EncryptStrID 85 encrypt structure 0 0 original 1 enhanced MaskOptID 86 clear mask data options 7 bit 0 send clear mask trk1 bit 1 send clear mask trk2 bit 2 sen...

Page 67: ...le only in the USB version k feature available on in the keyboard version p feature available only in the SPI version r reset all does not affect this value n not directly settable d feature only for reader with data editing feature e feature only for reader with encrypt feature i feature ignored for encrypted transactions Most function ID settings that relate to the content of formatting of the t...

Page 68: ...ck is set then clear it and set it after finishing sending out code Keystroke Hex Value Functional Code USB KB Code Ctrl 2 00 1F Ctrl On Ctrl A 01 04 Ctrl On Ctrl B 02 05 Ctrl On Ctrl C 03 06 Ctrl On Ctrl D 04 07 Ctrl On Ctrl E 05 08 Ctrl On Ctrl F 06 09 Ctrl On Ctrl G 07 0A Ctrl On BS 08 bs 2A Tab 09 tab 2B Ctrl J 0A 0D Ctrl On Ctrl K 0B 0E Ctrl On Ctrl L 0C 0F Ctrl On Enter 0D enter 28 Ctrl N 0E...

Page 69: ...hift On 25 22 Shift On 26 24 Shift On 27 34 28 26 Shift On 29 27 Shift On 2A 25 Shift On 2B 2E Shift On 2C 36 2D 2D 2E 37 2F 38 0 30 27 Shift On 1 31 1E Shift On 2 32 1F Shift On 3 33 20 Shift On 4 34 21 Shift On 5 35 22 Shift On 6 36 23 Shift On 7 37 24 Shift On 8 38 25 Shift On 9 39 26 Shift On 3A 33 Shift On 3B 33 3C 36 Shift On 3D 2E 3E 37 Shift On 3F 38 Shift On 40 1F A 41 04 Shift On B 42 05...

Page 70: ...0F Shift On M 4D 10 Shift On N 4E 11 Shift On O 4F 12 Shift On P 50 13 Shift On Q 51 14 Shift On R 52 15 Shift On S 53 16 Shift On T 54 17 Shift On U 55 18 Shift On V 56 19 Shift On W 57 1A Shift On X 58 1B Shift On Y 59 1C Shift On Z 5A 1D Shift On 5B 2F 5C 31 5D 30 5E 23 Shift On _ 5F 2D Shift On 60 35 a 61 04 b 62 05 c 63 06 d 64 07 e 65 08 f 66 09 g 67 0A h 68 0B i 69 0C j 6A 0D k 6B 0E l 6C 0...

Page 71: ... 7A 1D 7B 2F Shift On 7C 31 Shift On 7D 30 Shift On 7E 35 Shift On DEL 7F 2A F1 81 f1 3A F2 82 f2 3B F3 83 f3 3C F4 84 f4 3D F5 85 f5 3E F6 86 f6 3F F7 87 f7 40 F8 88 f8 41 F9 89 f9 42 F10 8A fa 43 F11 8B fb 44 F12 8C fc 45 Home 8D home 4A End 8E end 4D 8F right 4F 90 left 50 91 up 52 92 down 51 PgUp 93 pgup 4B PgDn 94 pgdn 4E Tab 95 tab 2B bTab 96 btab 2B Shift On Esc 97 esc 29 Enter 98 enter 28 ...

Page 72: ...t_mk Set Alt Flag for following char s Right_Ctrl_Break A9 r_ctrl_bk Clear Ctrl Flag Right_Ctrl_Make AA r_ctrl_mk Set Ctrl Flag for following char s Right_Shift_Break AB r_shift_bk Clear Shift Flag Right_Shift_Make AC r_shift_mk Set Shift Flag for following char s Right_Windows AD r_windows E7 right GUI Right_Alt_Break AE r_alt_bk Clear Alt Flag Right_Alt_Make AF r_alt_mk Set Alt Flag for followin...

Page 73: ...6 Num_ CC num_ 57 Num_ CD num_ 63 Num Lock On Num_DEL CE num_del 63 Num_INS CF num_ins 62 Delay_100ms D0 delay Delay 100 ms Table of Ctrl or Alt output for non printable characters ASCII Code Control Code Alt Code SendOptionID Bit 3 0 Bit 3 1 00 Ctrl 2 Alt 000 01 Ctrl A Alt 001 02 Ctrl B Alt 002 03 Ctrl C Alt 003 04 Ctrl D Alt 004 05 Ctrl E Alt 005 06 Ctrl F Alt 006 07 Ctrl G Alt 007 08 BS Alt 008...

Page 74: ...s reserved Page 74 of 74 SecureMag User Manual 13 Ctrl S Alt 019 14 Ctrl T Alt 020 15 Ctrl U Alt 021 16 Ctrl V Alt 022 17 Ctrl W Alt 023 18 Ctrl X Alt 024 19 Ctrl Y Alt 025 1A Ctrl Z Alt 026 1B ESC Alt 027 1C Ctrl Alt 028 1D Ctrl Alt 029 1E Ctrl 6 Alt 030 1F Ctrl Alt 031 ...

Reviews: