Draft read without encryption

This commit is contained in:
Thomas Sutter 2019-10-24 08:44:20 +02:00
commit 3b0447fbb3
2 changed files with 63 additions and 2 deletions

View file

@ -186,6 +186,17 @@ typedef struct {
uint8_t mode[1];
} PACKED felica_request_request_response_t;
typedef struct {
uint8_t sync[2];
uint8_t length[1];
uint8_t cmd_code[1];
uint8_t IDm[8];
uint8_t status_flag1[1];
uint8_t status_flag2[1];
uint8_t number_of_block[1];
uint8_t block_data[16];
} PACKED felica_read_without_encryption_response_t;
typedef enum FELICA_COMMAND {
FELICA_CONNECT = (1 << 0),
FELICA_NO_DISCONNECT = (1 << 1),