2021-05-04 16:21:16 +03:00
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
static const uint8_t LFRFID_KEY_SIZE = 8;
|
2021-06-28 17:42:30 +03:00
|
|
|
static const uint8_t LFRFID_KEY_NAME_SIZE = 22;
|
2021-05-04 16:21:16 +03:00
|
|
|
|
|
|
|
enum class LfrfidKeyType : uint8_t {
|
2021-06-10 14:53:59 +03:00
|
|
|
KeyEM4100,
|
|
|
|
KeyH10301,
|
|
|
|
KeyI40134,
|
|
|
|
};
|
|
|
|
|
|
|
|
const char* lfrfid_key_get_type_string(LfrfidKeyType type);
|
2021-07-13 12:06:54 +03:00
|
|
|
const char* lfrfid_key_get_manufacturer_string(LfrfidKeyType type);
|
2021-06-30 15:02:46 +03:00
|
|
|
bool lfrfid_key_get_string_type(const char* string, LfrfidKeyType* type);
|
2021-06-10 14:53:59 +03:00
|
|
|
uint8_t lfrfid_key_get_type_data_count(LfrfidKeyType type);
|