Loading...
Searching...
No Matches
mf_classic_poller_sync.h
1#pragma once
2
3#include "mf_classic.h"
4#include <nfc/nfc.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10MfClassicError mf_classic_poller_sync_collect_nt(
11 Nfc* nfc,
12 uint8_t block_num,
13 MfClassicKeyType key_type,
14 MfClassicNt* nt);
15
16MfClassicError mf_classic_poller_sync_auth(
17 Nfc* nfc,
18 uint8_t block_num,
19 MfClassicKey* key,
20 MfClassicKeyType key_type,
22
23MfClassicError mf_classic_poller_sync_read_block(
24 Nfc* nfc,
25 uint8_t block_num,
26 MfClassicKey* key,
27 MfClassicKeyType key_type,
28 MfClassicBlock* data);
29
30MfClassicError mf_classic_poller_sync_write_block(
31 Nfc* nfc,
32 uint8_t block_num,
33 MfClassicKey* key,
34 MfClassicKeyType key_type,
35 MfClassicBlock* data);
36
37MfClassicError mf_classic_poller_sync_read_value(
38 Nfc* nfc,
39 uint8_t block_num,
40 MfClassicKey* key,
41 MfClassicKeyType key_type,
42 int32_t* value);
43
44MfClassicError mf_classic_poller_sync_change_value(
45 Nfc* nfc,
46 uint8_t block_num,
47 MfClassicKey* key,
48 MfClassicKeyType key_type,
49 int32_t data,
50 int32_t* new_value);
51
52MfClassicError mf_classic_poller_sync_detect_type(Nfc* nfc, MfClassicType* type);
53
54MfClassicError
55 mf_classic_poller_sync_read(Nfc* nfc, const MfClassicDeviceKeys* keys, MfClassicData* data);
56
57#ifdef __cplusplus
58}
59#endif
Transport layer Nfc library.
Definition mf_classic.h:111
Definition mf_classic.h:78
Definition mf_classic.h:137
Definition mf_classic.h:130
Definition mf_classic.h:87
Definition mf_classic.h:95
Definition nfc.c:41