changed byte_t -> uint8_t

This commit is contained in:
iceman1001 2019-03-21 15:19:18 +01:00
commit ca9061bd32
13 changed files with 56 additions and 56 deletions

View file

@ -54,12 +54,12 @@ local function parse14443a(data)
Based on this struct :
typedef struct {
byte_t uid[10];
byte_t uidlen;
byte_t atqa[2];
byte_t sak;
byte_t ats_len;
byte_t ats[256];
uint8_t uid[10];
uint8_t uidlen;
uint8_t atqa[2];
uint8_t sak;
uint8_t ats_len;
uint8_t ats[256];
} __attribute__((__packed__)) iso14a_card_select_t;
--]]

View file

@ -31,11 +31,11 @@ local function parse1443b(data)
Based on this struct :
typedef struct {
byte_t uid[10];
byte_t uidlen;
byte_t atqb[7];
byte_t chipid;
byte_t cid;
uint8_t uid[10];
uint8_t uidlen;
uint8_t atqb[7];
uint8_t chipid;
uint8_t cid;
} __attribute__((__packed__)) iso14b_card_select_t;
--]]