Add felica request service command.

Add cmd parser functions.
This commit is contained in:
Thomas Sutter 2019-10-22 15:56:05 +02:00
commit 6144e2d09b
3 changed files with 107 additions and 117 deletions

View file

@ -169,6 +169,15 @@ typedef struct {
uint8_t servicecode[2];
} PACKED felica_card_select_t;
typedef struct {
uint8_t sync[4];
uint8_t length[1];
uint8_t cmd_code[1];
uint8_t IDm[8];
uint8_t node_number[1];
uint8_t node_key_versions[2];
} PACKED felica_request_service_response_t;
typedef enum FELICA_COMMAND {
FELICA_CONNECT = (1 << 0),
FELICA_NO_DISCONNECT = (1 << 1),