nfc_magic_worker_i.h 472 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include <furi.h>
  3. #include "nfc_magic_worker.h"
  4. struct NfcMagicWorker {
  5. FuriThread* thread;
  6. NfcDeviceData* dev_data;
  7. NfcMagicWorkerCallback callback;
  8. void* context;
  9. NfcMagicWorkerState state;
  10. };
  11. int32_t nfc_magic_worker_task(void* context);
  12. void nfc_magic_worker_check(NfcMagicWorker* nfc_magic_worker);
  13. void nfc_magic_worker_write(NfcMagicWorker* nfc_magic_worker);
  14. void nfc_magic_worker_wipe(NfcMagicWorker* nfc_magic_worker);