Host Protocols Direct Protocol CONTROL class Queries BENCHMARK GET
December 21, 2023 at 6:56 AMBENCHMARK GET
Role
Get benchmark data.
Remark: this command is available only in debug firmware builds. It is not available in the standard firmware releases.
Access condition
Free.
Command
Field | Value |
---|---|
CLA | 58 (CONTROL) |
INS | A8 (BENCHMARK GET) |
Data | List of benchmark counters to get (1 byte per counter) |
Response
If STA=00
(success):
Field | Content |
---|---|
Data | List of counter values (4 bytes per counter) |
List of benchmark counters
Counter # | Description |
---|---|
0 | RFU |
1 | RFU |
2 | NFC/RFID HF library, time taken in communication with the front-end |
3 | NFC/RFID HF library, time spent waiting for a response from the front-end (and the card) |
4 | NFC/RFID HF library, time spent in the library |
5 | NFC/RFID HF library, time lost waiting for other tasks |
6 | RFU |
7 | ISO/IEC 14443, actual exchanges with the card(s) (TPDU level) |
8 | ISO/IEC 14443, guard times of the card(s) |
9 | ISO/IEC 14443, T=CL APDU exchange |
10 | RFU |
11 | RFU |
12 | Smart card library, time spent in the library |
13 | Smart card library, time lost waiting for other tasks |
14 | RFU |
15 | ISO/IEC 7816, actual exchanges with the card(s) (TPDU level) |
16 | ISO/IEC 7816, guard times of the card(s) |
17 | ISO/IEC 7816, T=0 or T=1 APDU exchange |
18 | CCID, card-related actions |
19 | CCID, core operation |
20 | CCID, bulk out communication |
21 | CCID, bulk in communication |