 7a13391b2b
			
		
	
	
		7a13391b2b
		
			
		
	
	
	
	
		
			
			* File worker: file operations helper. * Notification app: removed yield * File worker: write operations, calls to system file widgets * App ibutton: use file worker * Lfrfid: generic key loading, add path helper and hex conversion to lib * FileWorker: plain C verison * FileWorker: add to lib.mk * FileWorker: add to C sources, instead of CPP * Lfrfid: save scene * App lfrfid: add key scene, saved key menu * App lfrfid: saved key info scene * App lfrfid: delete key scene
		
			
				
	
	
		
			15 lines
		
	
	
		
			404 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			404 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| #include <stdint.h>
 | |
| 
 | |
| static const uint8_t LFRFID_KEY_SIZE = 8;
 | |
| static const uint8_t LFRFID_KEY_NAME_SIZE = 22;
 | |
| 
 | |
| enum class LfrfidKeyType : uint8_t {
 | |
|     KeyEM4100,
 | |
|     KeyH10301,
 | |
|     KeyI40134,
 | |
| };
 | |
| 
 | |
| const char* lfrfid_key_get_type_string(LfrfidKeyType type);
 | |
| bool lfrfid_key_get_string_type(const char* string, LfrfidKeyType* type);
 | |
| uint8_t lfrfid_key_get_type_data_count(LfrfidKeyType type); |