V1.20.152
Undo the modification of F8-00 command.

--------------------------------------------------------------------------------


V1.20.151-07
1.FWK4-853
Fix external message while tapping DESFire.

--------------------------------------------------------------------------------

V1.20.151-06
1.FWK4-851
Adding CARD_READ_FAILURE and NOT_ACCEPTED message while tapping UltralightC.

--------------------------------------------------------------------------------

V1.20.151-05
1.(FWK4-852): Internal version should be updated to 1.20.151-2 by command 29-29.

--------------------------------------------------------------------------------

V1.20.151.4
1.CS-4442(TS-28688): Fixed Interac Debit media returning ODA fail.

--------------------------------------------------------------------------------

V1.20.151.3
1.CS-4508(TS-29193): Fixed error following timeout.
2.CS-4528(TS-25662): Change DFED48 value 0xFF to 0x0F in default setting.


--------------------------------------------------------------------------------

V1.20.151.2
1.CS-4215(TS-26786): Fix check format of date issue. (Tag 5F24)

--------------------------------------------------------------------------------
V1.20.151.1
1.CS-4418(TS-18846): DFED48 bit 5 affects Discover and Brazil AID selecting as well.

2.CS-4487(TS-25662): Adding FFF0 03 02 00 00 in Group 0.
--------------------------------------------------------------------------------

V1.20.150
1. CS-4418(TS-18846): 
   Implement DFED48 bit 5 for Brazil Debit AID priority control, 1 for primary(default).
--------------------------------------------------------------------------------

V1.20.149
1. CS-4304(TS-27823): 
   (1)Fixed issue that reader returns wrong DFEF7B data while tapping iPhone or Android phone.
   (2)DFEF7A can be set in Group 0 or included in ACT.
2. CS-4339(TS-28083):Media Removal Event not triggered for Visa cards.
--------------------------------------------------------------------------------


V1.20.148
1. Fix USB communication issue (Sometimes K21 chip generates wrong IN signal). CS-4310
2. Fix error for command 2C-04 (When card does not respond, return STATUS_OK to host.) CS-4307
3. Fix error introduced by CS-3982. CS-4308
4. Add support 9F41 in ACT command, the (value +1) is in the output. Also 9F41 could be set through command 04-00.
5. Disable Beep for DesFire and UltraLightC during process of ACT.
--------------------------------------------------------------------------------
V1.20.147
1. Add tag DFEC20 in ACT. This tag defines a APDU used to detect virtual card for ACT command.
   Example: 
   Command: 56 69 56 4F 74 65 63 68 32 00 02 40 00 27 05 9C 01 00 9F 02 06 00 00 00 00 10 00 DF EC 20 16 00 A4 04 00 10 A0 00 00 03 96 56 43 41 03 00 30 00 00 00 00 00 00 90 0F
   Response: 56 69 56 4F 74 65 63 68 32 00 02 0A 00 3C 41 FF EE 1F 04 27 90 00 00 DF EC 0F 17 03 6F 12 85 10 14 02 0C 11 22 33 44 55 66 77 00 00 61 41 A9 5D 90 00 9F 41 04 00 00 00 00 DF EE 4C 01 00 9F 2A 00 DF EC 1C 00 DF EE 26 01 41 6F 59
   This means a virtual card found(Type is 3.)
2. Modify DFEC0F as Mifare template for ACT response if DESFire or Ultralight is tapped.
    Mifare template for ACT: Type + ATQA +SAK +UID(L+V) [+ATS] or Type + Response from card for command under DFEC20.
    Type: 01 DESFire card
          02 Ultralight card
          03 Virtual card
    Example: A DESFire found: 56 69 56 4F 74 65 63 68 32 00 02 0A 00 21 27 90 00 00 DF EC 0F 12 01 44 03 20 07 04 4B 1E 32 0D 4E 80 75 77 81 02 80 02 9F 41 04 00 00 00 04 C7 DE.
3. Enlarge Visa RPDU buffer from 256 bytes to 260 bytes.
4. Add Rupay kernel for KIV.
5. Fix error of wrong DFEF7B value. 
--------------------------------------------------------------------------------
V1.20.146
1. Bump to release version #146. Only version number changed to 146.
2. Add MIR test mode support for case MT.003.00.
--------------------------------------------------------------------------------
V1.20.145
1. Bump to release version #145.
2. Fix timeout status error for second tap of Girocard.
3. Girocard: Revoke change of comparasion between floor limit and amount.(For contactless only. From <= to <)
--------------------------------------------------------------------------------
V1.20.144
1. Add DFEC1F (1 byte) to control the polling process of EMV: If bit 1 is 1, SRT512 check is inlcuded. The default value is FF.
2. Remove timeout check for during transaction.
3. Fix error for second parsing of PPSE.
4. Change timeout to correct value for command 2C-04.
5. Change error code 22 (Amount Over Maximum Limit) for Master and Girocard.
--------------------------------------------------------------------------------
V1.20.143
1. Modify SoftSAM Mifare part.
2. Add default RF parameter for command set C7-90.
3. Add kernel flow (DFEE4C) in output.
4. Add kernel id in output.
5. Fix error of clearing ACT command after each kernel process.
6. Roll back of C7-36 feature according to IDG. (Make CS-3033 disabled.)
7. Add XFS similar output (DFEC1C).
--------------------------------------------------------------------------------
V1.20.142
1. Girocard kernel included.
2. Transit kernels deleted for KIII.
3. Modify MIR's ATM judgement, expand standard EMV to include MIR spec judgement (The tag is DF71).
4. Modify SoftSAM's Mifare Change Key function. (CS-4092).
5. Remove interval for continuous reading of VAS under Poll_On_Demand mode.
6. Remove 9F6E length judgement from Amx and PURE/NET.
--------------------------------------------------------------------------------
V1.20.141
1. MIR change according to new spec.
--------------------------------------------------------------------------------
V1.20.140
1. Add device reset when ACT caused L2 dead in 12 seconds. This is a preventive method. In normal process, this will not happen.
--------------------------------------------------------------------------------
V1.20.139
1. Fix JCB PPSE process error(4F and 87 could be at any position).
2. Remove default Interac configurations from group 0.  
3. Add support CS-3685 with variable pre-mask setting when encryption is enabled. 
4. Add C7 92 15 to invoke removal process.
5. Modify error in default setting of group 0C.
6. Modify Interac output by moving 56, 57, 5A and 5F24 from E1 template to FF8105 template for encryption reason.
7. Modify DESFire judge position, move to after PPSE.
--------------------------------------------------------------------------------
V1.20.138
1. Add Master Transit configurations: Group 09 for Master and 0A for Mastro.
2. Remove default Interac configurations from group 0.  
3. Speed up the e-Purse commands. 
4. Add ECP2 to 2C-02/0C command. Example: 2C 02 1F 00 DFED57 06 C3 02 00 02 00 00.
5. For Amx, change maximum length of 9F4E from 30 bytes to 63 bytes.
6. Remove signal data for Cancel command (05-01).
7. Remove extra zero for Book-A output of CUP.
8. Remove support of P2P commands C7-9A/9B.
9. Fix issue CS-3685.
--------------------------------------------------------------------------------
V1.20.137
1. Add illegal PIX extension feature. The AID match illegal PIX extensions will de discarded during the transaction.
   Command 84-12,13,14,15,16,17 are introduced to deal with Illegal PIX extension entries.
2. Add Book-A DF8129 for Visa, CUP and Interac.   
--------------------------------------------------------------------------------
V1.20.136
1. Expand baudrate for RS232 interface (Use command Set Baud Rate (30-01) to set new baudrate).
	01h 9600 baud
	02h 19200 baud (Default)
	03h 38400 baud
	04h 57600 baud
	05h 115200 baud
	06h 230400 baud
	07h 460800 baud
	08h 921600 baud
	Current reader only supports maximum baudrate of 460800, if 921600 is a requirement, a new RS232 interface chip is needed.
2. If tag DFED5E in group 0 is set to value 04, like this: 5669564F74656368320 0400 0005 DFED5E0104 FE43.
   The response for 2C-02/0C will be: card-type serial (Non Type A) or DFEC0F Template (Type A).
          DFEC0F is a Mifare template: 00 + ATQA +SAK +UID(L+V) [+ATS]
          Example: if MIFARE tapped, 56 69 56 4F 74 65 63 68 32 00 2C 00 00 20 07 DF EC 0F 1B 00 08 00 28 04 EF 15 63 DA 78 80 72 02 52 54 43 4F 53 56 32 2E 32 20 16 06 20 91 C4 4D
          where 08 00 is ATQA, 28 is SAK, EF 15 63 DA is UID, and 78 80 72 02 52 54 43 4F 53 56 32 2E 32 20 16 06 20 91 is ATS.
3. Add DF811B in response of 03-06/07 commands if FFFC or DFEE39 exists.   
4. Add 9F4E to Amx output.
5. Add DFEC13 tag output for HASH+AES of PAN.       
6. Add antenna removal detection during the polling process of ACT command.
7. Fix error if one card has 2 or more different brands, the error is that the priorities are fixed.
--------------------------------------------------------------------------------
V1.20.135
1. Add output tags for ACT command: 9F25 (Except Interac).
2. Add new response for ACT for MIFARE card:
3. Support RKI inject more than 1 key (DEK and Salt). Support RKI inject more than 1 key (DEK and Salt).
4. Add DFEC0E to contain simulated Expiry date if 5F24 is not exit.
5. Add DFEC0F as Mifare template for ACT response if DESFire or Ultralight is tapped.
    Mifare template for ACT: Type + ATQA +SAK +UID(L+V) [+ATS]
    Type: 01 DESFire card
          02 Ultralight card
    Example: A DESFire found: 56 69 56 4F 74 65 63 68 32 00 02 0A 00 21 27 90 00 00 DF EC 0F 12 01 44 03 20 07 04 4B 1E 32 0D 4E 80 75 77 81 02 80 02 9F 41 04 00 00 00 04 C7 DE.
6. MIR kernel changed according to spec.
7. For SRT512, write_block command does not judge result when the block number is less than 6.
8. Disable antenna check before command 2C-03 for Kiosk III.
9. Add external carrier detect for ACT command with FFEE06/FFEE08 template.
10. When in AUTO POLL and Burst ON mode, change ACT response to STATUS_COMMAND_NOT_ALLOWED.
11. Enable DFEC0F output only in POLL-ON_DEMAND mode using ACT.
--------------------------------------------------------------------------------
V1.20.134
1. Change command F0-02 to output 2 bytes instead of 1 byte.
2. Add ECP command to Poll For Token (Enhanced) commands, and add card type 16 for Apple.
3. Add support bit 7(Delayed Authorisation Terminal) of byte 4 of 9F6E (Enhanced Contactless Reader Capabilities) for Amx.
4. CS-3599, make RF reset interval un-changeable for no internal beep.
5. Add Felica command 2C-44.
--------------------------------------------------------------------------------
V1.20.133
1. CS-3462, correct tag 9F4C from Signed Dynamic Application Data. The length should be in [2,8].
2. Add VW31_RC_MOBIL_PIN_REQUIRED UI for Visa AP protocol.
3. Remove SEE_PHONE message for JCB non-mobile card.
4. Add 9F26 for Amx declined transaction.
5. Add 9F70 to Amx's output data.
6. Update salt injection for HMAC.
--------------------------------------------------------------------------------
V1.20.132
1. Soft SAM first version.
2. Tag list from customer added.
3. Remove wait forever when start transaction if the removal process is ongoing.
4. Add carrier off when no transaction is pending.
--------------------------------------------------------------------------------
V1.20.131
1. Remove compiler's memcpy, memcmp and memset. Replaced by local functions.
2. Exit removal process in auto mode when POLL ON DEMAND is set.
3. VISA Transit kernel is included.
4. For SAM AV2, if MIFARE AUthenticate failed, do poll card automatically to fast MF authenticate.
5. Tag 8B (POI Information) is introduced.
	Description: Contains information about the terminal and the acceptance environment. 
	The value field of the POI Information data object has the following format: 
	ID1 L1 V1 ID2 L2 V2… 
	Where: 
	• ID is a two-byte identifier whose context is limited to the POI Information data object. The IDs used in the POI Information data object are completely unrelated to IDs used in other data objects, such as the IDs used in the ASRPD. 
	• L is the length of the value field coded in 1 byte (0 to 61). 
	• V is the value field. 

	Note that: 
	• IDs are assigned by EMVCo and may only appear in the POI Information if they have been registered with EMVCo. 
	• IDs have no structure. They are not tags according to BER-TLV coding. 

	EMV Defined POI Information Identifiers
	ID: '0001'
	Name: Terminal Category
	Description: 
	Indicates the terminal category to which the terminal belongs. For terminals that do not belong to a terminal category listed below, the Terminal Category ID L V is not present in the POI Information data object. 
	'00 01' = Transit gate; the terminal at the entrance or exit to a transit network (e.g., a metro gate) or vehicle (e.g., a bus) that is used to accept cards for transit network access. This category does not include terminals present in transit acceptance environments but that do not control access to the transit network (e.g., unattended ticketing kiosks). 
	'00 02' = Loyalty; the terminal facilitates a loyalty program using POI Information. 
	All other values are RFU for this specification. 

	So we could use tag 8B to differentiate our device as transit or non-transit.
	If 8B 05 00 01 02 00 01 is presented in group 0, then the device is a transit device, otherwise it is a loyalty payment device.
	If the device is a transit device, the transit version of the kernels will be active, and
	if the device is a non-transit device, the normal payment version of the kernels will be active.
6. Add another HMAC output DFED68 (CS-2104).
7. Delete Removal process when timeout occurred.
-----------------------------------------------------------------------------
V1.20.130
1. Update SAM AV2 module.
2. Optimize SmartTap's bin to ASCII algorithm.
3. Fix error of Pass-Through always timeout.
4. Enlarge out buffer from 2048 to 4800 (Enough for all AIDs) for command 03-05. CS-3237.
5. RuPay AID added as system AID.
6. Replace algorithm of GCM AES to decrease code size.
-----------------------------------------------------------------------------
V1.20.129
1. Modification for CS-3075 included: Move removal event afetr response of ACT command.
2. Fix error for MF_authenticate command responds with useless data.
3. Command 90-12 (UMFG Set Salt) is added to inject salt for SHA with salt function, the command data is the same as C7-68.
4. SHA with salt is added. The output is encapsulated by tag DFED70. CS-2445
   16 bytes salt injected by command 90-12: F8 04 52 A9 BA EE 24 8F E8 A5 BF DA 33 89 04 B1
   PAN: 34 37 36 31 37 33 39 30 30 31 30 31 30 31 31 39
   HMAC(salt, PAN): DF ED 70 20 14 40 42 DC CD DC 79 57 8A 7A 03 E7 3D 6E 42 8C BA 3F 93 1F BE 11 C9 C0 06 4F 0A E9 A8 C8 D9 71
5. KIV: MIR2 replaced MIR1. KIII: From #126, MIR2 replaced MIR1.
-----------------------------------------------------------------------------
V1.20.128
1. Add feature SAM AV2.
2. Add AID D0 40 00 00 21 42 53 4B as system AID.
3. Fix error of US COmmon AID implementation. CS-3162(42 not under 61, but 73.)
4. Enable set Amount for all kernels in theri group. CS-3145.
5. Fix error 9F53 return 00 for Amex. CS-3147.
6. Add VISA AP output for Master's Magstripe mode. CS-2961.
-----------------------------------------------------------------------------
V1.20.127
1. C7 92 command set added. This set of command is certified L1 API, and could be used to develop customer's L2.
2. Fix error when static data contains nothing. CS-3055.
3. Application flow 01 added as Master card transaction flow. CS-3009.
4. KIV: Add HMAC for PAN.(CS2954)
5. VISA AP output data format (TLV) changed from AP format to EMV format.
------------------------------------------------------------------------------
V1.20.126
1. MIR issue fixed when 92 should be exist.
2. Apple decrypted error fixed (Buffer overflow).
3. KIII: Fix error: Auto mode disabled after 25 days' continuous running.
4. KIII: Fix error: RF chip AS3911 goes into error state after 25 days' continuous running.
5. KIII: Remove limit for command C7-36 to enable all possible encrption setting.
6. KIII: Add tag DFEF55 (1 byte) second bit to control script enable(1)/disable(0) for interac.
7. KIII: Add HMAC for PAN.(CS2954)
8. KIII: Fix issue in CS-2860.
9. KIII: Add 9F19 in all brands if card returned this value.
10. KIII: Fix issue in MIFARE read opeartion when several blocks read and try occurred.
--------------------------------------------------------------------------------
V1.20.125
1. Add support of MadaPay.
2. For MIR, BF61/BF62 include all elements even if they are not recognized.
--------------------------------------------------------------------------------
V1.20.124
1. Add VISA AP definition to disable MIFARE.
2. JCB add support 9F6E and 9F7C output.
3. Make Brazil Debit over Credit(Do not consider priority.).
--------------------------------------------------------------------------------
V1.20.123
1. Add AID A0 00 00 04 94 10/20 10 as system AID for Brazil. These AIDs comply with Discover kernel.
2. Add sub-command 10, 11, 12 to command C7-90.
--------------------------------------------------------------------------------
V1.20.122
1. Add command 77-05 to reboot device.
2. Modify Apple VAS simplified output for KB interface.
3. Remove RF switch for Discover when Go-Online.
4. Add 9C in output for MIR transaction.
5. Add 9F15 and 9F4E for Visa, Master and MIR output.
6. Add support 9F6E for JCB kernel.
7. Add external FLASH support.
--------------------------------------------------------------------------------
V1.20.121
1. Modify Apple VAS simplified output for KB interface.
--------------------------------------------------------------------------------
V1.20.120
1. Correct WUP issue for command C7-90.
2. Add KB interface feature. PID is 4811 for KIV and 3711 for KIII. 
3. For AppleVAS and SmartTap, add simplified output for KB interface.
--------------------------------------------------------------------------------
V1.20.119
1. Correct ACTOLL issue when the non-actoll aid has high priority.
2. Add tags to Master output (These tags are all outside Book A data which should be used as standard transaction data.) to make it compatible to V1.1. 
3. Add default 9F53 to JCB setting.
4. Speed up for C7-90 commands.
--------------------------------------------------------------------------------
V1.20.118
1. Remove second 9F21 in JCB AP mode output. 
2. Correct CUP output for CUP AP mode.
3. Correct JCB AP mode output error(Data not deleted after transaction).
--------------------------------------------------------------------------------
V1.20.117
1. Change 9F06 to terminal data, not the data from 84. This change includes: Master, Visa and Express. 
2. Add 9F06 output for JCB.
3. Move Discover's removal process after transaction data output.
4. Modify kernel C4's UI by adding language Preference.
--------------------------------------------------------------------------------
V1.20.116
1. Fix error of no Beep UI output when GoOnline.
2. For KIV, restore adding reset between polling duration.
3. Speed up the data output for JCB.
4. Add removal process for Mifare card reading error in AUTO POLL mode.
5. CUP Transit kernel updated according to new spec and test plan.
--------------------------------------------------------------------------------
V1.20.115
1. In debug mode, ACT no output error fixed.
2. CS-2454 fixed.
3. Modify DFED5D output generation method: Using ASCII instead of binary to generate SHA256.
4. Correct CRC calculation for command 02-58.
5. Correct error: AUTO POLL runs unexpectedly when Visa AP command is used.
6. If DFED57 indicates VAS Not Supported, do not send OSE command for VAS transaction.
7. Correct Beep error to speed up the data output (About 700ms removed).
--------------------------------------------------------------------------------
V1.20.114
1. Add default value 0xFF for DFED48 (US Common AID control).
2. Modify CUP Transit according to new spec (CVM processing).
3. Correct Visa 9F7A not exist error by adding default value 0x00.
4. Move kernel Master's RETRY message(DF8129) output to Cancel(0501) response if this command is received.
5. Modify DFED5D output as: The first six digits from PAN (3 BYTES) + 5 first bytes of hash + Last four digits of PAN (2 bytes).
--------------------------------------------------------------------------------
V1.20.113
1. Add tag output of DFED5D: PAN(First 6 digits) +(PAN + Expiation date) SHA256(10 digits) +PAN(Last digits).
2. Modify DFED57 to includes all data for ECP format 2. For example: DFED57 06 C3 02 00 02 00 00 will generates command 6A02C30200020000.
---------------------------------------------------------------------------------
V1.20.112
1. Modify data length error for JCB under Visa Asian protocol (The original data is too long, exceeds 255 bytes).
2. Correct issues:FWK4-620, FWK4-618, FWK4-637, FWK4-635.
3. Force Amx Online PIN transaction go online (FWK4-645).
4. CS-2406, PERFORM/COMPLETE TRANSACTION Command length error with 2 redundency bytes.
----------------------------------------------------------------------------------
V1.20.111
1. Add support for Visa Asian protocol: Master, JCB, CUP, Amx and Discover.
----------------------------------------------------------------------------------
V1.20.110
1. Modify SRT512 support for AS3911A chip. The chip sometimes return transmit error even the operation is right.
2. Change CUP transit to support IC card Public Key Certificate format 94 and 04 for HCE card.
3. Remove duplicate external LED UI message.
4. Add 9F24, and 9F71 output for Visa if these values are returned by card.
5. Add 9F24, 9F66 and 9F71 output for Master if these values are returned by card.
----------------------------------------------------------------------------------
V1.20.109
1. Change error code for Amx when PPSE returned with non-9000. The error code is change from 00 to 20 for Amx.
2. Change WatchDog timeout to 2.8 seconds from 1.4 seconds.
3. Remove rf reset before SRT512 probing for (Enhanced) Poll for Token to avoid trigging jammer.
4. Add response for non-AID existence. The error code is 27.
5. Fix FFEE08 without DFEF1A error.
---------------------------------------------------------------------------------
V1.20.108
1. Add support to read iPhone payment card when only contain smart tap container in ACT.
2. Fix error when ACT contain both FFEE06 & FFEE08.
3. Fix ECP2 length to 15 bytes for terminal type data.
4. RKI modification.
5. Remove rf reset before SRT512 probing to avoid trigging jammer.
---------------------------------------------------------------------------------
V1.20.107
1. Visa Asian Protocol Poll timeout error (The value length should be int, not short).
2. Visa Asian Protocol recognize DF01--DF06 tags, this is not for common Visa Wave3. Fix for these as unrecognized tags.
3. Increase script timeout by 10 multiple. Discover from 30s to 10min.
4. Change UI TRY_AGAIN to UI_SEE_PHONE for Master card's phone message(GAC stage).
---------------------------------------------------------------------------------
V1.20.106
1. CUP Transit update according to lab. A5 and BF0C using all zeros for PDOL. 
2. Fix Amx of using FF69.
3. Carrier off when SmartTap transaction completed.
4. Update Visa Wave2 search tag issue.
---------------------------------------------------------------------------------
V1.20.105
1. Fix error: No response after doing twice ACT when DFED49=01 
2. Fix defect of SmartTap. Now the length fixed to 4 bytes.
3. Fix error: Card can't be read ok when the AID is Partial Selection Allowed.
4. Fix error code: Error code Go To Other Interface out put after tap payment card when doing Apple VAS or Pay + SmartTap Push VAS only 7.
5. Fix error: No response when swiping Discover card after load master key. It's a memory zero error, buffer overflow.
6. Fix error: Generate MAC for Host response 08. When encryption enabled, buffer is over zeroed.
7. Default CUP Transit group 48 added.
8. Common AID selection modified (V1.7).
-------------------------------------------------------------------------------------------
V1.20.104
1. Visa Wave2 kernal added. This can be accessed by Visa asian serial protocol.
2. Visa asian serial protocol added. The baudrate could be changed by IDG and this visa protocol.
-------------------------------------------------------------------------------------------
V1.20.103
1. Change Master, JCB, NETs lookup table.
2. Use chip's hardware crypto.
3. Add DFED57 to support ECP2.0.
4. Add support SRT512: ACT return NAK, Passthrough return card type 0x15 and UID. C7 -91 to operate.
5. Support ALL avalaible kernels.
6. CUP Transit included. To enable this kernel, set FFF3 Byte1 bit 6 to 1. (Default is 0, means CUP enabled).
-------------------------------------------------------------------------------------------
V1.20.102
1. Restore Master lookup table. 9F1A is not used by kernel before, and now 9F1A could overwrite value from group setting.
2. Enhance collision feature by adding protocol error detect. Both Passthrough mode and Transaction mode.
   If the transmit error count is reach 14, then a collision may occur.
-------------------------------------------------------------------------------------------
V1.20.101
1. Kernel MIR updated. Default DF70 changed to 5 bytes 0000000000. Removed from build T03 according to new requirement.
2. Interac LED out for external LEDs.
3. Add default value for DF891F (FFFF). Set by 04-09 command. In AUTO Poll mode, this is the value of removal timeout in second.
-------------------------------------------------------------------------------------------
V1.20.099
1. Kernel MIR updated. 9F09 error fixed. Default DF70 output added.
2. PAN SHA256 added. Tag is DFED4B.
3. Tag control of DFED4A added for Poll ON Demand removal timeout.
4. Fix bug for Master's ICCDD check (In function validateRrpData). Since this is a RRP and not a ICCDD_IdsRrp.
5. CS-2092 is included. Command C790 serial included. From version T08.
6. From build 0A, C7 90 0F updated to identify fake card.
7. From build 0B. Update RRP calculation for SR1.19 part. The defect is not using <int> but <unsigned int> with a presumption of positive result.
8. From build 0D. Update RRP calculation for SR1.30 part. The error is the subtraction of 2 <unsigned int> may cause large un-expected value (It should be a negative value). Now if this happeds, use 0x00 instead according to spec.
9. From build 0E. Fix error when add CAPK. The error occurred when the slots is full(Occupied and dirty, not accutually full of valid CAPKs).
-------------------------------------------------------------------------------------------
V1.20.097
1. Kernel MCL updated. RRP added in output.
2. CS-2085 fixed. Mifare retry for read time reduced to less than 200ms.
3. CS-1801 included.
-------------------------------------------------------------------------------------------
V1.20.095
1. Kernel CUP updated.
2. Kernel Nets updated.
3. Modify MCL load configuration error. This is caused by FF69 process. CS-2063.
4. Add DFED3F support (Turn on or off of SmartTap encryption).
-------------------------------------------------------------------------------------------
V1.20.093
1. Kernel CUP updated.
2. Kernel Nets updated.
3. Modify LPTK command error.
4. Modify USB communication in dealing with IN and OUT at the same time.
5. Remove junk data from host after command process.
-------------------------------------------------------------------------------------------
V1.20.091
1. CS-2045. Add  Visa VPay AID A0 00 00 00 03 20 20 as system aid.
2. FWK4-452. MCL timeout output causes memory overflow.
3. Add support DF891F to define the timeout for auto mode.
4. Jira-k4-810. DFEE2C not working for Discover fixed.
-------------------------------------------------------------------------------------------
V1.20.089
1. Fix issues JCB.
2. Fix CS-2031. This issue is introduced when we make modification to make KIII comply with AR's SmartTap default setting group (0x8e).
3. CS-1801. Make modification for TYPHOON card.
4. Make difference for NCR for 2c-06 command.
5. Make LTPK download command format. Support 36 and 37 bytes command.
-------------------------------------------------------------------------------------------
V1.20.087
1. Fix issue FWK4-433 Master card 'WELCOME' UI message output after activate transaction when UI scheme=03.
2. Remove ewmoval process for SmartTap when payment required.
3. Correct Default TAC tags in MIR group.
4. Correct kernel ID.
5. Correct command 84-0E.
6. Correct command 84-0F.
7. Correct 03-22 return value.
SVN:	
-------------------------------------------------------------------------------------------
V1.20.085
1. Fix issue FWK4-372 when ACT without 9F02.
2. MIR minor fix for CVM and tag duplicate.
3. Fix temperature issue (BEEEP).
4. Add 9F02,9F03 into Master default group. CS-2001.
5. Add 9F26 output for Interac, CS-1994.
6. Modify CS-1801 implementation.
7. Default SmartTap group to 0x8E.
8. Change FFFC definition for Master, Please usse DF811B instead.
SVN:	9120
-------------------------------------------------------------------------------------------
V1.20.083
1. Add feature for CS-1801. The out put format:
 ACT Template: FFEE0E.
  //Blocks to read: DFED3A xx yy yy yy ....
  //Blocks to write: DFED3C block yy yy .....
  //Key for Blocks: DFED3B xx [Start_block Mode kk kk kk kk kk kk]
  //FFEE0E DFED3A DFED3B DFED3B DFED3B DFED3C ...
  //Return Data: FFEE0E xx [Block_Number xx xx xx xx xx 0D 0A] [Block_Number xx xx xx xx xx 0D 0A]..............
2. Add feature for CS-1961. Only support Master and Visa.
  //Set AID with flow FFE2=0xE0. 04 02 FF E4 01 08 9F 06 07 A0 00 00 00 42 10 10 FF E2 01 E0 FF E1 01 01 FF E5 01 10
SVN:	9120
-------------------------------------------------------------------------------------------
V1.20.081
1. Add 9F34 output for VISA. CS-1978.
2. Add 5F20 output for MASTER. CS-1977.
3. Disable FF69 output for MCL and AMX in secure mode.
4. Disable L2 in L1 test mode.
SVN:	9107
-------------------------------------------------------------------------------------------
V1.20.079
1. Add 9F21 output for EMV Master card. CS-1962.
2. SmartTap support group 0 automatically.
3. Remove TLV ‘9F 06 07 A0 00 00 00 04 76 D0’ from default group 2C.
4. Modify default settings.
SVN:	9024
-------------------------------------------------------------------------------------------
V1.20.077
1. Add RKI support.
2. Disable output for auto if ACT command received. (TS-13437)
3. Modify FF69 support for AMX.
4. Modify FF69 support for MASTER.
SVN:	8994
-------------------------------------------------------------------------------------------
V1.20.075
1. Remove Mifare MSD removal process for error condition.
2. Modify Pass-Through Write process.
3. Add 9F24 for AMX kernel.
4. Pass-Through Authentication try for more 1 try.
5. Add FF69 support for AMX.
6. Add FF69 support for MASTER.
-------------------------------------------------------------------------------------------
V1.20.073 Standard version.
V1.20.074 With NETS for NCR.
1.Replace tags FFEE1D, FFEE1E, FFEE1F with new tags in output data. CS-1940.
2.Replace tags FFEE12, FFEE13, FFEE14.
3.Add restart for Mifare READ and WRITE operation. At most retry 2 times. CS-1943, CS-1825, CS-1826.
4.Add restart for L2's start transaction.
5.Fix error for SmartTap encryption data overflow.
-------------------------------------------------------------------------------------------
V1.20.071/072	9/18/2018
1. SmartTap updated.
2. AppleVAS updated.
3. MIR released.
4. Sleep Mode for RS232 added.
5. Auto decrease auto poll frequency according to tempeture above 80.
6. CS-1910 fixed.
7. JIRA 328, 327, 342, 339, 340 resolved.
Note: #071 for generic version, #072 with NETs.
SVN:	8891

-------------------------------------------------------------------------------
V1.20.069/070	9/13/2018	
1. SmartTap updated.
2. AppleVAS updated.
3. Rollback to v1.10 function included.
4. MIR updated.
5. 069 standard version without NETs,
    070 for NCR with NETs.
SVN:	8873

-------------------------------------------------------------------------------
V1.20.068	9/6/2018
Mifare transaction changed from PassThrough mode to normal L2 mode.
Tag DFED38 introduced formally.
NCR version with PID =3710
SVN:	8835

-------------------------------------------------------------------------------
V1.20.065	9/5/2018
MIR first formal version added.
SmartTap jira issues fixed.
AppleVAS jira issues modified.
SVN:	8823

-------------------------------------------------------------------------------
V1.20.064	9/4/2018
Add command C7-42 for bootloader. This command is used to restore v1.1 format file system.
UI modified for visa.
UI modified for MCL.
UI modified for CUP.
Fix jira issues.
SmartTap added.
AppleVAS added.
Pass through POLL for Token changed for Authenticate command.
Add initialisation for ICC operation.
KIII version with PID =3710
SVN:	8816

-------------------------------------------------------------------------------
V1.20.056	7/5/2018
Command C7-20 to get hardware identifier. First requested by NCR.
  C7-20 is also used to set hardware identifier.
UI issues changed.
  Interac ui finished.
  Add ui for Discover.
No track output for mcl as before.
CAPK key add/removal issue fixed.
PID 4480 for standard Kiosk IV.
PID 3710 for NCR (Kiosk IV).
SVN:	8488

------------------------------------------------------------------------------- 
V1.20.044	6/12/2018
First pre-version.
Release of Kiosk IV NEO1.20.044 for PP build 200 units.
Add LCD message for Master.
Add LCD message for VISA.
Add LCD message for DISCOVER.
Add LCD message for AMX.
Add LCD messages for VIVOTECH scheme and WAVE scheme.
Jira_619 fixed by adjust buffer for MCL output in BuildRecord.
PID 3710 for NCR.
PID 4480 for standard version.