Command emv.cleanstructures

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

The command emv.cleanstructures is used to clean the data entry and search information structures. It is necessary to execute this command before starting a transaction.

Example


In the example above, the first command executed is emv.cleanstructures command. This is used to clean up the data structures to prepare for a new transaction, followed by the command emv.adddata which is executed to pass the parameters to the EMV Kernel, and finally the command emv.inittransaction initiates the transaction.

The command if should be used to evaluate the command's return. In the process of developing an application, the commands inttostring and print can be used to DEBUG and help the developer.