mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-11 23:38:11 -07:00
Fix ISO READ BINARY params definitions
This commit is contained in:
@@ -12,9 +12,8 @@
|
||||
|
||||
// ISO READ BINARY command and parameters
|
||||
#define TYPE_4_TAG_ISO_READ_CMD 0x00, 0xB0
|
||||
#define TYPE_4_TAG_ISO_READ_P1_EMPTY (0x00)
|
||||
#define TYPE_4_TAG_ISO_READ_P1_ID_MASK (1 << 7)
|
||||
#define TYPE_4_TAG_ISO_READ_P_BEGINNING (0x00)
|
||||
#define TYPE_4_TAG_ISO_READ_P_BEGINNING 0x00, 0x00
|
||||
#define TYPE_4_TAG_ISO_READ_P_OFFSET_MAX (32767U)
|
||||
#define TYPE_4_TAG_ISO_READ_LE_FULL (0x00)
|
||||
|
||||
|
||||
@@ -83,7 +83,6 @@ Type4TagError type_4_tag_poller_read_cc(Type4TagPoller* instance) {
|
||||
FURI_LOG_D(TAG, "Read CC");
|
||||
const uint8_t type_4_tag_read_cc_apdu[] = {
|
||||
TYPE_4_TAG_ISO_READ_CMD,
|
||||
TYPE_4_TAG_ISO_READ_P1_EMPTY,
|
||||
TYPE_4_TAG_ISO_READ_P_BEGINNING,
|
||||
TYPE_4_TAG_ISO_READ_LE_FULL,
|
||||
};
|
||||
@@ -179,7 +178,6 @@ Type4TagError type_4_tag_poller_read_ndef(Type4TagPoller* instance) {
|
||||
uint16_t ndef_len;
|
||||
const uint8_t type_4_tag_read_ndef_len_apdu[] = {
|
||||
TYPE_4_TAG_ISO_READ_CMD,
|
||||
TYPE_4_TAG_ISO_READ_P1_EMPTY,
|
||||
TYPE_4_TAG_ISO_READ_P_BEGINNING,
|
||||
sizeof(ndef_len),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user