mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 01:03:22 +00:00
490447bbd4
* NFC: gen4 gtu detect in magic app * NFC: more support for GTU card * NFC: Fix Gen1 in Magic * Allow double UIDs for MFClassic on GTU cards * NFC: Small magic app tweaks * nfc magic: notify card event on wiping * nfc magic: fix power consumption * nfc magic: disable i2c writing and fix wipe loop * NfcMagic: correct formatting in printf * NfcMagic: correct formatting in printf, proper version * nfc_magic: rework card found notification and gen4 wiping Co-authored-by: あく <alleteam@gmail.com>
13 lines
No EOL
284 B
C
13 lines
No EOL
284 B
C
#pragma once
|
|
|
|
#include <lib/nfc/protocols/mifare_classic.h>
|
|
|
|
bool magic_gen1_wupa();
|
|
|
|
bool magic_gen1_read_block(uint8_t block_num, MfClassicBlock* data);
|
|
|
|
bool magic_gen1_data_access_cmd();
|
|
|
|
bool magic_gen1_write_blk(uint8_t block_num, MfClassicBlock* data);
|
|
|
|
bool magic_gen1_wipe(); |