 9c9f66a30f
			
		
	
	
		9c9f66a30f
		
			
		
	
	
	
	
		
			
			* nfc: refactor nfc_worker_read_mifare_desfire to use furi_hal_nfc_tx_rx Renames furi_hal_nfc_exchange_full to furi_hal_nfc_tx_rx_full, and rewrites it to use furi_hal_nfc_tx_rx. This eliminates the final remaining use of furi_hal_nfc_exchange, so remove that. * nfc: write debug.pcap when debug mode enabled Limited to NFC protocols that use furi_hal_nfc_tx_rx to communicate. * switch to Doxygen style comment Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us> Co-authored-by: あく <alleteam@gmail.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			387 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			387 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <furi_hal_nfc.h>
 | |
| #include <storage/storage.h>
 | |
| 
 | |
| /** Prepare tx/rx context for debug pcap logging, if enabled.
 | |
|  *
 | |
|  * @param      tx_rx   TX/RX context to log
 | |
|  * @param      storage Storage to log to
 | |
|  * @param      is_picc if true, record Flipper as PICC, else PCD.
 | |
|  */
 | |
| void nfc_debug_pcap_prepare_tx_rx(FuriHalNfcTxRxContext* tx_rx, Storage* storage, bool is_picc);
 |