Flipper Developer Docs
Loading...
Searching...
No Matches
iso14443_crc.h
1
#pragma once
2
3
#include <stdint.h>
4
#include <stddef.h>
5
6
#include <
toolbox/bit_buffer.h
>
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#define ISO14443_CRC_SIZE sizeof(uint16_t)
13
14
typedef
enum
{
15
Iso14443CrcTypeA,
16
Iso14443CrcTypeB,
17
} Iso14443CrcType;
18
19
void
iso14443_crc_append(Iso14443CrcType type,
BitBuffer
* buf);
20
21
bool
iso14443_crc_check(Iso14443CrcType type,
const
BitBuffer
* buf);
22
23
void
iso14443_crc_trim(
BitBuffer
* buf);
24
25
#ifdef __cplusplus
26
}
27
#endif
bit_buffer.h
Bit Buffer.
BitBuffer
Definition
bit_buffer.c:7
lib
nfc
helpers
iso14443_crc.h
Generated by
1.12.0