Loading...
Searching...
No Matches
iso14443_4_layer.h
1#pragma once
2
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
10
11Iso14443_4Layer* iso14443_4_layer_alloc(void);
12
13void iso14443_4_layer_free(Iso14443_4Layer* instance);
14
15void iso14443_4_layer_reset(Iso14443_4Layer* instance);
16
17void iso14443_4_layer_set_i_block(Iso14443_4Layer* instance, bool chaining, bool CID_present);
18void iso14443_4_layer_set_r_block(Iso14443_4Layer* instance, bool acknowledged, bool CID_present);
19void iso14443_4_layer_set_s_block(Iso14443_4Layer* instance, bool deselect, bool CID_present);
20
21void iso14443_4_layer_encode_block(
22 Iso14443_4Layer* instance,
23 const BitBuffer* input_data,
24 BitBuffer* block_data);
25
26bool iso14443_4_layer_decode_block(
27 Iso14443_4Layer* instance,
28 BitBuffer* output_data,
29 const BitBuffer* block_data);
30
31#ifdef __cplusplus
32}
33#endif
Bit Buffer.
Definition bit_buffer.c:7
Definition iso14443_4_layer.c:42