SUNMI AE MSD Process - chuwuwang/ReadingNote GitHub Wiki
AE Contactless Mag-Stripe mode
Terminal Step
-
call EMVListenerV2.onOnlineProc() method
-
get tag DF8174 value. if it is not null, it is MSD.
EMVOptV2.getTlvList(AidlConstantsV2.EMV.TLVOpCode.OP_AE, tags, values);
- From the 1nd byte of tag DF8174 to the penultimate 1nd byte is the data of track2, because tag57 and tag5A value is null.
TLV df8174 = getDF8174();
String substring = df8174.getValue().substring(2, length - 2);
String track2 = Utils.hexString2AsciiString(substring);
- according to the requirement of CVM Required Limit, whether to display PinPad.
PinPadOptV2.initPinPad(pinPadConfig, pinPadListener);