All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
iso15693_3_i.h
1#pragma once
2
3#include "iso15693_3.h"
4
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
21bool iso15693_3_error_response_parse(Iso15693_3Error* error, const BitBuffer* buf);
22
23Iso15693_3Error iso15693_3_inventory_response_parse(uint8_t* data, const BitBuffer* buf);
24
25Iso15693_3Error
26 iso15693_3_system_info_response_parse(Iso15693_3SystemInfo* data, const BitBuffer* buf);
27
28Iso15693_3Error
29 iso15693_3_read_block_response_parse(uint8_t* data, uint8_t block_size, const BitBuffer* buf);
30
31Iso15693_3Error iso15693_3_get_block_security_response_parse(
32 uint8_t* data,
33 uint16_t block_count,
34 const BitBuffer* buf);
35
36void iso15693_3_append_uid(const Iso15693_3Data* data, BitBuffer* buf);
37
38void iso15693_3_append_block(const Iso15693_3Data* data, uint8_t block_num, BitBuffer* buf);
39
40void iso15693_3_set_block_locked(Iso15693_3Data* data, uint8_t block_index, bool locked);
41
42void iso15693_3_set_block_data(
43 Iso15693_3Data* data,
44 uint8_t block_num,
45 const uint8_t* block_data,
46 size_t block_data_size);
47
48void iso15693_3_append_block_security(
49 const Iso15693_3Data* data,
50 uint8_t block_num,
51 BitBuffer* buf);
52
53// NOTE: the uid parameter has reversed byte order with respect to data
54bool iso15693_3_is_equal_uid(const Iso15693_3Data* data, const uint8_t* uid);
55
56#ifdef __cplusplus
57}
58#endif
Bit Buffer.
Definition bit_buffer.c:7
Definition iso15693_3.h:117
Definition iso15693_3.h:99