 490447bbd4
			
		
	
	
		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>
		
			
				
	
	
		
			19 lines
		
	
	
		
			371 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			371 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <stdint.h>
 | |
| #include <stdbool.h>
 | |
| 
 | |
| typedef enum {
 | |
|     MagicTypeClassicGen1,
 | |
|     MagicTypeClassicDirectWrite,
 | |
|     MagicTypeClassicAPDU,
 | |
|     MagicTypeUltralightGen1,
 | |
|     MagicTypeUltralightDirectWrite,
 | |
|     MagicTypeUltralightC_Gen1,
 | |
|     MagicTypeUltralightC_DirectWrite,
 | |
|     MagicTypeGen4,
 | |
| } MagicType;
 | |
| 
 | |
| bool magic_activate();
 | |
| 
 | |
| void magic_deactivate(); |