mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Refactor helpers for 'hf felica' commands; add retries
This commit is contained in:
+187
-114
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,5 @@
|
||||
int CmdHFFelica(const char *Cmd);
|
||||
int read_felica_uid(bool loop, bool verbose);
|
||||
int send_request_service(uint8_t flags, uint16_t datalen, uint8_t *data, bool verbose);
|
||||
int send_rd_plain(uint8_t flags, uint16_t datalen, uint8_t *data, bool verbose, felica_read_without_encryption_response_t *rd_noCry_resp);
|
||||
int send_dump_sv_plain(uint8_t flags, uint16_t datalen, uint8_t *data, bool verbose, felica_service_dump_response_t *dump_sv_resp, bool is_area);
|
||||
|
||||
#endif
|
||||
|
||||
+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