1853359d78
* nfc: start nfc over rpc * nfc: add detect reader state * nfc: add reader analyzer * nfc: rework reader analyzer * reader_analyzer: print collected nonces to debug * reader analyzer: add save on SD card * reader_analyzer: separate mfkey related part to different file * mfkey32: add logic for collecting parameters * nfc: rework pcap with reader analyzer * nfc: add logger for reader * nfc: clean up * nfc: add detect reader view * nfc: add detect reader and mfkey nonces scenes * nfc: add mfkey comlplete scene * nfc: add new assets * nfc: fix gui * nfc: fix iso14443-4 UID emulation * nfc: add no sd card notification * nfc: fix grammar Co-authored-by: あく <alleteam@gmail.com>
24 lines
587 B
C
24 lines
587 B
C
#pragma once
|
|
#include <stdint.h>
|
|
#include <gui/view.h>
|
|
#include <gui/modules/widget.h>
|
|
|
|
typedef struct DetectReader DetectReader;
|
|
|
|
typedef void (*DetectReaderDoneCallback)(void* context);
|
|
|
|
DetectReader* detect_reader_alloc();
|
|
|
|
void detect_reader_free(DetectReader* detect_reader);
|
|
|
|
void detect_reader_reset(DetectReader* detect_reader);
|
|
|
|
View* detect_reader_get_view(DetectReader* detect_reader);
|
|
|
|
void detect_reader_set_callback(
|
|
DetectReader* detect_reader,
|
|
DetectReaderDoneCallback callback,
|
|
void* context);
|
|
|
|
void detect_reader_inc_nonce_cnt(DetectReader* detect_reader);
|