Tags Management

Like any EMV Level 2 stacks, moka needs to define a set of prorietary values to manage some parameters required to configure the card processing, and interpret the outcomes. In order to simplify the tasks, moka aims at normalising tags definitions accross the board. Here is the "rule":

  • If available, moka always uses tags values defined by the specifications. Integrators shall refer to these documents to configure and interpret EMV Level 2 kernels.
  • If unavailable, moka uses tags values from (by order of priority):

    1. EMVCo Book C-8.
    2. EMVCo Book C-2.
  • If there is no definitions at all, then moka defines proprietary values. All primitive proprietary tags are encoded on 3 bytes, and start with 0xDFA0 or 0xDFA1. All constructed tags are ranged from 0xE0 to 0xFE.

To get the list of proprietary values, see moka's API online documentation.