3#include "mf_classic_listener.h"
4#include <lib/nfc/protocols/iso14443_3a/iso14443_3a_listener_i.h>
6#include <nfc/helpers/crypto1.h>
13 MfClassicListenerCommandProcessed,
14 MfClassicListenerCommandAck,
15 MfClassicListenerCommandNack,
16 MfClassicListenerCommandSilent,
17 MfClassicListenerCommandSleep,
18} MfClassicListenerCommand;
21 MfClassicListenerStateIdle,
22 MfClassicListenerStateAuthComplete,
23} MfClassicListenerState;
26 MfClassicListenerCommStatePlain,
27 MfClassicListenerCommStateEncrypted,
28} MfClassicListenerCommState;
32 MfClassicListenerState state;
33 MfClassicListenerCommState comm_state;
47 int32_t transfer_value;
49 MfClassicValueCommand value_cmd;
58 size_t current_cmd_idx;
59 size_t current_cmd_handler_idx;
61 size_t total_block_num;
Generic Nfc stack event definitions.
NfcCommand(* NfcGenericCallback)(NfcGenericEvent event, void *context)
Generic Nfc event callback type.
Definition nfc_generic_event.h:75
Definition bit_buffer.c:7
Definition iso14443_3a_listener_i.h:15
Definition mf_classic.h:109
Definition mf_classic.h:135
Definition mf_classic_listener.h:20
Definition mf_classic_listener_i.h:30
Generic Nfc event type.
Definition nfc_generic_event.h:58
Definition mf_classic_listener.h:16