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