mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Extract more information with 'hf felica info'
This commit is contained in:
@@ -81,11 +81,58 @@ typedef struct {
|
||||
uint8_t IDm[8];
|
||||
} PACKED felica_frame_response_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t sync[2];
|
||||
uint8_t length[1];
|
||||
uint8_t cmd_code[1];
|
||||
} PACKED felica_frame_response_noidm_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t status_flag1[1];
|
||||
uint8_t status_flag2[1];
|
||||
} PACKED felica_status_flags_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t length[1];
|
||||
uint8_t command_code[1];
|
||||
uint8_t reserved[2];
|
||||
} PACKED felica_get_container_id_request_t;
|
||||
|
||||
typedef struct {
|
||||
felica_frame_response_noidm_t frame_response;
|
||||
uint8_t container_idm[8];
|
||||
} PACKED felica_get_container_id_response_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t length[1];
|
||||
uint8_t command_code[1];
|
||||
uint8_t property_index[2];
|
||||
} PACKED felica_get_container_property_request_t;
|
||||
|
||||
typedef struct {
|
||||
felica_frame_response_noidm_t frame_response;
|
||||
uint8_t property_data[];
|
||||
} PACKED felica_get_container_property_response_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t length[1];
|
||||
uint8_t command_code[1];
|
||||
uint8_t IDm[8];
|
||||
uint8_t reserved[2];
|
||||
} PACKED felica_get_container_issue_info_request_t;
|
||||
|
||||
typedef struct {
|
||||
felica_frame_response_t frame_response;
|
||||
uint8_t format_version_carrier_information[5];
|
||||
uint8_t mobile_phone_model_information[11];
|
||||
} PACKED felica_get_container_issue_info_response_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t length[1];
|
||||
uint8_t command_code[1];
|
||||
uint8_t IDm[8];
|
||||
} PACKED felica_get_platform_info_request_t;
|
||||
|
||||
typedef struct {
|
||||
felica_frame_response_t frame_response;
|
||||
uint8_t node_number[1];
|
||||
|
||||
@@ -849,12 +849,21 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
|
||||
#define FELICA_WRTSEC_REQ 0x16
|
||||
#define FELICA_WRTSEC_ACK 0x17
|
||||
|
||||
#define FELICA_GET_CONTAINER_ISSUE_INFO_REQ 0x22
|
||||
#define FELICA_GET_CONTAINER_ISSUE_INFO_ACK 0x23
|
||||
|
||||
#define FELICA_GET_CONTAINER_PROPERTY_REQ 0x2e
|
||||
#define FELICA_GET_CONTAINER_PROPERTY_ACK 0x2f
|
||||
|
||||
#define FELICA_REQSRV2_REQ 0x32
|
||||
#define FELICA_REQSRV2_ACK 0x33
|
||||
|
||||
#define FELICA_GETSTATUS_REQ 0x38
|
||||
#define FELICA_GETSTATUS_ACK 0x39
|
||||
|
||||
#define FELICA_GETPLATFORMINFO_REQ 0x3a
|
||||
#define FELICA_GETPLATFORMINFO_ACK 0x3b
|
||||
|
||||
#define FELICA_OSVER_REQ 0x3c
|
||||
#define FELICA_OSVER_ACK 0x3d
|
||||
|
||||
@@ -875,6 +884,9 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
|
||||
#define FELICA_UPDATE_RNDID_REQ 0x4C
|
||||
#define FELICA_UPDATE_RNDID_ACK 0x4D
|
||||
|
||||
#define FELICA_GET_CONTAINER_ID_REQ 0x70
|
||||
#define FELICA_GET_CONTAINER_ID_ACK 0x71
|
||||
|
||||
// FeliCa SYSTEM list
|
||||
#define SYSTEMCODE_ANY 0xffff // ANY
|
||||
#define SYSTEMCODE_FELICA_LITE 0x88b4 // FeliCa Lite
|
||||
|
||||
Reference in New Issue
Block a user