Command emv.removecard

Knowledge about the EMV standard is required to use this command.

The command emv.removecard is implemented for chip card removal. It is advised to always use this command at the end of the operation flow, whether successful or unsuccessful.

This command uses the timeout to remove the card as defined by emv.settimeout.


  1. variablereturn [integer]
    Variable that will store the return code, where:
    • 0: OK
    • 11: Invalid parameter set on emv.adddata
    • 12: Timeout
    • 13: Insert, card swipe or choose application operation canceled by the user
    • 15: Library EMV not initiated


In the example above, the command emv.adddata is used to pass parameters to the EMV Kernel.

Then the command emv.finishtransaction is executed to finish the chip card handling process. After that, the command emv.removecard requests the user to remove the chip card. Since the command returns an integervariable, the command inttostring is used to convert the variable, displaying its content through the command display.