unleashed-firmware/applications/main/nfc/helpers/nfc_custom_event.h
gornekich d92b0a82cc
NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.

Starring:

- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer

Supporting roles:

- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance

Special thanks:

@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 12:08:09 +09:00

33 lines
850 B
C

#pragma once
typedef enum {
// Reserve first 100 events for button types and indexes, starting from 0
NfcCustomEventReserved = 100,
// Mf classic dict attack events
NfcCustomEventDictAttackComplete,
NfcCustomEventDictAttackSkip,
NfcCustomEventDictAttackDataUpdate,
NfcCustomEventCardDetected,
NfcCustomEventCardLost,
NfcCustomEventViewExit,
NfcCustomEventWorkerExit,
NfcCustomEventWorkerUpdate,
NfcCustomEventWrongCard,
NfcCustomEventTimerExpired,
NfcCustomEventByteInputDone,
NfcCustomEventTextInputDone,
NfcCustomEventDictAttackDone,
NfcCustomEventRpcLoad,
NfcCustomEventRpcExit,
NfcCustomEventRpcSessionClose,
NfcCustomEventPollerSuccess,
NfcCustomEventPollerIncomplete,
NfcCustomEventPollerFailure,
NfcCustomEventListenerUpdate,
} NfcCustomEvent;