gave 14b commands some serious love and overhaul. package handling for APDU and different selects is improved. return codes now consequent
This commit is contained in:
1 parent
5709d8959d
commit
82aa6ac08c
11 files changed
+350
-337
No files matched your search
@@ -64,6 +64,11 @@ typedef struct {
|
||||
uint8_t raw[];
|
||||
} PACKED iso14b_raw_cmd_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t response_byte;
|
||||
uint16_t datalen;
|
||||
uint8_t data[];
|
||||
} PACKED iso14b_raw_apdu_response_t;
|
||||
|
||||
#define US_TO_SSP(x) ( (int32_t) ((x) * 3.39) )
|
||||
#define SSP_TO_US(x) ( (int32_t)((x) / 3.39) )
|
||||
|
||||
Reference in new issue
Block a user