sniffer: display F and D values frim PPS

Change-Id: I3641dcb6c24695a6d3dd3a1ee4333f56a07c99f0
This commit is contained in:
Kévin Redon authored and King Kévin committed 2018-07-04 17:10:08 +02:00
1 parent 6e3f1121e6
commit 7406337a7f
3 files changed
+9 -3

No files matched your search

@@ -2,5 +2,11 @@
#include <stdint.h>
/* Table 7 of ISO 7816-3:2006 */
extern const uint16_t fi_table[];
/* Table 8 from ISO 7816-3:2006 */
extern const uint8_t di_table[];
/* compute the F/D ratio based on Fi and Di values */
int compute_fidi_ratio(uint8_t fi, uint8_t di);