Module apdu_dispatch::dispatch

source ·
Expand description

This “APDU dispatch” consumes APDUs from either a contactless or contact interface, or both. Each APDU will be sent to an “App”. The dispatch will manage selecting and deselecting apps, and will gauruntee only one app will be selected at a time. Only the selected app will receive APDU’s. Apps are selected based on their AID.

Additionally, the APDU dispatch could repeatedly call “poll” on the selected App. If this was in place, the App could choose to reply at time of APDU, or can defer and reply later (during one of the poll calls).

Apps need to implement the App trait to be managed.

Structs

Enums