key_info.h 491 B

1234567891011121314151617
  1. #pragma once
  2. #include <stdint.h>
  3. static const uint8_t LFRFID_KEY_SIZE = 8;
  4. static const uint8_t LFRFID_KEY_NAME_SIZE = 22;
  5. enum class LfrfidKeyType : uint8_t {
  6. KeyEM4100,
  7. KeyH10301,
  8. KeyI40134,
  9. KeyIoProxXSF,
  10. };
  11. const char* lfrfid_key_get_type_string(LfrfidKeyType type);
  12. const char* lfrfid_key_get_manufacturer_string(LfrfidKeyType type);
  13. bool lfrfid_key_get_string_type(const char* string, LfrfidKeyType* type);
  14. uint8_t lfrfid_key_get_type_data_count(LfrfidKeyType type);