Module apdu

Type definitions.

Description

Type definitions.

Data Types

cmd()

cmd() = #apdu_cmd{proto = default | apdu:protocol(), cla = iso7816:cls(), ins = iso7816:ins(), p1 = iso7816:p1(), p2 = iso7816:p2(), data = none | binary(), le = none | iso7816:le()}

A command APDU, sent by the host to the card.

disposition()

disposition() = leave | reset | unpower | eject

Action to take at the end of a transaction or connection.

protocol()

protocol() = t0 | t1 | raw | direct

The ISO7816 TPDU-layer protocol in use to communicate with a particular card.

reply()

reply() = #apdu_reply{proto = apdu:protocol(), sw = iso7816:sw(), data = none | binary()}

A response APDU, sent by the card to the host.


Generated by EDoc