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.
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.