Command emv.settimeout

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

The command emv.settimeout is used to set a timeout between commands.

This timeout can be changed before performing a command, that is, this statement can be called several times during the transaction cycle.

Parameters

  1. timeout [integer]
    Timeout in seconds
  2. variablereturn [integer]
    Variable that will store the return code, where:
    • 0: OK
    • 15: Library EMV not initiated
    • 16: Internal error

Example


In the example above, the command emv.settimeout is executed passing 10 seconds to the parameter seconds, that is, when the next command emv.inittransaction is executed, the device will wait for 10 seconds until the user inserts or swipes the card.