Refactor helpers for 'hf felica' commands; add retries
This commit is contained in:
1 parent
dc04f82393
commit
2e4290c5fe
3 files changed
+189
-118
No files matched your search
+2
-2
@@ -101,7 +101,7 @@ typedef struct {
|
||||
felica_frame_response_t frame_response;
|
||||
felica_status_flags_t status_flags;
|
||||
uint8_t number_of_block[1];
|
||||
uint8_t block_data[16];
|
||||
uint8_t block_data[16 * 15];
|
||||
} PACKED felica_read_without_encryption_response_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -140,7 +140,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
felica_frame_response_t frame_response;
|
||||
uint8_t payload[4];
|
||||
} PACKED felica_service_dump_response_t;
|
||||
} PACKED felica_search_service_code_response_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t command_code[1];
|
||||
|
||||
Reference in new issue
Block a user