Add command request system code.

Add command request specification version.
Add command reset mode.
Make Style.
This commit is contained in:
Thomas Sutter 2019-11-04 10:24:29 +01:00
commit 601b8d281a
2 changed files with 296 additions and 5 deletions

View file

@ -205,6 +205,21 @@ typedef struct {
felica_status_flags_t status_flags;
} PACKED felica_status_response_t;
typedef struct {
felica_frame_response_t frame_response;
uint8_t number_of_systems[1];
uint8_t system_code_list[32];
} PACKED felica_syscode_response_t;
typedef struct {
felica_frame_response_t frame_response;
felica_status_flags_t status_flags;
uint8_t format_version[1];
uint8_t basic_version[2];
uint8_t number_of_option[1];
uint8_t option_version_list[4];
} PACKED felica_request_spec_response_t;
typedef enum FELICA_COMMAND {
FELICA_CONNECT = (1 << 0),
FELICA_NO_DISCONNECT = (1 << 1),