mag_types.h 922 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #pragma once
  2. #define MAG_VERSION_APP "0.05"
  3. #define MAG_DEVELOPER "Zachary Weiss"
  4. #define MAG_GITHUB "github.com/zacharyweiss/magspoof_flipper"
  5. typedef enum {
  6. MagViewSubmenu,
  7. MagViewDialogEx,
  8. MagViewPopup,
  9. MagViewLoading,
  10. MagViewWidget,
  11. MagViewVariableItemList,
  12. MagViewTextInput,
  13. MagViewMagTextInput,
  14. } MagView;
  15. typedef enum {
  16. MagReverseStateOff,
  17. MagReverseStateOn,
  18. } MagReverseState;
  19. typedef enum {
  20. MagTrackStateOneAndTwo,
  21. MagTrackStateOne,
  22. MagTrackStateTwo,
  23. MagTrackStateThree,
  24. } MagTrackState;
  25. typedef enum {
  26. MagTxStateRFID,
  27. MagTxStateGPIO,
  28. MagTxStatePiezo,
  29. MagTxStateLF_P, // combo of RFID and Piezo
  30. MagTxStateNFC,
  31. MagTxCC1101_434,
  32. MagTxCC1101_868,
  33. } MagTxState;
  34. typedef enum {
  35. UART_TerminalEventRefreshConsoleOutput = 0,
  36. UART_TerminalEventStartConsole,
  37. UART_TerminalEventStartKeyboard,
  38. } UART_TerminalCustomEvent;