# Card Readers and Tokens

## Card Readers

When one or more readers are connected to the device, the application will display an overview with basic card reader or physical token information.&#x20;

The table informs about the following reader semantics:

| Column           | Semantics                                                                                                                                                                                                                                                                                              |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Reader name      | Displays the system reader name, and the reader technical id (the reader-id used when interacting programmatically)                                                                                                                                                                                    |
| Modules          | Lists all the modules available. A module is selected automatically when a card is detected and recognized. For more information on module selection and override, read:[#card-atr](#card-atr "mention")                                                                                               |
| Proposed Modules | The module proposed by the Trust1Connector. When a card is recognized, the proposed schema for card interaction is selected by setting the inferred module. The proposed module has an identifier which can be used as module selector during integration and an optional description upon recognition |
| PinPad           | Shows when the card reader has a pinpad, inferred by the Trust1Connector. Unrecognized readers can be added to the connector if needed                                                                                                                                                                 |
| Card Inserted    | Determines when a smart card or token has been found for the reader. This can be a smart card in a reader device, or a token including an embedded secured element                                                                                                                                     |
| Actions          | Actions allowed on the selected reader. When selected, a full dump of a token will be started with the targetted connector                                                                                                                                                                             |

<figure><img src="https://1340963161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8TYvaFZ2MXzN70Z13Kx%2Fuploads%2F3XJmGigh1FvdNaHYUivg%2FScreenshot%202023-07-12%20at%2023.07.06.png?alt=media&#x26;token=43fcba14-4a47-4f35-9b88-58250c333346" alt=""><figcaption></figcaption></figure>

## Card ATR

The card ATR (ref: <https://en.wikipedia.org/wiki/Answer_to_reset> - **A**nswer-**T**o-**R**eset) is used to determine the smart card schema which can be used with the Trust1Connector.

When a card is unknown to the connector, a module can be proposed. This will trigger an override for the selected token. The connector will load the correct module to parse the card information and execute the use cases using the selected module.&#x20;

{% hint style="info" %}
There are no guarantees on a correct execution when 'module-override' has been altered. This is used most of the time to verify if an ATR can be forceably read and only when the user has kowledge on how smart cards and physical tokens are technically working.
{% endhint %}
