e31999b116
* Lfrfid app: add manufacturers to "Add manually" scene * Lfrfid app: fix submenu name size
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); |