Home
USER MANUAL Sign&Pay™ Technical
Contents
1. 1 3 8 Set Display Fonts 1229 Set Text Ol OR TE 1 3 10 Set Background Calor uis d edes tn erro ed node 13 11 Set Baekeround M de cod Qu ae a s o lol eei npa 13 12 Draw String In iubet estende ti bos re erbe etes te odo Moda bo ttd eost 1 3 13 Draw SHUN o reete Cu deuda 1 3 14 Get Picture on CCD 0 12215 piel 13 16 Store Picture om Device bebes baa PEG vietata eee n 1 317 Show Stored Pictures LCD loda 1 3 18 Retrieve Stored Picture on Device oe l4 Touchpad uu coii oerte osi o a Pies a loda Debs guod Calibrate nodes aorta be uuu Pa mee eee pu oa LEZ SSOP CUP 143 Create Active Region on Screen 54 42 TN sGonunde CS aT ese Mose ua ua SEQ ima OI 124 02 Pause Captures eee e tee e E Jp
2. 33 1 5 37 Set MSR Card Encrypted Data With PIN Key Or Data 33 10 BINCPad Ol EN SER de ERE dte t 34 1 69 COStBBnerypted PINO OH WIG A oo sega biu eee SASS ede nv rmn 34 1 6 2 Cancel Command Get Encrypted PIN Online or Get Numeric Key 36 RCRA PiuPdd assum sa v te dec durata d dvds ecoute em aepo utn 36 164 Seb PUBIC E es edu a l dota rie A aN aY m h Ga N Sa S 36 Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 7 of 54 Sign amp Pay Technical Reference Manual 5029 S t Numeric Keys an anan Q ver a ash 37 1 6 6 SetAccount oe ouest ede i tisch OS aa haykata 37 6 7 ere ete a derepente uel up duve 37 1 6 8 Set C Heck Value senec rad vade Susu e u Saa 38 169 GetBootloader Check Value 38 1 6 10 Get Pinpad Input as Numeric ta eo ra et ado eda eei 38 1 26 11 Get Pinpad Input as Amounts oue l eoe dpa ERU ea EL aa 39 1 26 12 Ot Cardo Accont a a Pepe reU RED token 39 16 13 G t EPerypted n usa u aaa la SA ass 40 Check DDKPIPK6yu au
3. len lt len lt 12 lt Account flag gt 0 indicates there is no account 1 indicates the account is included lt Account gt if present is 16 byte ASCII numeric 0x30 0x39 Account number is the first 16 digits of Primary Account Number excluding the last digit which is the check digit In cases where there is less than 16 digits pad the left with zeros If no account is entered use command 1 6 12 Get Card Account to obtain account number from a card swipe LCD Status 0x01 means clear display only 0x02 means show message only 0x03 means clear display and show message Input Param gt is defined lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte Backgroud color R G B total 3 bytes X0 2 bytes gt lt Y0 2 bytes X1 2 bytes gt lt Y1 2 bytes gt lt Show Mode 1 byte lt MessageX gt is defined Message Length includes self 2 bytes gt lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte gt lt Backgroud color R G B total 3 bytes lt X 2 bytes gt lt Y 2 bytes gt lt String Length 2 bytes gt lt String gt lt 0 2 bytes gt lt Y0 2 bytes gt lt X1 2 bytes gt lt Y 1 2 bytes is scope of LCD 0 lt 0 lt 1 lt 320 0 lt Y0 lt Y1 lt 240 lt Show Mode gt is a bitmap for 4 lines Bit 0 for left line Bit 1 for right line Bit 2 for top line and Bit 3 for bottom
4. 50 3 0 List of Error Code 53 40 Application Note u I SSES u ot er erba ea neues s ence tees Soses 54 Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 8 of 54 Sien amp Pay Technical Reference Manual 1 0 Sign amp Pay Commands Descriptions All commands in this section have the following command and response structures Host to Device Command Protocol STX LenL LenH CommandData LrclI7 Lrc2 ETX lt STX gt 0x02 1 byte lt LenL gt lt LenH gt size of CommandData If Length of CommandData is less than 0x8000 LenL LenH occupies 2 bytes otherwise it occupies 3 bytes lt CommandData gt main command string One or more bytes lt Lrc1 gt Exclusive or of CommandData 1 byte lt Lrc2 gt Sum of CommandData 1 byte lt gt 0x03 1 byte Device to Host Command Protocol lt STX gt lt LenL gt lt LenH gt lt ResponseData gt lt Lrcl gt lt Lrc2 gt lt ETX gt lt STX gt 0x02 1 byte lt LenL gt lt LenH gt size of ResponseData If Length of ResponseData is less than 0x8000 LenL LenH occupies 2 bytes otherwise it occupies 3 bytes lt ResponseData gt lt gt plus the response string One or more bytes lt Lrc1 gt Exclusive or of ResponseData 1 byte lt 2 gt Sum
5. COMMAND lt 0x8A gt lt 0x46 gt lt 0x20 gt lt COLOR gt Set the brush s color used to fill region on the LCD PARAMETERS lt 0 8 gt lt 0 46 gt lt 0 20 gt is the command head COLOR is the pen s color defined as lt RED gt lt GREEN gt lt BLUE gt Each is 1 byte long RETURN lt ACK gt 1 3 6 Fill Rectangle COMMAND lt 0x8A gt lt 0x46 gt lt 0x22 gt lt X0 gt lt Y0 gt lt X1 gt lt Y1 gt Fill rectangle define by top left point lt X0 gt lt Y0 gt and bottom right point lt X1 gt lt Y1 gt using the brush PARAMETERS lt 0 8 gt lt 0 46 gt lt 0 22 gt is the command head X0 is X coordinate of top left point 2 bytes lt 0 gt is Y coordinate of top left point 2 bytes lt gt is X coordinate of bottom right point 2 bytes Y is Y coordinate of bottom right point 2 bytes RETURN lt gt 1 3 7 Fill Arc COMMAND lt 0 8 gt lt 0 46 gt lt 0 23 gt lt X gt lt Y gt lt Radius gt lt StartAngle gt lt SweepAngle gt Draw arc defined by center point radius start angle and sweep angle use brush PARAMETERS lt 0 8 gt lt 0 46 gt lt 0 23 gt is the command head lt gt specifies the x coordinate of the center of the related circle 2 bytes lt Y gt specifies the y coordinate of the center of the related circle 2 bytes lt Radius gt specifies the radius of the related circle 2 bytes lt StartAngle gt specifies the starting angle in degrees relative
6. RAW data format Three bytes for one point Xxxxxxxx xxxxyyyy yyyyyyyy 1 4 13 Get BMP Format Signature COMMAND lt 0x7A gt lt 0x46 gt lt 0x23 gt Get buffered signature BMP format data PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x23 gt is the command head Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 20 of 54 Sien amp Pay Technical Reference Manual RETURN lt ACK gt lt BMP format signature data gt BMP data format one bytes for one point 1 4 14 Set SIG Format Signature COMMAND lt 0x7A gt lt 0x46 gt lt 0x30 gt lt SIG format signature data gt Send SIG format signature to Sign amp Pay PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x30 gt is the command head SIG format signature data gt RETURN lt gt 1 4 15 Set Format Signature COMMAND lt 0x7A gt lt 0x46 gt lt 0x31 gt lt CMP format signature data gt Send CMP format signature to Sign amp Pay PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x02 gt is the command head CMP format signature data RETURN lt gt 1 4 16 Set RAW Format Signature COMMAND lt 0x7A gt lt 0x46 gt lt 0x32 gt lt RAW format signature data Send RAW format signature to Sign amp Pay PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x02 gt is the command head RAW format signature data gt RETURN lt gt 1 4 17 Set BMP Format Signature COMMAND lt 0x7A gt lt 0x46 gt lt 0x33 gt lt BMP
7. 49 gt lt 0 52 gt lt 0 46 gt lt 0 57 gt 1 1 6 Enter Bootloading Mode COMMAND lt 0x78 gt lt 0x46 gt lt 0x7A gt lt stable number gt Enter bootloading mode to load firmware application on Sign amp Pay PARAMETERS lt 0 78 gt lt 0 46 gt lt 0 7 gt is the command head stable number gt is defined as lt 0x49 gt lt 0x52 gt lt 0x46 gt lt 0x57 gt lt 8 bytes 0x00 gt RETURN lt ACK gt Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 10 of 54 Sien amp Pay Technical Reference Manual 1 2 LED Control 1 2 1 LED Control COMMAND lt 0x76 gt lt 0x46 gt lt 0x01 gt lt LED Control Code gt Control the Red LED R and Green LED PARAMETERS lt 0 76 gt lt 0 46 gt lt 0 01 gt is the command head lt LED Control Code gt 1 byte data which is defined as MSB LSB B7 B6 B5 B4 B2 Every LED uses two bits Left LED Green amp Red B6 B5 B4 Right LED Green B2 BO Where B7 is reserved B6 controls the Left LED B6 1 Left LED is ON Then B4 and B5 are selected 6 0 Left LED 15 OFF Then B4 and B5 are ignored B5 controls the Left LED to be Green or Red B5 1 Left Green LED is selected 5 0 Left Red LED is selected B4 controls the Left LED flashing B6 must be ON to use this control B4 1 Left Green Red LED flash 4 0 Left Green Red LED steady B3 is reserved B2 controls the Right LED B2 1 Right LED is ON Then
8. State specifies the region s state 1 byte State Bit 0 Exists Bit 1 Visable Bit 2 Enabled Bit 3 Notify X0 is X coordinate of top left point 2 bytes lt Y0 gt is Y coordinate of top left point 2 bytes lt 1 gt is X coordinate of bottom right point 2 bytes Y 1 gt is Y coordinate of bottom right point 2 bytes lt DataLen gt specifies the Data length Data specifies the object s data For Button Data is the text showed on the button For Picture Data is the picture data Picture is arranged as top left point first and bottom right end Each point occupies three bytes defined as RED GREEN BLUE For Text Data is arranged as Font Height 1 byte Width 1 byte Weight 1 byte Italic 1 byte Underline 1 byte CharSet 1 byte TextColour RED GREEN BLUE TextBkMode 1 byte TextBkColour RED GREEN BLUE String For owner draw button Data is Font Height 1 byte Width 1 byte Weight 1 byte Italic 1 byte Underline 1 byte CharSet 1 byte TextColour RED GREEN BLUE TextBkMode 1 byte TextBkColour RED GREEN BLUE String Offset X Y 4 bytes String RETURN lt ACK gt 1 4 4 Start Capture COMMAND lt 0x7A gt lt 0x46 gt lt 0x10 gt lt Capture Mode gt lt Point Interval gt lt Signature Color gt lt Background Color gt Start capture using specified parameters PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x10 gt is the command head lt Capture Mode gt specifies the capture mode 1 byte 0 01 Out
9. defined as lt RED gt lt GREEN gt lt BLUE gt Each is 1 byte long RETURN lt gt 1 3 10 Set Background Color COMMAND lt 0 8 gt lt 0 46 gt lt 0 42 gt lt gt Set the background color when display text on the LCD PARAMETERS lt 0 8 gt lt 0 46 gt lt 0 42 gt is the command head lt gt is the text s color defined as lt RED gt lt GREEN gt lt BLUE gt Each is 1 byte long RETURN lt ACK gt 1 3 11 Set Background Mode COMMAND lt 0x8A gt lt 0x46 gt lt 0x43 gt lt MODE gt Select the background mode for text display on the LCD PARAMETERS Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 14 of 54 Sien amp Pay Technical Reference Manual lt 0x8A gt lt 0x46 gt lt 0x43 gt is the command head lt MODE gt specifies background mode 1 byte 0x00 means OPAQUE and 0x01 means TRANSPARENT RETURN lt gt 1 3 12 Draw String In Rectangle COMMAND lt 0x8A gt lt 0x46 gt lt 0x4E gt lt X0 gt lt Y0 gt lt X1 gt lt Y 1 gt lt Length gt lt String gt Draw string using the selected font and colors on the LCD The string will be displayed in the specified rectangle from the top left of the rectangle to the right bottom of the rectangle PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x4E gt is the command head lt X0 gt specifies the x coordinate of the top left point 2 bytes lt Y0 gt specifies the y coordinate of the t
10. lt Y1 gt Show the stored picture on the LCD defined by top left point lt X0 gt lt Y0 gt and bottom right point lt X1 gt lt Y1 gt PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x71 gt is the command head lt ID gt is the identifier for the picture 2 bytes lt X0 gt is X coordinate of top left point 2 bytes lt Y0 gt is Y coordinate of top left point 2 bytes lt 1 gt is X coordinate of bottom right point 2 bytes lt Y1 gt is Y coordinate of bottom right point 2 bytes RETURN Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 16 of 54 Sien amp Pay Technical Reference Manual lt gt if picture exists otherwise lt NA K gt 1 3 18 Retrieve Stored Picture on Device COMMAND lt 0 8 gt lt 0 46 gt lt 0 72 gt Retrieve stored picture om the device PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x72 gt is the command head RETURN lt ACK gt lt Picture count 1 byte gt lt ID 2 bytes gt lt ID 2 bytes gt 1 4 Touchpad control 1 4 1 Calibrate Device COMMAND lt 0x7A gt lt 0x46 gt lt 0x01 gt Calibrate the device PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x01 gt is the command head RETURN lt ACK gt 1 4 2 Set Clip Area COMMAND lt 0x7A gt lt 0x46 gt lt 0x03 gt lt Clip area data 8 bytes gt lt Show Mode gt lt Line Color gt Set new clip area The max area is 0 0 319 239 Clip area is a rectangle coded as left 2 bytes top 2 bytes
11. right 2 bytes bottom 2 bytes PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x03 gt is the command head lt Clip area data 8 bytes gt is the new clip area data lt Show Mode gt is a bitmap for 4 lines Bit 1 for left line Bit 2 for right line Bit 3 for top line and Bit 4 for bottom line Value 1b means show this line 0b means do not show this line lt Line Color gt is the rectangle lines which surround the clip area color defined as RED 1 byte GREEN 1 byte BLUE 1 byte RETURN lt ACK gt 1 4 3 Create Active Region on Screen COMMAND lt 0x7A gt lt 0x46 gt lt 0x04 gt lt ID gt lt Type gt lt State gt lt X0 gt lt Y0 gt lt X1 gt lt Y 1 gt lt DataLen gt lt Data gt Create object like picture button and text showed on LCD when during signature The object can be notified when touched PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x04 gt is the command head Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 17 of 54 Sign amp Pay Technical Reference Manual lt ID gt specifies the region s ID 1 byte lt Type gt specifies the region s type 1 byte 0x01 means BUTTON 0x02 means PICTURE and 0x03 means TEXT Ox11 means owner draw button Note when Type is been set to 0x03 the lt DataLen gt must be less than 0 04 It should include font of text 6 bytes and color of text 3 bytes and back mode of LCD 1 byte and back color of text 3 bytes and text string
12. 54 Sien amp Pay Technical Reference Manual lt ACK gt lt Picture data gt Picture is arranged as top left point first and bottom right end Each point occupies three bytes defined as RED GREEN BLUE 1 3 15 Show Picture on LCD COMMAND lt 0x8A gt lt 0x46 gt lt 0x61 gt lt X0 gt lt Y0 gt lt X1 gt lt Y 1 gt lt Picture Data gt Show picture on the LCD defined by top left point lt X0 gt lt Y0 gt and bottom right point lt X1 gt lt Y1 gt PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x61 gt is the command head lt X0 gt is X coordinate of top left point 2 bytes lt Y0 gt is Y coordinate of top left point 2 bytes lt gt is X coordinate of bottom right point 2 bytes lt Y1 gt is Y coordinate of bottom right point 2 bytes lt Picture Data gt is the picture data RETURN lt ACK gt 1 3 16 Store Picture on Device COMMAND lt 0x8A gt lt 0x46 gt lt 0x70 gt lt ID gt lt TYPE gt lt Picture Data gt Store pictures on the device PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x70 gt is the command head lt ID gt is the identifier for the picture 2 bytes lt TYPE gt is the picture s type 2 bytes 0x00 means RAW format 0x01 means 24 bit true color BMP format 0x02 means JPEG format lt Picture Data gt is the picture data RETURN lt ACK gt NOTE lt Picture Data gt must be less than 32k bytes 1 3 17 Show Stored Pictures on LCD COMMAND lt 0x8A gt lt 0x46 gt lt 0x71 gt lt ID gt lt X0 gt lt Y0 gt lt X1 gt
13. CPST Crue Pomt Count th eiae ova t dasha tall ie ree iratus uM SSS S E MEE AC ARS Iu Ee REIT AUN au d o bua Ves Aa res 1 4 10 Get SIG Format ish eda Ra o oA Tee veia e E NER 1 4 11 Get CMP rdiet e mo db Tat repli 1 4 12 Get RAW Forimat SIEHADUEG core ot ve n n e UA EIER ae cans CREER 1 4 13 Get BMP Format Signature d A e ron nus Set SIG FOrmat SI8 ature u y roi ood S aasan Table of Contents Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 6 of 54 Sign amp Pay Technical Reference Manual 1 415 Set C MP Format Signature u ua sau 21 1 4 16 Set RAW Format Sign t te sesion aeter pa Dekor pes Detective IIo ede ia io praed 2 1 4 17 Set BMP Format SIStdt te eei ice tet ar rd ed ur eda Pa bud Veit decies eda tes ig 21 1 5 MagsStripe Reader Control ien u a in CR odo Pra elei 22 1 5 1 Get Reader Output Settings 22 1 5 2 Get SecureHead Decoding Method Setting sse 22 15 95 Review tret putei Potete aN SS SM Dau ce Mo dn e oer a e D20681 22 1 5 4 GetsecureHead Firmware Version tances eda p
14. a Du u u i 41 1 6 15 Get FEPGA V CESION isc dante sees De loeo i 41 1 6 16 Get Key Pad buffered non numeric Key acie uz P tre Dee ROT HERE ERR uses beans 41 1 6 17 Clear Key paman a aD aS a tubes a g DES URN 42 10 18 iyvalidatePuble Key zs codec u Su SSS Su u Sus 42 1 6 19 Manual Input Card Dalai ebbe tre epu curiae te debe ives u aaa 42 Lus Control oues d ord seva in dmm suny a D LE 42 LU AIO 42 1722 Gui MEN te S asal 43 2 0 Magstripe Data Output Format 44 2 1 Unencrypted MSR Data Output Format a 44 2 2 Encrypted MSR Data Output 45 2 2 1 Original Encryption Formalt 45 2 2 2 Original Encryption Format Decryption Example 46 2 2 3 Enhanced Encryption Format 48 2 2 4 Enhanced Encryption Format Decryption Example
15. and are selected 2 0 Right LED is OFF Then and BO are ignored Bl controls the Right LED to be Green or Red B1 1 Right Green LED is selected B1 0 Right Red LED is selected BO controls the Right LED flashing B2 must be ON to use this control B0 1 Rignt Green Red LED flash 0 0 Green Red led steady RETURN lt ACK gt Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 11 of 54 Sien amp Pay Technical Reference Manual 1 3 LCD Control 1 3 1 Set Pen Width and Color COMMAND lt 0x8A gt lt 0x46 gt lt 0x 10 gt lt WIDTH gt lt COLOR gt Set the pen color used to draw line on the LCD PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x 10 gt is the command head WIDTH is the pen s width 4 bytes long Must be 0x01 lt gt is the pen s color defined as lt RED gt lt GREEN gt lt BLUE gt Each is 1 byte long RETURN lt ACK gt 1 3 2 Draw Line COMMAND lt 0x8A gt lt 0x46 gt lt 0x11 gt lt X0 gt lt Y0 gt lt X1 gt lt Y 1 gt Draw line from point lt X0 gt lt Y0 gt to lt X1 gt lt Y1 gt using the pen PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x11 gt is the command head lt X0 gt is X coordinate of start point 2 bytes lt Y0 gt is Y coordinate of start point 2 bytes lt 1 gt is X coordinate of end point 2 bytes lt Y1 gt is Y coordinate of end point 2 bytes RETURN lt ACK gt 1 3 3 Draw Rectangle COMMAND l
16. gt lt Encryption Algorithm lt 0x4C gt is command lt 0x01 gt is length of Encryption Algorithm Encryption Algorithm gt is defined as follow 0x30 Encryption Disabled Only works for fixed key cannot disable DUKPT encryption 0x31 Enable TDES Encryption 0x32 Enable AES Encryption Not for Raw Data Decoding in Both Directions send out in other mode 1 5 9 Get SecureHead Serial Number COMMAND lt 0 73 gt lt 0 52 gt lt Ox4E gt Read Serial Number of SecureHead PARAMETERS lt 0x73 gt lt 0x52 gt lt 0 4 gt is the command head RETURN lt gt or lt ACK gt lt 0x4E gt lt data length gt lt 1 byte Serial Number Len gt lt 8 bytes Serial Number gt 1 5 10 Get SecureHead format of display expiration data COMMAND lt 0x73 gt lt 0x52 gt lt 0x50 gt Display expiration data as mask data or clear data PARAMETERS lt 0 73 gt lt 0 52 gt lt 0x50 gt is the command head RETURN lt gt or lt ACK gt lt 0x50 gt lt 0x01 gt lt 1 byte format gt lt 0 50 gt is command lt 0x01 gt is length of 1 byte format gt byte format gt is defined as follow 0x30 Display expiration data as mask data 0x31 Display expiration data as clear data 1 5 11 Review SecureHead KSN and Counter ID COMMAND lt 0 73 gt lt 0 52 gt lt 0x51 gt Review the Key Serial Number and Encryption Counter PARAMETERS lt 0x73 gt lt 0x52 gt lt 0x51 gt is the command head RETURN Copy
17. line Bit 4 7 reserve Value 1b means show this line Ob means do not show this line For master session lt Encrypted PIN block gt if succeeded Encrypted PIN block 16 bytes ASCII characters RETURN lt NAK gt or lt ACK gt lt Encrypted data gt lt Encrypted data gt is encrypted Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 34 of 54 Sign amp Pay Technical Reference Manual Get Encrypted PIN Online Command Example Initially Loaded Key Serial Number KSN FFFF9876543210E00000 Initially Loaded PIN Entry Device Key 6AC292FAA1315B4D 858AB3A3D7D5933A PIN 1234 Primary Account Number 4012345678909 last digit 9 is the check digit and should not be sent Encrypted PIN block output 1B9C1845EB993A7A 02 STX 80 00 Length 75 46 07 command byte 31 DUKPT max length 04 min PIN length 01 with account number 30 30 30 30 34 30 31 32 33 34 35 36 37 38 39 30 03 ff ff cc 16 18 00 00 00 05 account number no check digit clear display and show message BackGround Color font lt Height gt lt Width gt lt Weight gt lt Italic gt lt Underline gt lt CharSet gt 00 00 00 PIN color color 01 TRANSPARENT ff ff ff font color 20 00 X0 60 00 YO 1001 X1 90 00 Yl Of Display 4 lines 02 00 two message 1f 00 message length is 31 10 10 00 00 00 03 font lt Height gt lt Width gt lt Weight gt lt Ita
18. lt 0x46 gt lt 0x17 gt Get script point count PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x17 gt is the command head RETURN lt ACK gt lt Script point count 4 bytes gt 1 4 8 Clear Signature COMMAND lt 0x7A gt lt 0x46 gt lt 0x19 gt Clear signature PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x19 gt is the command head RETURN Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 19 of 54 Sien amp Pay Technical Reference Manual lt ACK gt 1 4 9 Exit Capture COMMAND lt 0x7A gt lt 0x46 gt lt 0x1F gt Exit capture All regions will be deleted PARAMETERS lt 0 7 gt lt 0 46 gt lt 0 1 gt is the command head RETURN lt gt 1 4 10 Get SIG Format Signature COMMAND lt 0x7A gt lt 0x46 gt lt 0x20 gt Get buffered signature SIG format data PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x20 gt is the command head RETURN lt ACK gt lt SIG format signature data gt 1 4 11 Get CMP Format Signature COMMAND lt 0x7A gt lt 0x46 gt lt 0x21 gt Get buffered signature CMP format data PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x21 gt is the command head RETURN lt ACK gt lt CMP format signature data gt 1 4 12 Get RAW Format Signature COMMAND lt 0 7 gt lt 0 46 gt lt 0 22 gt Get buffered signature R A W format data PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x22 gt is the command head RETURN lt ACK gt lt RA W format signature data gt
19. lt Input Param 22 bytes Message Count 2 bytes gt lt Messagel gt lt Message2 gt Input Param gt is defined lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte gt lt Backgroud color R G B total 3 bytes gt X0 2 bytes gt lt Y0 2 bytes X1 2 bytes gt lt Y1 2 bytes gt lt Show Mode 1 byte gt lt MessageX gt is defined Message Length includes self 2 bytes gt lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte gt lt Backgroud color R G B total 3 bytes X 2 bytes gt lt Y 2 bytes gt lt String Length 2 bytes gt lt String gt LCD Status 0x01 means clear display only 0x02 means show message only 0x03 means clear display and show message X0 2 bytes YO 2 bytes X1 2 bytes gt lt Y1 2 bytes is scope of LCD 0 lt 0 lt XI 320 0 lt 0 lt Y lt 240 Show Mode is a bitmap for 4 lines Bit 0 for left line Bit 1 for right line Bit 2 for top line and Bit 3 for bottom line Value 1b means show this line Ob means do not show this line RETURN lt gt or lt NAK gt Input is 16 bytes lt len gt lt keys0 gt lt keys1 gt lt FF gt Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 38 of 54 Sien amp Pay Technical Reference Manual Where len the number of numeric keys keys0 keysl two numeric keys every key is the ni
20. of ResponseData byte lt gt 0x03 1 byte lt ACK gt 0x06 lt NAK gt 0x15 AII length data described throughout the document uses little endian format 1 1 Device Related Settings 1 1 1 Get Firmware Version COMMAND lt 0x78 gt lt 0x46 gt lt 0x01 gt Get Sign amp Pay firmware version PARAMETERS lt 0x78 gt lt 0x46 gt lt 0x01 gt is the command head RETURN IDTECH SIGN amp PAY Vx xx Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 9 of 54 Sien amp Pay Technical Reference Manual 1 1 2 Get Serial Number COMMAND lt 0 78 gt lt 0 46 gt lt 0 02 gt Get Sign amp Pay serial number PARAMETERS lt 0 78 gt lt 0 46 gt lt 0 02 gt is the command head RETURN Serial number 1 1 3 Set Serial Number COMMAND lt 0x78 gt lt 0x46 gt lt 0x03 gt lt Serial number Set serial number PARAMETERS lt 0 78 gt lt 0 46 gt lt 0 03 gt 1s the command head Serial number The length must be eight RETURN lt ACK gt 1 1 4 Get Model Number COMMAND lt 0 78 gt lt 0 46 gt lt 0 20 gt Get model of communication IDFA 3123 is for RS232 and IDFA 3153 for USB HID PARAMETERS lt 0x78 gt lt 0x46 gt lt 0x20 gt 15 the command head RETURN IDFA 3123 IDFA 3153 1 1 5 Reset Device COMMAND lt 0x78 gt lt 0x46 gt lt 0x0A gt lt stable number gt lt 0x78 gt lt 0x46 gt lt 0x0A gt is the command head lt stable number gt is defined as lt 0
21. 5 21 Enable SecureHead Encryption 27 1 5 22 Set SecureHead Format of Display Expiration Data 27 1 5 23 Set SecureHead Key Management a 28 1 5 24 SecureHead Send External Authenticate Command 28 1 5 25 SecureHead Load Device Key Command gt utn 28 1 5 26 SecureHead Clear Data Output Command sss 29 1 5 27 SecureHead Load DUKPT Key bustox Gd foeda id bes etus 29 1 5 28 SecureaHead output structure 30 1 5 29 Encrypt Option Setting tia ie eros 30 1 5 30 Hash Option Sette Lacones pe 31 15 31 Mask Option SEHE Des a re tope fou 31 1 5 32 Enable Disable SecureHead Card Data Output 31 1 5 33 Get MSR Card Data Output Status 32 1 5 34 Read MSR Card Data Output Format 32 1 5 35 Set MSR Card Data Output Formatl It 32 1 5 36 Get MSR Card Encrypted Data With PIN Key Or Data
22. 53 gt lt 0x1D gt is the command head lt 0 01 gt is length for lt Decoding Method Settings gt lt Decoding Method Settings gt is defined as follow 0x30 Raw Data Decoding in Both Directions send out in ID TECH mode 0x31 Decoding in Both Directions If the encryption feature is enabled the key management method used is DUKPT 0x32 Moving stripe along head in direction of encoding If the encryption feature is enabled the key management method used is DUKPT 0x33 Moving stripe along head against direction of encoding If the encryption feature is enabled the key management method used is DUKPT RETURN lt NAK gt or lt ACK gt 1 5 18 Set SecureHead PrePANID COMMAND lt 0x73 gt lt 0x53 gt lt 0x49 gt lt Number gt First N Digits in PAN which can be clear data PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x49 gt is the command head Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 26 of 54 Sien amp Pay Technical Reference Manual lt Number gt is count in PAN which can be clear data at the first of digits RETURN lt NAK gt or lt ACK gt 1 5 19 Set SecureHead PostPANID COMMAND lt 0x73 gt lt 0x53 gt lt 0x4A gt lt Number gt Last M Digits in PAN which can be clear data PARAMETERS lt 0x73 gt lt 0x53 gt lt 0 4 gt is the command head lt Number gt Is count in PAN which can be clear data at the last of digits RETURN lt NAK gt or lt ACK gt 1 5 20
23. 9102BA 6C505814B585816CA3C2D2F42A99B 1 B9773EF1B116E005B7CD8681860D174E6AD316A0EC DBC687115FC89360AEE7E430140A7B791589CCAADB6D6872B78433C3A25DA9DDAES83F12 FEFAB530CE405B701131D2FBAAD970248A456000933418AC88F65E1DB7ED4D10973F99DF C8463FF6DF113B6226C4898A9D355057ECAF11A5598F02CA31688861C157C1CE2E0F72CEO F3BB598A614EAABBI162994901 19000000000206E203 STX Length LSB MSB card type track status length track 1 length track 2 length track 3 02 9801 80 3F 48 23 6B 03BF The above broken down and interpreted 02 STX character 98 low byte of total length 01 high byte of total length 80 card type byte interpretation new format ABA card 3F 3 tracks of data all good 48 length of track 1 23 length of track 2 6B length of track 3 03 tracks 1 and 2 have masked clear data BF bit 7 1 KSN included Bit 6 0 no Session ID included so not level 4 encryption Bit 5 1 track 3 hash data present Bit 4 1 track 2 hash data present Bit 3 1 track 1 hash data present Bit 2 1 track 3 encrypted data present Bit 1 1 track 2 encrypted data present Bit 0 1 1 encrypted data present Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 50 of 54 Sien amp Pay Technical Reference Manual Track 1 data masked length 0x48 252A343236362A2A2A2A2A2A2A2A393939395E42555348204A522F47454F52474520572E4D5 25E2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A3 F2A
24. A2A2A3F2A3B343236362A2A2A2A2A2A2A2A393939393D2A2A2A2A2A2A2A2A 2A2A2A2A2A2A2A3F2A3B333333333333333333333736373637363037303730373736373637363 333333333333333333337363736373630373037303737363736373633333333333333333333373637 36373630373037303737363736373633333333333333333333373637363736303730373F32863E9E 3DA28EA455B28F7736B77E47A64EDDA3BF03A06EA44F31D1818COBCD7A353FB1AD70EFD30 FFC3DA08A4FBC9372E57E8B40848BAEAA3FE724B3550E2FA4B223E6BF264BEAE9E39142B 648CDB51FB8DAF8EA5B63913D29419B67582FCCCE9B372660F03668CC453216D9449C6B67 EF33418AC88F65EI DB7EDAD10973F99DFC8463FF6DF113B6226C4898A9D355057ECAF11A 5598F02CA3162994901190000000001399F03 STX Length LSB MSB card type 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 length of track 1 23 length of track 2 6B length of track 3 Track 1 data masked length 0x48 252A343236362A2A2A2A2A2A2A2A393939395E42555348204A522F47454F52474520572E4D5 25 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 F2A Track 2 data in hex masked length 0x23 3B343236362A2A2A2A2A2A2A2A393939393D2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A3F2 A Track 3 data unencrypted length 0x6B Copyright O 2010 2011 International Technologies amp
25. Directions If the encryption feature is enabled the key management method used is DUKPT 0x32 Moving stripe along head in direction of encoding If the encryption feature is enabled the key management method used is DUKPT 0x33 Moving stripe along head against direction of encoding If the encryption feature is enabled the key management method used is DUKPT 1 5 3 Review All Settings COMMAND lt 0 73 gt lt 0 52 gt lt 0 1 gt Get all SecureHead settings PARAMETERS lt 0x73 gt lt 0x52 gt lt 0x1f gt is the command head RETURN lt NAK gt or lt ACK gt lt FuncSETBLOCK1 gt lt FuncSETBLOCKn gt lt FuncSETBLOCK gt The Format is lt FuncID gt lt Len gt lt FuncData gt Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 22 of 54 Sien amp Pay Technical Reference Manual Where lt FuncID gt is 1 byte identifying the setting s for the function Len is a 1 byte length count for the following function setting block lt FuncData gt lt FuncData gt is the current setting for this function It has the same format as in the sending command for this function lt Func SETBLOCK gt are in the order of their Function ID lt FuncID gt 1 5 4 Get SecureHead Firmware Version COMMAND lt 0x73 gt lt 0x52 gt lt 0x22 gt Read firmware version of SecureHead PARAMETERS lt 0x73 gt lt 0x52 gt lt 0x22 gt is the command head RETURN lt NAK gt or lt ACK gt lt firmwa
26. F52474520572E4D525E3 03830393130313130303030313130303030303030303034363030303030303F213B3432363638343 13038383838393939393D3038303931303131303030303034363F300000000000 Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 47 of 54 Sien amp Pay Technical Reference Manual 2 2 3 Enhanced Encryption Format This mode is used when all tracks must be encrypted or encrypted OPOS support is required or when the tracks must be encrypted separately or when cards other than type 0 ABA bank cards must be encrypted or when track 3 must be encrypted This format is the standard encryption format but not yet the default encryption format Card data 15 sent out the following format lt STX gt lt LenL gt lt LenH gt lt Card Data gt lt CheckLRC gt lt CheckSum gt lt ETX gt STX Data Length low byte Data Length high byte Card Encode Track 1 3 Status Track 1 data length Track 2 data length Track 3 data length Clear masked data sent status Encrypted Hash data sent status 4 0 Track 1 clear mask data Track 2 clear mask data Track 3 clear mask data Track 1 encrypted data Track 2 encrypted data Track 3 encrypted data Session ID 8 bytes Security level 4 only Track 1 hashed 20 bytes each if encrypted and hash track 1 allowed Track 2 hashed 20 bytes each if encrypted and hash track 2 allowed Track 3 hashed 20 bytes each if encrypted and hash track 3 allowed KSN 10 bytes Chec
27. IDT CH Value through Innovation USER MANUAL Sign amp Pay Technical Reference Manual C FE 80098502 001 A 09 27 2011 Sign amp Pay Technical Reference Manual Software amp Documentation License Agreement CAREFULLY READ ALL THE TERMS CONDITIONS AND RESTRICTIONS OF THIS LICENSE AGREEMENT BEFORE USING OR INSTALLING THE SOFTWARE YOUR USE OR INSTALLATION OF THE SOFTWARE PRESUMES YOUR AGREEMENT WITH AND ACCEPTANCE OF THE TERMS CONDITIONS AND RESTRICTIONS CONTAINED IN THIS AGREEMENT IF YOU DO NOT AGREE WITH THESE TERMS CONDITIONS AND RESTRICTIONS PROMPTLY RETURN THE SOFTWARE AND RELATED DOCUMENTATION TO ID TECH Support 10721 Walker Street Cypress CA 90630 TERMS CONDITIONS AND RESTRICTIONS ID TECH Incorporated the Licensor owns and has the right to distribute the described software and documentation collectively referred to as the Software LICENSE Licensor grants you the Licensee the right to use the Software in conjunction with ID TECH products LICENSEE MAY NOT COPY MODIFY OR TRANSFER THE SOFTWARE and DOCUMENTATION IN WHOLE OR IN PART EXCEPT AS EXPRESSLY PROVIDED IN THIS AGREEMENT Licensee may not decompile disassemble or in any other manner attempt to reverse engineer the Software Licensee shall not tamper with bypass or alter any security features of the software or attempt to do so TRANSFER Licensee may not transfer the Software amp Documentation or license the Software to another
28. LRC gt lt Respond Data gt The original data is lt 0xff 0x00 0x01 0x04 LRC gt Step 3 Load SecureHead KSN COMMAND lt STX gt lt F gt lt F gt lt Command Data Base64 gt lt 00 gt lt 0A gt lt ETX gt lt LRC gt lt Command Data Base64 gt the original data is lt 0xff gt lt 0x0A gt Len lt KSN gt lt KSN DA TA gt lt gt 1 bytes the value is 0x11 lt KSN gt 1 bytes TDES 0x32 DES 0x0A KSN DATA 16 bytes Response lt ACK NAK gt lt STX gt lt F gt lt F gt lt Respond Data BASE64 gt lt 0x0D gt lt 0x0A gt lt ETX gt lt LRC gt Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 29 of 54 Sign amp Pay Technical Reference Manual Respond Data 6 bytes data in ASCII format which is converted from the first 3 cipher hex data These cipher data are generated by encrypting KSN bytes and 00 00 00 00 00 00 00 00 Step 4 Load SecureHead DUKPT COMMAND lt STX gt lt F gt lt F gt lt Command Data Base64 gt lt 00 gt lt 0A gt lt ETX gt lt LRC gt lt Command Data Base64 gt The original data is lt 0 gt lt 0 0 gt Len lt KEY gt lt KEY DATA gt Len 1 bytes TDES 0x21 DES 0x11 lt KEY gt 1 bytes TDES 0x33 DES 0x0B KEY DATA TDES 32 bytes DES 16 bytes Response lt ACK NAK gt lt STX gt lt F gt lt F gt lt Respond Data BASE64 gt lt 0x0D gt lt 0x0A gt l
29. PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x36 gt is the command head RETURN lt ACK gt lt Version 1 byte 1 6 16 Get Key Pad buffered non numeric key COMMAND lt 0 75 gt lt 0 46 gt lt 0 81 gt Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 41 of 54 Sien amp Pay Technical Reference Manual Get one Key Pad buffered pressed non numeric key PARAMETERS lt 0 75 gt lt 0 46 gt lt 0 81 gt is the command head RETURN lt ACK gt lt Buffered Key 1 byte or lt ACK gt lt 0x00 gt if no key pressed 1 6 17 Clear Key Pad buffer COMMAND lt 0x75 gt lt 0x46 gt lt 0x82 gt Clear Key Pad buffer PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x82 gt is the command head RETURN lt ACK gt 1 6 18 Invalidate Public Key COMMAND lt 0 75 gt lt 0 46 gt lt 0 84 gt Make the numeric key and account key invalid PARAMETERS lt 0 75 gt lt 0 46 gt lt 0 84 gt is the command head RETURN lt ACK gt 1 6 19 Manual Input Card Data COMMAND lt 0x75 gt lt 0x46 gt lt 0x40 gt Get manual input card data only support format of new structure with PIN key and no LRC to set for every track data PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x40 gt is the command head RETURN lt ACK gt When finish inputting then return data as follow Output ISO ABA card data format please see title 2 4 1 7 Audio Control 1 7 1 Audio Control COMMAND lt 0x7B gt lt 0x46 gt lt 0x01 gt lt 0
30. ROR CARD NOT FOUND 0xE300 ERROR COLLISION CARD EXIST 0 400 ERROR CARDS EXIST 0 500 ERROR SAVED DATA EXIST 0xE600 ERROR NO DATA AVAILABLE 0 800 ERROR INVALID CID RETURNED OxE900 ERROR INVALID CARD EXIST 00 ERROR COMMAND UNSUPPORTED OxECOO ERROR COMMAND PROCESS 00 ERROR INVALID COMMAND OxEEO0 ERROR BAD COMMAND 0x6A00 ERROR NO KEY 0x0400 ERROR KEY TYPE 0x0300 ERROR DUKPT OVER 0x0500 ERROR KEY EXIST 0x0D00 ERROR SECUREHEAD RESPONSE DATA 0xC000 ERROR SECUREHEAD STATUS BUSY 0xC100 ERROR SECUREHEAD DAV ALWAYS HIGH 0xC200 ERROR SECUREHEAD NO RESPONSE 0xC300 Note If the unit always returns ERROR SECUREHEAD NO RESPONSE please restart the unit Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 53 of 54 Sien amp Pay Technical Reference Manual 4 0 Application Note RS232 Interface Default serial port parameters are baud rate 38400 8 data bits 1 stop bit no parity USB HID Interface 1 VID 0x0ACD PID 0x2310 2 Sign amp Pay uses report size 64 bytes for both input report and output report 3 Report definition 1 The first byte is a status byte MSB bit 7 equals 0 means last or only report 1 means following report s follow Bit 0 bit 6 defines the valid bytes in this report 2 Other bytes construct data or padding data 4 Commands and responses are exchanged with Sign amp Pay using common Win32 functions like CreateFile Re
31. Set SecureHead Data Masking Character COMMAND lt 0x73 gt lt 0x53 gt lt 0x4B gt lt Character gt Set character that used to mask PAN PARAMETERS lt 0x73 gt lt 0x53 gt lt Ox4B gt is the command head lt Character gt is used to mask PAN RETURN lt NAK gt or lt ACK gt 1 5 21 Enable SecureHead Encryption COMMAND lt 0x73 gt lt 0x53 gt lt 0x4C gt lt 0x01 gt lt Encryption Settings gt Enable or disable the SecureHead Encryption output PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x4C gt is the command head lt 0 01 gt is length for Encryption Settings Encryption Settings is defined as follow 0x30 Encryption Disabled 0x31 Enable TDES Encryption 0x32 Enable AES Encryption Not for Raw Data Decoding in Both Directions send out in other mode RETURN lt NAK gt or lt ACK gt 1 5 22 Set SecureHead Format of Display Expiration Data COMMAND lt 0x73 gt lt 0x53 gt lt 0x50 gt lt 1 byte format gt Display expiration data as mask data or clear data PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x50 gt is the command head Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 27 of 54 Sien amp Pay Technical Reference Manual byte format is defined as follow 0x30 Display expiration data as mask data 0x31 Display expiration data as clear data RETURN lt NAK gt or lt ACK gt 1 5 23 Set SecureHead Key Management COMMAND lt 0x73 gt lt 0x53
32. Systems Corp All rights reserved Page 46 of 54 Sign amp Pay Technical Reference Manual 3B333333333333333333333736373637363037303730373736373637363333333333333333333337 363736373630373037303737363736373633333333333333333333373637363736303730373037373 63736373633333333333333333333373637363736303730373F32 Track 1 amp 2 encrypted length 0x48 0x23 rounded up to 8 bytes 0x6B gt 0x70 112 decimal 863E9E3DA28E455B28F7736B77E47A64EDDA3BF03A06EA44F31D1818COBCD7A35 3FBIAD70EFD30FFC3DA08A4FBC9372E57E8B40848BAEAA3FE724B3550E2F4B22 3E6BF264BEAE9E39142B648CDB51FB8DAF8EAS5B63913D29419B67582FCCCE9B3 72660F03668CC453216D9449C6B67EF3 Track 1 hashed 3418AC88F65E1DB7ED4D10973F99DFC8463FF6DF Track 2 hashed 113B6226C4898A9D355057ECAF1 1A5598F02CA3 1 KSN 62994901190000000001 LRC checksum and ETX 39 9F 03 Masked Data Track 1 data masked in ASCII Track 2 data masked in ASCII Track 3 data unencrypted in ASCII 333333333337676760707077676763333333333767676070707767676333333333376767607070776 767633333333337676760707 2 Key Value F8 2A 7A 0D 7C 67 46 F1 96 189A FB 54 2C 65 KSN 62 99 49 01 19 00 00 00 00 01 Decrypted Data in ASCII B4266841088889999 BUSH JR GEORGE W MR 0809101100001100000000046000000 4266841088889999 0809101 10000046 0 33333333337676760707077676763333333333767676070707767676333333333376767607070776 767633333333337676760707 2 Decrypted Data in Hex 2542343236363834313038383838393939395E42555348204A522F47454
33. Track 1 masked data in ASCII Track 2 data in hex masked length 0x23 3B343236362A2A2A2A2A2A2A2A393939393D2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A3F2 A Track2 masked data in ASCII 4266 0090 RR In this example there is no Track 3 data either clear or masked encrypted and hashed data is below Track 1 encrypted length 0x48 rounded up to 8 bytes 0x48 72 decimal DA7F2A52BD3F6DD8B96C50FC39C7E6AF22F06ED1F033BE0FB23D6BD33DC5A1F8 08512F7AE18D47A60CC3F4559B1B093563BE7E07459072ABF8FAAB5338C6CC88 15 87797 7 Track 2 encrypted length 0x32 rounded up to 8 bytes 0 38 56 decimal AB3B10A3FBC230FBFB941FAC9E8264998 1 AE79F2632156E775A06AEDAFAF6F0A 184318 5209 55 Track 3 encrypted length 0x6B rounded up to 8 bytes 0x70 64 decimal 44A9CCF6A78AC240F791B63284E15B4019102BA6C505814B585816CA3C2D2F42 A99B1B9773EFIBI16E005B7CD8681860D174E6AD316A0ECDBC687115FC89360A EE7E430140A7B791589CCAADB6D6872B78433C3A25DA9DDAES83FI2FEFABS30CE 405B701131D2FBAAD970248A45600093 Track data hashed length 20 bytes 3418AC88F65E1DB7ED4D10973F99DFC8463FF6DF Track 2 data hashed length 20 bytes 113B6226C4898A9D355057ECAF 1 1A5598F02CA3 1 Track 3 data hashed length 20 bytes 688861C157C1CE2E0F72CE0F3 BB598A614EAABB1 KSN length 10 bytes 6299490 1190000000002 LCR check sum and ETX 06E203 Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 51 of 54 Sign amp Pay Te
34. adFile WriteFile and CloseHandle A class written in Visual C implementation which communicates with Sign amp Pay is available Below is the process of handling the Sign amp Pay device 1 Look for the Sign amp Pay device using VID 0x0ACD amp PID 0x2310 2 Establish connection to Sign amp Pay using CreateFile 3 Communicate with Sign amp Pay using ReadFile amp WriteFile 4 Destroy connection to Sign amp Pay using CloseHandle Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 54 of 54
35. and there is 0xOd at the end of each track Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 32 of 54 Sien amp Pay Technical Reference Manual RETURN lt NAK gt or lt ACK gt 1 5 36 Get MSR Card Encrypted Data With PIN Key Or Data Key COMMAND lt 0 73 gt lt 52 gt lt 0 4 gt Get the unit card endrypted data output format with PIN key or Data key if user had load MSR DUKPT key the data encrypt by PIN key while the Function is ox31 and by data key while the Function is 0x30 PARAMETERS lt 0 73 gt lt 0 53 gt lt 0 4 gt is the command head RETURN lt NAK gt or lt ACK gt lt 0xe4 gt lt Len gt lt Function gt lt Len gt is length for lt Function gt The value is 0x01 1 byte lt Function gt is defined as the following 0x30 the unit always output clear card data if user don t load MSR DUKPT key or output encrypted card data with Data key if user had loaded MSR DUKPT key 0x31 the unit always output clear card data if user don t load MSR DUKPT key or output encrypted card data with PIN key if user had loaded MSR DUKPT key 1 5 37 Set MSR Card Encrypted Data With PIN Key Or Data Key COMMAND lt 0x73 gt lt 53 gt lt 0xe4 gt lt Len gt lt Function gt Set the unit card encrypted data output format with PIN key or Data key if user had load MSR DUKPT key the encrypted data use PIN key while the lt Function gt is 0x31 and use data key while th
36. bble of this keys Besides F is the padding of the keys 1 6 11 Get Pinpad Input as Amount COMMAND lt 0x75 gt lt 0x46 gt lt 0x23 gt lt max_len gt lt min_len gt lt Parameter gt Get pinpad input AS AMOUNT PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x23 gt is the command head max len and min len is the max length and min length for amount Max length cannot exceed 20 while the min length cannot be less than 1 0 lt min_len lt max_len lt 20 lt Parameter gt is encrypted data using numeric key Be make sure the original data length must be less than 380 bytes The original data is LCD Status gt lt BackGround Color R G B total 3 bytes gt lt Input Param gt Message Count 2 bytes gt lt Messagel gt lt Message2 gt Input Param gt is defined lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte gt lt Backgroud color R G B total 3 bytes gt X0 2 bytes gt lt Y0 2 bytes X1 2 bytes gt lt Y1 2 bytes gt lt Show Mode 1 byte lt MessageX gt is defined Message Length includes self 2 bytes gt lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte gt lt Backgroud color R G B total 3 bytes X 2 bytes gt lt Y 2 bytes gt lt String Length 2 bytes gt lt String gt LCD Status 0x01 means clear display only 0x02 means show message only 0x03 means clear display and show message X0 2 bytes YO 2 byt
37. chnical Reference Manual Clear Masked Data in ASCII Track 1 99 4266 9999 BUSH JR GEORGE W JM R A Track 2 426 6 0000 HH k k k kO K Key Value 1 99 4C 3E 09 D9 AC EF3E A9 BD 43 81 EF A3 34 KSN 62 99 49 01 19 00 00 00 00 02 Decrypted Data Track 1 decrypted B4266841088889999 BUSH JR GEORGE W MR 0809101100001100000000046000000 Track 2 decrypted 4266841088889999 08091011000004620 Track 3 decrypted 33333333337676760707077676763333333333767676070707767676333333333376767607070776 767633333333337676760707 2 Track 1 decrypted data in hex including padding zeros but there are no pad bytes here 25423432363638343 13038383838393939395E42555348204A522F47454F52474520572E4D525E3 03830393 130313130303030313130303030303030303034363030303030303F21 Track 2 decrypted data in hex including padding zeros 3B3432363638343 13038383838393939393D303830393 1303 131303030303034363F300000000000 Track 3 decrypted data in hex including padding zeros 3B3333333333333333333337363736373630373037303 7373637363 7363333333333333333333337 3637363736303730373037373637363736333333333333333333333736373637363037303 73037373 6373 6373633333333333333333333373637363736303730373F320000000000 Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 52 of 54 Sign amp Pay Technical Reference Manual 3 0 List of Error Code ERROR PARAMETER OxE100 ERROR LOWOUTBUFFER OxE200 ER
38. e lt Function gt is 0x30 PARAMETERS lt 0x73 gt lt 0x53 gt lt Oxe4 gt is the command head lt Len gt is length for lt Function gt The value is 0x01 1 byte lt Function gt is defined as following 0x30 the unit always output clear card data if user don t load MSR DUKPT key or output encrypted card data with data key if user had loaded MSR DUKPT key 0x31 the unit always output clear card data if user don t load MSR DUKPT key or output encrypted card data with PIN key if user had loaded MSR DUKPT key RETURN lt NAK gt or lt ACK gt Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 33 of 54 Sign amp Pay Technical Reference Manual 1 6 PIN Pad Control 1 6 1 Get Encrypted PIN online COMMAND lt 0x75 gt lt 0x46 gt lt 0x07 gt lt Parameter gt Get encrypted PIN PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x07 gt is the command head lt Parameter gt is Defined as lt KeyType gt lt max_len gt lt min_len gt lt Account_flag gt lt Account gt lt LCD Status gt lt BackGround Color R G B total 3 bytes gt lt Input Param gt Message Count 2 bytes gt lt Messagel gt lt Message2 gt lt KeyType gt 1 byte 0 Master key Session key currently not implemented l DUKPT max len 1 byte and min len 1 byte gt is the max length and min length for the amount Max length cannot exceed12 while the min length cannot be less than 4 4 lt
39. e may be used Licensor does not warrant that the Software will meet Licensee specifications or that the operation of the Software will be uninterrupted or free of errors IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY DAMAGES INCLUDING ANY LOST PROFITS LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE Licensee s sole remedy in the event of a defect in material or workmanship is expressly limited to replacement of the Software disk s if applicable GOVERNING LAW If any provision of this Agreement is found to be unlawful void or unenforceable that provision shall be removed from consideration under this Agreement and will not affect the enforceability of any of the remaining provisions This Agreement shall be governed by the laws of the State of California and shall insure to the benefit of ID TECH Incorporated its successors or assigns ACKNOWLEDGMENT LICENSEE ACKNOWLEDGES THAT HE HAS READ THIS AGREEMENT UNDERSTANDS ALL OF ITS TERMS CONDITIONS AND RESTRICTIONS AND AGREES TO BE BOUND BY THEM LICENSEE ALSO AGREES THAT THIS AGREEMENT SUPERSEDES ANY AND ALL VERBAL AND WRITTEN COMMUNICATIONS BETWEEN LICENSOR AND LICENSEE OR THEIR ASSIGNS RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT QUESTIONS REGARDING THIS AGREEMENT SHOULD BE ADDRESSED IN WRITING TO ID TECH INCORPORATED ATTENTION CUSTOMER SUPPORT AT THE ABOVE ADDRESS OR E MAILED TO support gidtechproducts com In
40. e use Bit 4 0 reserved for future use Bit 5 0 reserved for future use Note 4 Encrypted Hash data sent status Field 9 Encrypted data sent status Bit 0 1 track 1 encrypted data present Bit 1 1 track 2 encrypted data present Bit 2 1 track 3 encrypted data present Bit 3 1 track 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 Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 49 of 54 Sign amp Pay Technical Reference Manual 2 2 4 Enhanced Encryption Format Decryption Example Example of decryption of a three track ABA card with the enhanced encryption format Sign amp Pay with default settings except enhanced encryption structure format Enhanced encryption Format this can be recognized because the high bit of the fourth byte underlined 80 is 1 029801803F48236B03BF252A343236362A2A2A2A2A2A2A2A393939395E42555348204A522F4 7454 52474520572 40525 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2A2A2A2A2A2A2A2A3F2A3B343236362A2A2A2A2A2A2A24A393939393D2A2A2A2A2A2A2 A2A2A2A2A2A2A2A2A3F2ADAT7F2A52BD3F6DD8B96C50FC39C7E6AF22F06ED1F033BEOF B23D6BD33DC5A1F808512F7AE18D47A60CC3F4559B1B093563BE7E07459072ABF8FAABS5 338C6CC8815FF87797AE3A7BEAB3B10A3FBC230FBFB941FAC9E82649981AE79F2632156E TI5A06AEDAFAF6F0A184318C5209E55ADA44A9CCF6A78AC240F791B63284E15B401
41. e valid original data length must be no more than 128 bits RETURN lt ACK gt or lt NAK gt Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 37 of 54 Sien amp Pay Technical Reference Manual 1 6 8 Set Check Value COMMAND lt 0x75 gt lt 0x46 gt lt 0x21 gt lt 128 bytes check value gt Set check value This value will be used by firmware and bootload PARAMETERS lt 0 75 gt lt 0 46 gt lt 0 21 gt is the command head 128 bytes check value gt RETURN lt ACK gt or lt NAK gt 1 6 9 Get Bootloader Check Value COMMAND lt 0x75 gt lt 0x46 gt lt 0x33 gt Get the bootloader check value stored in device PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x33 gt is the command head RETURN lt NAK gt or lt ACK gt lt 8 bytes Bootloader check value gt 1 6 10 Get Pinpad Input as Numeric COMMAND lt 0x75 gt lt 0x46 gt lt 0x22 gt lt max_len gt lt min_len gt lt Parameter gt Get numeric pinpad input PARAMETERS lt 0 75 gt lt 0 46 gt lt 0 22 gt is the command head max len and min len is the max length and min length for amount Max length cannot exceed 20 while the min length cannot be less than 1 0 lt min_len lt max_len lt 20 Parameter is encrypted data using numeric key Be make sure the original data length must be less than 380 bytes The original data is LCD Status 1 byte gt lt BackGround Color R G B total 3 bytes gt
42. ecureHead Security Level COMMAND lt 0x73 gt lt 0x52 gt lt 0x7E gt Read current SecureHead Security level PARAMETERS lt 0x73 gt lt 0x52 gt lt 0x7E gt is the command head RETURN lt gt or lt ACK gt lt 1 byte Function gt lt 1 byte Len gt lt 1 byte Security Level byte Security Level is defined as follow 0x30 Security Level 0 0x31 Security Level 1 0x32 Security Level 2 0x33 Security Level 3 Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 25 of 54 Sien amp Pay Technical Reference Manual 1 5 15 Change SecureHead to Default Settings COMMAND lt 0x73 gt lt 0x53 gt lt 18h gt Set SecureHead to default settings PARAMETERS lt 0x73 gt lt 0x53 gt lt 18h gt is the command head RETURN lt NAK gt or lt ACK gt 1 5 16 SecureHead Output Settings COMMAND lt 0x73 gt lt 0x53 gt lt 0x1A gt lt 0x01 gt lt Securehead outputting Settings gt Enable Disable SecureHead output PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x1A gt is the command head lt 0 01 gt 15 length for lt Securehead outputting Settings gt lt Securehead outputting Settings gt is defined as follow 0x30 SecureHead Output Disabled 0x31 SecureHead Output Enabled RETURN lt NAK gt or lt ACK gt 1 5 17 SecureHead Decoding Method Settings COMMAND lt 0x73 gt lt 0x53 gt lt 0x 1D gt lt 0x01 gt lt Decoding Method Settings gt PARAMETERS lt 0x73 gt lt 0x
43. er PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x0D gt lt 0x00 gt is the command head RETURN lt ACK gt lt 16 bytes Random Number gt step 2 COMMAND lt 0x75 gt lt 0x46 gt lt 0x0D gt lt 0x01 gt lt Encrypted data gt Activate PinPad step 2 PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x0D gt lt 0x01 gt is the command head lt Encrypted data is encrypted data for IDTECHSH using 16 bytes random got in step 1 RETURN lt gt or lt NAK gt 1 6 4 Set Public Key COMMAND lt 0x75 gt lt 0x46 gt lt 0x16 gt lt 128 bytes gt lt 128 bytes d gt lt 20bytes hash with sha 1 gt Set public key used in setting numeric key and account key PARAMETERS lt 0 75 gt lt 0 46 gt lt 0 16 gt is the command head 128 bytes n gt 128 bytes d gt lt 20bytes hash with sha 1 gt RETURN lt ACK gt or lt NAK gt Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 36 of 54 Sien amp Pay Technical Reference Manual 1 6 5 Set Numeric Key COMMAND lt 0x75 gt lt 0x46 gt lt 0x18 gt lt 384 bytes encrypted data gt Set numeric key This key will be used by command Get pinpad input AS numeric and Get pinpad input AS amount PARAMETERS lt 0 75 gt lt 0 46 gt lt 0 18 gt is the command head 384 bytes encrypted data Original data include two field of 128 bytes encrypted gt and 128 bytes encrypted e they are defined as follow 128 bytes encrypted n is encryp
44. es gt lt X1 2 bytes gt lt Y1 2 bytes is scope of LCD 0 lt 0 lt 1 lt 320 0 lt 0 lt 1 lt 240 Show Mode is a bitmap for 4 lines Bit 0 for left line Bit 1 for right line Bit 2 for top line and Bit 3 for bottom line Value 1b means show this line Ob means do not show this line RETURN lt ACK gt or lt NAK gt Input is 16 bytes lt len gt lt keys0 gt lt keys1 gt lt FF gt Where len the number of numeric keys 0 keysl two numeric keys every key is the nibble of this keys Besides F is the padding of the keys 1 6 12 Get Card Account COMMAND lt 0x75 gt lt 0x46 gt lt 0x24 gt lt Parameter gt Get card Account PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x24 gt is the command head Parameter defined as follow Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 39 of 54 Sign amp Pay Technical Reference Manual lt max_len gt lt min_len gt lt LCD Status gt lt BackGround Color R G B total 3 bytes gt lt Input Param gt Message Count 2 bytes gt lt Messagel gt lt Message2 gt Input Param gt is defined lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte Backgroud color R G B total 3 bytes X0 2 bytes gt lt Y0 2 bytes X1 2 bytes gt lt Y1 2 bytes gt lt Show Mode 1 byte gt lt MessageX gt is defined Message Length includes self 2 byte
45. format of card data in new structure PARAMETERS lt 0 73 gt lt 0 53 gt lt 0 86 gt is the command head lt Len gt is length of lt Mask Opt gt The value is 0x01 1 byte lt Mask Opt gt is defined as following bit0 1 tk1 mask data allow to send when encrypted bitl 1 tk2 mask data allow to send when encrypted bit2 1 tk3 mask data allow to send when encrypted RETURN lt NAK gt or lt ACK gt Note 1 When mask option bit is set if data is encrypted but not forced encrypted the mask data will be sent If mask option is not set the mask data will not be sent under the same condition 1 5 32 Enable Disable SecureHead Card Data Output COMMAND lt 0x73 gt lt 0x46 gt lt 0xel gt lt 0x01 gt lt Function gt Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 31 of 54 Sign amp Pay Technical Reference Manual Enable or Disable SecureHead automatic output of Card data PARAMETERS lt 0 73 gt lt 0 46 gt lt 0 1 gt is the command head lt 0x01 gt is length for lt Function gt lt Function gt is defined as following 0x30 Disable SecureHead card data output 0x31 Enable SecureHead card data output It is default after Power ON RETURN lt NAK gt or lt ACK gt 1 5 33 Get MSR Card Data Output Status COMMAND lt 0 73 gt lt 0 52 gt lt 0 2 gt Get SecureHead card data output status PARAMETERS lt 0 73 gt lt 0 52 gt lt 0 2 gt i
46. format signature data Send BMP format signature to Sign amp Pay PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x33 gt is the command head lt BMP format signature data RETURN lt gt Copyright 2010 2011 International Technologies amp Systems Corp rights reserved Page 21 of 54 Sien amp Pay Technical Reference Manual 1 5 MagStripe Reader Control Magstripe reader is referred to as the IDTECH SecureHead in this section 1 5 1 Get Reader Output Settings COMMAND lt 0x73 gt lt 0x52 gt lt 0x1A gt Get reader output settings PARAMETERS lt 0 73 gt lt 0 52 gt lt 0 1 gt is the command head RETURN lt NAK gt or lt ACK gt lt 0x1A gt lt 0x01 gt lt Securehead output settings lt 0 1 gt is command 0x01 is length for lt Securehead output Settings lt Securehead output Settings is defined as follow 0x30 SecureHead Output Disabled 0x31 SecureHead Output Enabled default 1 5 2 Get SecureHead Decoding Method Setting COMMAND lt 0 73 gt lt 0 52 gt lt 0 1 gt Get SecureHead decoding method PARAMETERS lt 0x73 gt lt 0x52 gt lt 0x1D gt is the command head RETURN lt gt or lt ACK gt lt 0x 1D gt lt 0x01 gt lt Decoding Method Settings gt lt 0x1D gt is command lt 0x01 gt is length for lt Decoding Method Settings gt lt Decoding Method Settings gt is defined as follow 0x30 Raw Data Decoding in Both Directions send out in ID TECH mode 0x31 Decoding in Both
47. formation Provided The information contained herein is provided to the user as a convenience While every effort has been made to ensure accuracy ID TECH is not responsible for damages that might occur because of errors or omissions including any loss of profit or other commercial damage nor for any infringements or patents or other rights of third parties that may result from its use The specifications amp information described herein were current at the time of publication but are subject to change at any time without prior notice Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 3 of 54 Sien amp Pay Technical Reference Manual Proprietary amp Trademark Statements This document contains proprietary information of ID TECH Its receipt or possession does not convey any rights to reproduce or disclose its contents or to manufacture use or sell anything it may describe Reproduction disclosure or use without specific written authorization from ID TECH is strictly forbidden Copyright 2010 International Technologies amp Systems Corporation Allrights reserved ID TECH is a registered trademark of International Technologies amp Systems Corporation Sign amp Pay and Value through Innovation are trademarks of International Technologies amp Systems Corporation ID TECH 10721 Walker Street Cypress CA 90630 714 761 6368 www idtechproducts com Copyright 2010 2011 Internat
48. gt lt 0x58 gt lt 0x01 gt lt Key_management gt Set model of key management PARAMETERS lt 0 73 gt lt 0 53 gt lt 0 58 gt is the command head lt 0x01 gt is length of lt Key_management gt lt Key_management gt is defined as follow 0x30 Fixed Key 0x31 DUKPT Key RETURN lt NAK gt or lt ACK gt 1 5 24 SecureHead Send External Authenticate Command COMMAND lt 0x73 gt lt 0x53 gt lt 0x74 gt lt 0x08 gt lt 8 bytes of original random data gt Send External Authenticate data to SecureHead PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x74 gt 15 the command head 0x08 is length for lt 8 bytes of original random data lt 8 bytes of original random data After execute the command of SecureHead External Authenticate Get Random Command 0x73 0x52 0x74 Get 8 bytes random data and encrypt these data with Fix key of SecureHead then get lt 8 bytes of original random data RETURN lt NAK gt or lt ACK gt 1 5 25 SecureHead Load Device Key Command COMMAND lt 0x73 gt lt 0x53 gt lt 0x76 gt lt 0x10 gt lt 16 bytes Device key gt Change Fix Key If you want to change Fix key you must execute the command of SecureHead External Authenticate Get Random Command Get 8 bytes Random Data and encrypt Random data with Fix key of SecureHead then send encrypt data to SecureHead If all is ok this command can be executed success PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x10h gt is the command head lt 0x10 gt is length for
49. ional Technologies amp Systems Corp All rights reserved Page 4 of 54 Sien amp Pay Technical Reference Manual Revision History Revision Date Description 50 10 06 2010 Initial Release 51 02 16 2011 Minor changes on the command output format 52 05 19 2011 Added commands 1 4 13 Get BMP Format Signature 1 4 17 Set BMP Format Signature 1 5 26 SecureHead Clear Data Output Command 1 5 27 SecureHead Load DUKPT Command 1 5 33 Get MSR Card Data Output Status 1 5 34 Read MSR Card Data Output Format 1 5 35 Set MSR Data Output Format 1 6 9 Get Bootloader Check Value Modified commands 1 6 1 Get Encrypted PIN Online 1 6 10 Get Pinpad Input as Numeric 1 6 11 Get Pinpad Input as Amount 1 6 12 Get Card Account 1 6 13 Get Encrypted Data Added default unencrypted MSR output format 53 08 11 2011 Modified encrypted MSR output format Added application note on RS232 and USB HID interface 09 27 2011 Added commands supported in firmware version 1 00 027 and above 1 5 28 Secured output structure setting 1 5 29 Encrypt Option Setting 1 5 30 Hash Option Setting 1 5 31 Mask Option Setting 1 5 36 Get MSR Card Encrypted Data With PIN Key Or Data Key 1 5 37 Set MSR Card Encrypted Data With PIN Key Or Data Key 1 6 19 Manual Input Card Data Removed Enable key loading command Initial Release Copyright 2010 2011 International Technologies a
50. kLRC CheckSum ETX NO 1 O Q Q LD Where lt STX gt 02h lt ETX gt 03h Note 1 Card Encode Type Card Type will be 8x for enhanced encryption format and Ox for original encryption format Value Encode Type Description 00h 80h ISO ABA format Olh 81h AAMVA format Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 48 of 54 Sign amp Pay Technical Reference Manual 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 017 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 Field 4 Bit 0 1 track 1 decoded data present Bit 1 1 track 2 decoded data present Bit 2 1 track 3 decoded data present Bit 3 1 track 1 sampling data present Bit 4 1 track 2 sampling data present Bit 5 1 track 3 sampling data present Bit 6 7 Reserved for future use Note 3 Clear mask data sent status Field 8 Clear mask data sent status and field 9 Encrypted Hash data sent status will only be sent out in enhanced encryption format Field 8 Clear masked data sent status byte Bit 0 1 track 1 clear mask data present Bit 1 1 track 2 clear mask data present Bit 2 1 track 3 clear mask data present Bit 3 0 reserved for futur
51. lic gt lt Underline gt lt CharSet gt 00 00 ff Text lt RED gt lt GREEN gt lt BLUE gt 01 TRANSPARENT ff ff ff background color 40 00 WX 20 00 IY 0a 00 String length 45 6e 74 65 72 20 50 49 4e 3a Enter PIN 2e 00 message length is 46 Oc Oc 00 00 00 03 font lt Height gt lt Width gt lt Weight gt lt Italic gt lt Underline gt lt CharSet gt 00 00 ff Text lt RED gt lt GREEN gt lt BLUE gt 01 TRANSPARENT ff ff ff Back ground color 06 00 MX b4 00 IY 19 00 String length 50 72 65 73 73 20 45 74 65 72 20 4b 65 79 20 57 68 65 20 44 6f 6e 65 Press Enter Key When Done 46 32 Checksum and LRC 03 ETX The response from the unit is 02 01 00 06 06 06 03 MACK Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 35 of 54 Sien amp Pay Technical Reference Manual 02 25 00 06 46 46 46 46 39 38 37 36 35 34 33 32 31 30 45 30 30 30 30 31 31 42 39 43 31 38 34 35 45 42 39 39 33 41 37 41 xx xx 03 Encrypted PIN block in ASCII xx xx LRC 1 6 2 Cancel Command Get Encrypted PIN Online or Get Numeric Key COMMAND lt 0x75 gt lt 0x46 gt lt 0x09 gt Cancel command Get encrypted PIN online or Get numeric key PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x09 gt is the command head RETURN lt gt 1 6 3 Activate PinPad step 1 COMMAND lt 0x75 gt lt 0x46 gt lt 0x0D gt lt 0x00 gt Activate PinPad step 1 get 16 byte random numb
52. lt 16 bytes Device key gt 16 bytes Device key is the Fixed key RETURN Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 28 of 54 Sien amp Pay Technical Reference Manual lt NAK gt or lt ACK gt 1 5 26 SecureHead Clear Data Output Command COMMAND lt 0x73 gt lt 0x53 gt lt 0x7e gt lt Len gt lt Fixed Data gt Erase the DUKPT key defined by user and use a random DUKPT key generated by Sign amp Pay PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x7e gt is the command head lt Len gt is length of Fixed Data The value is 0x09 1 byte lt Fixed Data gt is defined as the following lt 0 31 0 01 0 02 0 03 0 04 0 05 0 06 0 07 0 08 gt RETURN lt NAK gt or lt ACK gt 1 5 27 SecureHead Load DUKPT Key Note These commands do not follow the command protocol Step 1 Enable load DUKPT key COMMAND 0x55 0x01 0x06 0x08 0x09 0x01 Ox5A gt Enable load DUKPT key command COMMAND lt 0x55 0x01 0x06 0x08 0x01 0x01 0 5 gt Cancel DUKPT key loading process RETURN lt NAK gt or lt ACK gt Step 2 Get SecureHead Key Status COMMAND lt STX gt lt F gt lt F gt lt Command Data Base64 gt lt 0D gt lt 0A gt lt ETX gt lt LRC gt lt Command Data Base64 gt the original data is lt 0xff 0x13 0x01 0x02 LRC gt Response lt ACK NAK gt lt STX gt lt F gt lt F gt lt Respond Data BASE64 gt lt 0x0D gt lt 0x0A gt lt ETX gt lt
53. mp Systems Corp All rights reserved Page 5 of 54 Sign amp Pay Technical Reference Manual 10 Sign amp Pay Commands Descriptions 14 Device Related Seti gs eco qu ierit dian eio in LI GetirFIrmware VersSI ni h aaa dete 1 1 2 Get Seral Number u n tut a 1 13 Set Serial NUIBDEISS a wa Modi SS E Su 1 12 Get Model an t aa ipee et Iob S Reset Device sua upan akmu as L6 uterBootoadme Mode zu u 1222 CEED CONTON nerea Nate a i tie aS OU DLL EED Control deno GI ce LM Sone a DERE 1 3 PCD CONTON hu HOD Set Pen Widthand C lera u aa 13 27 S Draw Die qa masan q Gq SS aa I e S Qu Draw 1 n ns a uD ATG aa 1 35 Set Brush Color 1 3 6 R ect ngle ua sss u Lau luu hamukun sa 13 7
54. nencrypted length 1 byte 0 for no track data e track 2 unencrypted length 1 byte 0 for no track2 data e track 3 unencrypted length 1 byte 0 for no track3 data e track 1 masked Omitted if in Raw mode e track 2 masked Omitted if in Raw mode e track 3 data Omitted if in Raw mode e track 1 encrypted AES TDES encrypted data e track 2 encrypted AES TDES encrypted data e track 3 encrypted Only used in Raw mode e track 1 hashed 20 bytes SHA1 Xor e track 2 hashed 20 bytes SHA1 Xor e DUKPT serial number 10 bytes Non ISO ABA Data Output Format e card encoding type 1 AAMVA 3 Others e track status bit 0 1 2 T1 2 3 decode bit 3 4 5 T1 2 3 sampling e track 1 length 1 byte 0 for no track data e track 2 length 1 byte 0 for no track2 data e track 3 length 1 byte 0 for no track3 data e track 1 data e track 2 data e track 3 data Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 45 of 54 Sign amp Pay Technical Reference Manual 2 2 2 Original Encryption Format Decryption Example Decryption of a three track ABA card with the original encryption format Sign amp Pay with default settings Original encryption format can be recognized because the high bit of the fourth byte underlined 00 Is 0 027D01003F48236B252A343236362A2A2A2A2A2A2A2A393939395E42555348204A522F47454 F52474520572EAD525E2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2 A2A2A2A2
55. op Fee P TAA oda 23 dar ReviewsecureHead PrePANID una ns SN uha ma ua inel de a daga Di doing 23 15 6 Review SecureHead PostPANID 23 1 5 7 Get SecureHead Data Masking Character usi tui etr true hen SU taa deine 23 15 8 Get SecureHead Encryption Algorithm 24 15 9 Get SecureHead Serial a nn n ah a a u ua A tu a Di oin 24 1 5 10 Get SecureHead format of display expiration data sss 24 1 5 11 Review SecureHead KSN and Counter ID scission iiie esee tuae oo 24 1 5 12 Get SecureHead Key Management 22 25 1 5 13 SecureHead External Authenticate Get Random Command 25 15 14 GetisecureHead Security Level iui sasa itae re o n eta pee pe eR EAD teins 25 1 5 15 Change secareHead to Default Settings 5 p I eiue eM Da ERR DE eet vta 26 1 5 16 SecureHead Output Settings quida 26 1 5 17 SecureHead Decoding Method Settings essere 26 15 18 Set Sec reHead PrePANID eb oae bp 26 1 5 195 nunus nu e 27 1 5 20 Set SecureHead Data Masking Beecve eei paie tq id 27 1
56. op left point 2 bytes lt gt specifies the x coordinate of the right bottom point 2 bytes lt Y1 gt specifies the y coordinate of the right bottom point 2 bytes Length specifies the length of the string in characters 2 bytes String specifies the string to be displayed RETURN lt gt 1 3 13 Draw String COMMAND lt 0x8A gt lt 0x46 gt lt 0x4F gt lt X gt lt Y gt lt Length gt lt String gt Draw string using the selected font and colors on the LCD PARAMETERS lt 0 8 gt lt 0 46 gt lt 0 gt is the command head X specifies the x coordinate of the start point 2 bytes lt Y gt specifies the y coordinate of the start point 2 bytes Length specifies the length of the string in chars 2 bytes String specifies the string to be displayed RETURN lt gt 1 3 14 Get Picture LCD COMMAND lt 0x8A gt lt 0x46 gt lt 0x60 gt lt X0 gt lt Y0 gt lt X1 gt lt Y 1 gt Get picture on the LCD defined by top left point lt X0 gt lt Y0 gt and bottom right point lt X1 gt lt Y 1 gt PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x60 gt is the command head X0 is X coordinate of top left point 2 bytes lt Y0 gt is Y coordinate of top left point 2 bytes lt 1 gt is X coordinate of bottom right point 2 bytes Y is Y coordinate of bottom right point 2 bytes RETURN Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 15 of
57. parate card reads LRC Check character following end sentinel CDL Old California Drivers License format CR Carriage Return Note The lt CR gt characters shown above between tracks 1 amp 2 and 2 amp 3 denote the default character for this position the Track Separator position The lt CR gt characters shown for track 3 denotes the default character for this position the Terminator position Unencrypted MSR setting 0x30 clear text card data with no LRC 0x0d at the end of each data track only if it exists default setting 0x31 clear text card data with LRC Ox0d at the end of each track when the track data does not exist Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 44 of 54 Sien amp Pay Technical Reference Manual 2 2 Encrypted MSR Data Output Format 2 2 1 Original Encryption Format lt STX gt lt LenL gt lt LenH gt lt Card Data gt lt CheckLRC gt lt CheckSum gt lt ETX gt Where lt STX gt 02h lt ETX gt 03h lt LenL gt lt LenH gt is a two byte length of Card Data lt CheckLRC gt is one byte Exclusive OR sum calculated for all Card Data lt CheckSum gt is a one byte Sum value calculated for all Card data Card Data card data format is shown below ISO ABA Data Output Format e card encoding type 0 ISO ABA 4 for Raw Mode e track status bit 0 1 2 T1 2 3 decode bit 3 4 5 T1 2 3 sampling e track 1 u
58. party without prior written authorization of the Licensor If Licensee transfers the Software without authorization all rights granted under this Agreement are automatically terminated COPYRIGHT The Software is copyrighted Licensee may not copy the Software except to archive the Software or to load the Software for execution purposes All other copies of the Software are in violation of this Agreement TERM This Agreement is in effect as long as Licensee continues the use ofthe Software The Licensor also reserves the right to terminate this Agreement if Licensee fails to comply with any of the terms conditions or restrictions contained herein Should Licensor terminate this Agreement due to Licensee s failure to comply Licensee agrees to return the Software to Licensor Receipt of returned Software by the Licensor shall mark the termination Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 2 of 54 Sien amp Pay Technical Reference Manual LIMITED WARRANTY Licensor warrants to the Licensee that the disk s or other media on which the Software is recorded to be free from defects in material or workmanship under normal use THE SOFTWARE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Because of the diversity of conditions and PC hardware under which the Softwar
59. re version data gt 1 5 5 Review SecureHead PrePANID COMMAND lt 0x73 gt lt 0x52 gt lt 0x49 gt First N Digits in PAN which can be clear data PARAMETERS lt 0x73 gt lt 0x52 gt lt 0x49 gt is the command head RETURN lt gt or lt ACK gt lt 0x49 gt lt 0x01 gt lt Number gt lt Number gt is count in PAN which can be clear data at the first of digits 1 5 6 Review SecureHead PostPANID COMMAND lt 0x73 gt lt 0x52 gt lt 0x4A gt Last M Digits in PAN which can be clear data PARAMETERS lt 0 73 gt lt 0 52 gt lt 0x4A gt is the command head RETURN lt gt or lt ACK gt lt 0x4A gt lt 0x01 gt lt Number gt lt Number gt is count in PAN which can be clear data at the last of digits 1 5 7 Get SecureHead Data Masking Character COMMAND lt 0x73 gt lt 0x52 gt lt 0x4B gt Read character that used to mask PAN PARAMETERS lt 0x73 gt lt 0x52 gt lt 0x4B gt is the command head RETURN lt NAK gt or lt ACK gt lt 0x4B gt lt 0x01 gt lt Character gt lt Character gt is used to mask PAN Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 23 of 54 Sien amp Pay Technical Reference Manual 1 5 8 Get SecureHead Encryption Algorithm COMMAND lt 0 73 gt lt 0 52 gt lt 0 4 gt Read Security Algorithm of SecureHead PARAMETERS lt 0x73 gt lt 0x52 gt lt 0x4C gt is the command head RETURN lt NAK gt or lt ACK gt lt 0x4c gt lt 0x01
60. right O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 24 of 54 Sign amp Pay Technical Reference Manual lt NAK gt or lt ACK gt lt 0x51 gt lt Parameter length gt lt Data length gt lt Data gt lt 0 51 gt is command lt Parameter length gt is length of lt Data length gt and lt Data gt lt Data length gt 15 length of lt Data gt Data includes the Initial Key Serial Number in the leftmost 59 bits and a value for the Encryption Counter in the right most 21 bits 1 5 12 Get SecureHead Key Management setting COMMAND lt 0 73 gt lt 0 52 gt lt 0x58 gt Get model of key management PARAMETERS lt 0 73 gt lt 0 52 gt lt 0x58 gt is the command head RETURN lt NAK gt or lt ACK gt lt 0x58 gt lt 0x01 gt lt Key_management gt lt 0 58 gt is command lt 0x01 gt is length of lt Key_management gt lt Key management gt is defined as follow 0x30 Fixed Key 0x31 DUKPT Key 1 5 13 SecureHead External Authenticate Get Random Command COMMAND lt 0 73 gt lt 0 52 gt lt 0x74 gt Get 8 bytes of TDES encrypted random data Then use a fixed key of SecureHead to encrypte these bytes and send the result to SecureHead If these steps are ok then SecureHead allow you to change the fixed key PARAMETERS lt 0 73 gt lt 0 52 gt lt 0x74 gt is the command head RETURN lt NAK gt or lt ACK gt lt 8 bytes of TDES encrypted random data 1 5 14 Get S
61. s gt lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte gt lt Backgroud color R G B total 3 bytes gt lt X 2 bytes gt lt Y 2 bytes gt lt String Length 2 bytes gt lt String gt lt max_len gt and lt min_len gt is the max length and min length for amount Max length cannot exceed 20 while the min length cannot be less than 12 lt LCD Status gt 0x01 means clear display only 0x02 means show message only 0x03 means clear display and show message lt 0 2 bytes gt lt Y0 2 bytes gt lt X1 2 bytes gt lt Y1 2 bytes is scope of LCD 0 lt 0 lt 1 lt 320 0 lt Y0 lt Y1 lt 240 lt Show Mode gt is a bitmap for 4 lines Bit 0 for left line Bit 1 for right line Bit 2 for top line and Bit 3 for bottom line Value 1b means show this line 0b means do not show this line RETURN lt gt or lt ACK gt lt Encrypted Data gt lt KSN gt Where lt KSN gt is a 10 bytes string in the case of fixed key management use serial number plus two bytes null characters instead of KSN 1 6 13 Get Encrypted Data COMMAND lt 0x75 gt lt 0x46 gt lt 0x25 gt lt Parameter gt Get encrypted data from keypad PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x25 gt is the command head lt Parameter gt is defined lt End flag gt lt max_len gt lt min_len gt lt LCD Status gt lt BackGround Color R G B total 3 bytes gt lt Input Param gt lt Message Count 2 byte
62. s gt lt Message1 gt lt Message2 gt End flag gt End flag 0 Not to send back encrypted key entry Must followed by another Get encrypted data command End flag 1 Final key entry command Data will be encrypted and sent back Input Param gt is defined lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte gt lt Backgroud color R G B total 3 bytes X0 2 bytes gt lt Y0 2 bytes X1 2 bytes gt lt Y1 2 bytes gt lt Show Mode 1 byte lt MessageX gt is defined Message Length includes self 2 bytes gt lt Font 6 bytes gt lt Text Color R G B total 3 bytes gt lt Background Mode 1 byte gt lt Backgroud color R G B total 3 bytes X 2 bytes gt lt Y 2 bytes gt lt String Length 2 bytes gt lt String gt lt Show Mode gt is a bitmap for 4 lines Bit 0 for left line Bit 1 for right line Bit 2 for top line and Bit 3 for bottom line Value 1b means show this line 0b means do not show this line lt max_len gt and lt min_len gt is the max length and min length for strings Max length cannot exceed 20 while the min length cannot be less than 1 0 lt min_len lt max_len lt 20 lt LCD Status gt 0x01 means clear display only 0x02 means show message only 0x03 means clear display and show message Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 40 of 54 Sien amp Pay Technical Reference Manual Note Thi
63. s defined as following bit0 1 tk1 force encrypt 1 tk2 force encrypt bit2 1 tk3 force encrypt Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 30 of 54 Sien amp Pay Technical Reference Manual bit3 1 tk3 force encrypt when card type is 0 RETURN lt NAK gt or lt ACK gt Note 1 When force encrypt is set this track will always be encrypt regardless of card type No clear mask text will be sent 2 If and only if in new encrypt structure each track encryption is separated encrypted data length will round up to 8 or 16 bytes 3 When force encrypt is not set it encrypts data just like old structure that is only T1 and T2 in type zero will be encrypted 1 5 30 Hash Option Setting COMMAND lt 0x73 gt lt 0x53 gt lt 0x5c gt lt Len gt lt Hash Opt 0x30 gt Only effect encrypted output format of card data in new structure PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x5c gt is the command head lt Len gt is length of lt Hash Opt gt The value is 0x01 1 byte lt Hash Opt 0x30 gt Hash Opt is defined as following bit0 1 tk1 hash will be sent if data is encrypted bitl 1 tk2 hash will be sent if data is encrypted bit2 1 tk3 hash will be sent if data is encrypted RETURN lt NAK gt or lt ACK gt 1 5 31 Mask Option Setting COMMAND lt 0x73 gt lt 0x53 gt lt 0x86 gt lt Len gt lt Mask Opt gt Only effect encrypted output
64. s function is for encrypting the data entered from the key pad This function will end if the end flag is 1 and the enter key or cancel key is pressed The data in buffer will be erased if a different command is sent or there 1s a 30 seconds time out between two commands Maximum number of Get encrypted data command allowed is 10 If there is an error or invalid command is sent the data in buffer will also be erased RETURN lt NAK gt or lt ACK gt or lt ACK gt lt Encrypted Data gt lt KSN gt Where lt KSN gt is a 10 bytes string lt Encrypted Data Entered data encrypted by DUKPT 3DES key When the encrypted data is decrypted it contains cleat text of all the keys entered separated by Format First entered key string Second entered key string Last entered key string This command will response lt 0x06 gt as soon as the unit received correct command When Enter key is pressed If end flag 0 Return value lt ACK gt If end flag 1 Return value lt ACK gt lt encrypted data gt lt KSN gt When Cancel key is pressed Return lt NAK gt 1 6 14 Check DUKPT Key COMMAND lt 0x75 gt lt 0x46 gt lt 0x34 gt Check to see if the DUKPT key exists PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x34 gt is the command head RETURN lt gt lt 0 00 gt if no key exists lt ACK gt lt 0x01 gt if key exists 1 6 15 Get FPGA Version COMMAND lt 0x75 gt lt 0x46 gt lt 0x36 gt Get FPGA version
65. s the command head RETURN lt NAK gt or lt ACK gt lt 0xe2 gt lt Len gt lt Function gt lt Len gt is length for lt Function gt The value is 0x01 1 byte lt Function gt is defined as the following 0x30 SecureHead output card data with clear data 0 31 SecureHead output card data with masked data 1 5 34 Read MSR Card Data Output Format COMMAND lt 0x73 gt lt 0x52 gt lt 0xe3 gt Get SecureHead card data output format PARAMETERS lt 0x73 gt lt 0x52 gt lt 0xe3 gt is the command head RETURN lt NAK gt or lt ACK gt lt 0xe3 gt lt Len gt lt Function gt lt Len gt 15 length for lt Function gt The value is 0x01 1 byte lt Function gt is defined as the following 0x30 SecureHead output clear card data with no LRC and there is no 0x0d at the end of each track if the track data does not exist 0x31 SecureHead output clear card data with LRC and there is Ox0d at the end of each track 1 5 35 Set MSR Card Data Output Format COMMAND lt 0x73 gt lt 53 gt lt 0xe3 gt lt Len gt lt Function gt Set SecureHead card data output format PARAMETERS lt 0x73 gt lt 0x53 gt lt 0xe3 gt is the command head Len is length for lt Function gt The value is 0x01 1 byte lt Function gt is defined as following 0x30 SecureHead output clear card data with no LRC and there is no 0x0d at the end of each track if the track data does not exist 0x31 SecureHead output clear card data with LRC
66. signature data using format pen up is 0x8C and pen down is 0x9C 0x02 Out signature data the difference of the current point and previous point using format pen up is 0 80 and pen down is 0x90 0x03 Out signature data using CMP format 0x04 Out signature data using FBP format pen up is 0x80 and pen down is 0x90 Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 18 of 54 Sign amp Pay Technical Reference Manual 0x05 Data 15 buffered and not send Point Interval gt specifies the maximum points interval during signature If exceeds the signature will be cleared 1 byte The unit is second Signature Color specifies signature s color defined as RED GREEN BLUE Backgroud Color specifies background color defined as RED GREEN BLUE RETURN lt gt During capture data will be sent out if not buffered Notify data for regions 0x7A ID Signature data FBP format or CMP format 1 4 5 Continue Capture COMMAND lt 0x7A gt lt 0x46 gt lt 0x11 gt Continue capture using specified parameters PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x11 gt is the command head RETURN lt gt 1 4 6 Pause Capture COMMAND lt 0x7A gt lt 0x46 gt lt 0x12 gt Pause capture PARAMETERS lt 0x7A gt lt 0x46 gt lt 0x12 gt is the command head RETURN lt ACK gt lt Scipt point count 4 bytes gt 1 4 7 Get Script Point Count COMMAND lt 0x7A gt
67. t 0x8A gt lt 0x46 gt lt 0x 12 gt lt X0 gt lt Y0 gt lt X1 gt lt Y 1 gt Draw rectangle define by top left point lt X0 gt lt Y0 gt and bottom right point lt X1 gt lt Y1 gt using the pen PARAMETERS lt 0 8 gt lt 0 46 gt lt 0 12 gt is the command head lt X0 gt is X coordinate of top left point 2 bytes lt Y0 gt is Y coordinate of top left point 2 bytes lt 1 gt is X coordinate of bottom right point 2 bytes lt Y1 gt is Y coordinate of bottom right point 2 bytes RETURN lt gt 1 3 4 COMMAND lt 0 8 gt lt 0 46 gt lt 0 13 gt lt X gt lt Y gt lt Radius gt lt StartAngle gt lt SweepAngle gt Draw arc defined center point radius start angle sweep angle use PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x13 gt is the command head Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 12 of 54 Sien amp Pay Technical Reference Manual X specifies the x coordinate of the center of the related circle 2 bytes lt Y gt specifies the y coordinate of the center of the related circle 2 bytes Radius specifies the radius of the related circle 2 bytes lt StartAngle gt specifies the starting angle in degrees relative to the x axis Unit is 0 1 2 bytes lt SweepAngle gt specifies the sweep angle in degrees relative to the starting angle Unit is 0 1 2 bytes RETURN lt gt 1 3 5 Set Brush Color
68. t ETX gt lt LRC gt lt Respond Data gt 6 bytes data in ASCII format which is converted from the first 3 cipher hex data These cipher data are generated by encrypting KSN bytes and 00 00 00 00 00 00 00 00 Notice lt LRC gt of all data except lt STX gt 1 5 28 SecureaHead output structure setting COMMAND lt 0x73 gt lt 0x53 gt lt 0x85 gt lt Len gt lt Encrypt Structure gt Set securehead encrypted structure of outputting SecureHead output structure has two format one is default format structure which Track 1 and Track 2 is encrypted together with AES or Tri DES and Track 3 is clear data the other is new format structure which every Track is individual encrypted with Aes or Tri DES PARAMETERS lt 0 73 gt lt 0 53 gt lt 0 85 gt is the command head lt Len gt is length of lt Encrypt Structure gt The value is 0x01 1 byte lt Encrypt Structure gt is defined as following 0x30 Default original encrypt output structure 0x31 enhanced encrypt output structure will send bytes 8 and 9 and CardT ype will be 1xxxxxxx high bit 1 RETURN lt NAK gt or lt ACK gt 1 5 29 Encrypt Option Setting COMMAND lt 0x73 gt lt 0x53 gt lt 0x84 gt lt Len gt lt Encrypt Opt gt Only effect encrypted output format of card data in new structure PARAMETERS lt 0x73 gt lt 0x53 gt lt 0x84 gt is the command head lt Len gt is length of lt Encrypt Opt gt The value is 0x01 1 byte lt Encrypt Opt gt i
69. ted by public key The valid original data length must be no more than 1024 bits 128 bytes encrypted e is encrypted by public key The valid original data length must be no more than 128 bits RETURN lt ACK gt or lt NAK gt 1 6 6 Set Account Key COMMAND lt 0x75 gt lt 0x46 gt lt 0x19 gt lt 384 bytes encrypted data gt Set account key This key will be used by command Get encrypted PIN online PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x19 gt is the command head 384 bytes encrypted data Original data include two field of 128 bytes encrypted gt and 128 bytes encrypted e they are defined as follow 128 bytes encrypted n is encrypted by public key The valid original data length must be no more than 1024 bits 128 bytes encrypted e is encrypted by public key The valid original data length must be no more than 128 bits RETURN lt ACK gt or lt NAK gt 1 6 7 Set Firmware Key COMMAND lt 0x75 gt lt 0x46 gt lt 0x20 gt lt 384 bytes encrypted data gt Set firmware key This key will be used by command firmware bootload PARAMETERS lt 0x75 gt lt 0x46 gt lt 0x20 gt is the command head 384 bytes encrypted data Original data include two field of 128 bytes encrypted gt and 128 bytes encrypted e they are defined as follow 128 bytes encrypted n is encrypted by public key The valid original data length must be no more than 1024 bits 128 bytes encrypted e is encrypted by public key Th
70. to the x axis Unit is 0 1 2 bytes lt SweepAngle gt specifies the sweep angle in degrees relative to the starting angle Unit is 0 1 2 bytes RETURN Copyright O 2010 2011 International Technologies amp Systems Corp All rights reserved Page 13 of 54 Sien amp Pay Technical Reference Manual lt ACK gt 1 3 8 Set DisplayText Font COMMAND lt 0x8A gt lt 0x46 gt lt 0x40 gt lt Height gt lt Width gt lt Weight gt lt Italic gt lt Underline gt lt CharSet gt Select the font for text display on the LCD PARAMETERS lt 0x8A gt lt 0x46 gt lt 0x40 gt is the command head lt Height gt specifies the height of a char 1 byte This value defines the vertical gap between characters lt Width gt specifies the width of a char 1 byte This value defines the horizontal gap between characters lt Weight gt specifies the weight of the char 1 byte Must be 0x00 lt Italic gt specifies the italic of the char 1 byte Must be 0x00 means no Italic lt Underline gt specifies the underline or not of the char 1 byte Must be 0x00 means no underline lt CharSet gt specifies the char set 1 byte The valid size is 1 6 and the corresponding size is 4x8 8x16 12x24 16x32 24x48 32x64 RETURN lt ACK gt 1 3 9 Set Text Color COMMAND lt 0x8A gt lt 0x46 gt lt 0x41 gt lt COLOR gt Set the text s color PARAMETERS lt 0 8 gt lt 0 46 gt lt 0 41 gt is the command head lt gt is the text s color
71. x00 0x01 gt Sign amp Pay audio Control 0x00 means OFF and 0x01 ON PARAMETERS lt 0x7B gt lt 0x46 gt lt 0x01 gt is the command head RETURN lt ACK gt Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 42 of 54 Sien amp Pay Technical Reference Manual 1 7 2 Generate Tone COMMAND lt 0x7B gt lt 0x46 gt lt 0x02 gt lt Frequency Low Byte gt lt Frequency High Byte gt lt Duration Low Byte gt lt Duration High Byte gt PARAMETERS 5 lt Frequency lt 40 000 RETURN lt ACK gt Copyright 2010 2011 International Technologies amp Systems Corp All rights reserved Page 43 of 54 Sign amp Pay Technical Reference Manual 2 0 Magstripe Card Data Output Format 2 1 Unencrypted MSR Data Output Format Track 1 lt SS1 gt lt T Data gt lt ES gt lt CR gt Track 2 SS2 T Data gt lt ES gt lt CR gt Track 3 lt 553 gt lt Data ES CR where SS1 start sentinel track 1 9o SS2 start sentinel track 2 SS3 start sentinel track 3 for ISO for CDL 96 for AAMVA ES end sentinel all tracks Start or End Sentinel Characters in encoding format which come before the first data character start and after the last data character end indicating the beginning and end respectively of data Track Separator A designated character which separates data tracks Terminator A designated character which comes at the end of the last track of data to se
Download Pdf Manuals
Related Search
Related Contents
Coifa de Parede - Amazon Web Services Généralités - produktinfo.conrad.com Consultez la plaquette d`informations et la présentation détaillée de Parliamentary papers guidance PDF/1.58MB - LPガス安全委員会 User`s Manual GH3000 User manual original_DE Cooler Master CM Storm Xornet タイムデータクロック TCR-101C Mode d`emploi complémentaire du SPROG 3 Copyright © All rights reserved.
Failed to retrieve file