mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-26 05:54:46 -07:00
Nfc: async pcap worker (#1315)
* Nfc: async pcap worker * nfc: add pcap save to classic emulation Co-authored-by: gornekich <n.gorbadey@gmail.com>
This commit is contained in:
15
applications/nfc/nfc_worker_i.h
Executable file → Normal file
15
applications/nfc/nfc_worker_i.h
Executable file → Normal file
@@ -1,11 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "nfc_i.h"
|
||||
#include "nfc_worker.h"
|
||||
#include "nfc_i.h"
|
||||
|
||||
#include <furi.h>
|
||||
#include <lib/toolbox/stream/file_stream.h>
|
||||
|
||||
#include <lib/nfc_protocols/nfc_util.h>
|
||||
#include <lib/nfc_protocols/emv.h>
|
||||
#include <lib/nfc_protocols/mifare_common.h>
|
||||
#include <lib/nfc_protocols/mifare_ultralight.h>
|
||||
#include <lib/nfc_protocols/mifare_classic.h>
|
||||
#include <lib/nfc_protocols/mifare_desfire.h>
|
||||
#include <lib/nfc_protocols/nfca.h>
|
||||
|
||||
#include "helpers/nfc_mf_classic_dict.h"
|
||||
#include "helpers/nfc_debug_pcap.h"
|
||||
|
||||
struct NfcWorker {
|
||||
FuriThread* thread;
|
||||
Storage* storage;
|
||||
@@ -17,6 +28,8 @@ struct NfcWorker {
|
||||
void* context;
|
||||
|
||||
NfcWorkerState state;
|
||||
|
||||
NfcDebugPcapWorker* debug_pcap_worker;
|
||||
};
|
||||
|
||||
void nfc_worker_change_state(NfcWorker* nfc_worker, NfcWorkerState state);
|
||||
|
||||
Reference in New Issue
Block a user