Android SDK v2.84.0.1 - Disable contactless on a VP3300
Back to the Change Log.
SAMPLE CODE
Set the flag on the transaction parameters before you start the
transaction. The default is false, which leaves contactless enabled.
CardknoxSDK.create().setPrincipalKey("your-xKey");
TransactionParameters parameters = new TransactionParameters();
parameters.SetxCommand("cc:sale");
parameters.SetxAmount(1.00);
parameters.SetVP3300TransactionTimeout(16);
parameters.SetVP3300DisableContactless(true);
CardknoxSDK.create().getCustomUIBluetooth().startTransactionWithArgs(parameters);
HOW IT WORKS
The flag appends the DFEF37 interface-selection tag to the transaction's
tag set. It does not force a specific start-transaction method. It composes
correctly with device_startTransaction, msr_startTransaction,
emv_startTransaction and ctls_startTransaction. Your chosen method still
applies.
HOW TO CONFIRM
Filter logcat on DFEF37.
1. Expect this line. It confirms the SDK acted on your intent:
startTransaction: disabling contactless with DFEF37 tag...
2. Expect an outgoing device command similar to this:
OnReceiverListener: DataInOutMonitor2: data TO device:
5669564F7465636832000240002210DFEF3701059F0206000000000100DFEF3C
030100169C01009F030600000000000030E0
The command contains DFEF370105. DFEF37 is the interface-selection tag.
01 is its length. 05 is its value, which means EMV and MSR only - insert
and swipe. Contactless is disabled.