nfc_helpers.h 399 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. #define NFC_MAX_BYTES 256
  6. #define NFC_CONFIG_PAGES 4
  7. struct FreqNfcEntry {
  8. uint32_t frequency;
  9. uint32_t unused1;
  10. uint32_t unused2;
  11. uint32_t unused3;
  12. } __attribute__((packed));
  13. struct ReplayDictNfcEntry {
  14. uint64_t run_id;
  15. uint32_t counter;
  16. uint32_t unused;
  17. } __attribute__((packed));
  18. #ifdef __cplusplus
  19. }
  20. #endif