mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-17 18:31:36 +03:00
389ff92cc1
* Makefile, Scripts: new linter * About: remove ID from IC * Firmware: remove double define for DIVC/DIVR * Scripts: check folder names too. Docker: replace syntax check with make lint. * Reformat Sources and Migrate to new file naming convention * Docker: symlink clang-format-12 to clang-format * Add coding style guide
16 lines
472 B
C
16 lines
472 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
static const uint8_t LFRFID_KEY_SIZE = 8;
|
|
static const uint8_t LFRFID_KEY_NAME_SIZE = 22;
|
|
|
|
enum class LfrfidKeyType : uint8_t {
|
|
KeyEM4100,
|
|
KeyH10301,
|
|
KeyI40134,
|
|
};
|
|
|
|
const char* lfrfid_key_get_type_string(LfrfidKeyType type);
|
|
const char* lfrfid_key_get_manufacturer_string(LfrfidKeyType type);
|
|
bool lfrfid_key_get_string_type(const char* string, LfrfidKeyType* type);
|
|
uint8_t lfrfid_key_get_type_data_count(LfrfidKeyType type); |