3571b58d0a
* gui: refactore ViewNavigator -> SceneManager * view_dispatcher: remove scene controller, add custom and navigation cb * scene_manager: rework scene controller, move AppScene from lib * nfc: rework nfc scenes with new scene controller API * view_dispatcher: crash on free if not all views were freed * nfc: introduce scene declaration * scene_manager: allocate and configure application scenes * nfc: rework nfc with new Scene Manager API * scene_manager: remove dublicated scene handlers allocation * nfc: rework nfc app with new scene manager API * view_dispatcher: add tick event * scene_manager: add tick event type and handler * nfc: rework notifications with tick event * scene_manager: remove scene id from scene structure * scene_manager: rename array -> stack, add documentation * api-hal-nfc: remove listen activation processing * nfc_scene_start: shorter submenu call * nfc: fix nfc file name * nfc: fix Retry in mifare ul success read * nfc_cli: fix read timeout in nfc_detect CLI command Co-authored-by: あく <alleteam@gmail.com>
24 lines
946 B
C
Executable File
24 lines
946 B
C
Executable File
ADD_SCENE(nfc, start, Start)
|
|
ADD_SCENE(nfc, read_card, ReadCard)
|
|
ADD_SCENE(nfc, read_card_success, ReadCardSuccess)
|
|
ADD_SCENE(nfc, card_menu, CardMenu)
|
|
ADD_SCENE(nfc, not_implemented, NotImplemented)
|
|
ADD_SCENE(nfc, emulate_uid, EmulateUid)
|
|
ADD_SCENE(nfc, save_name, SaveName)
|
|
ADD_SCENE(nfc, save_success, SaveSuccess)
|
|
ADD_SCENE(nfc, file_select, FileSelect)
|
|
ADD_SCENE(nfc, saved_menu, SavedMenu)
|
|
ADD_SCENE(nfc, set_type, SetType)
|
|
ADD_SCENE(nfc, set_sak, SetSak)
|
|
ADD_SCENE(nfc, set_atqa, SetAtqua)
|
|
ADD_SCENE(nfc, set_uid, SetUid)
|
|
ADD_SCENE(nfc, scripts_menu, ScriptsMenu)
|
|
ADD_SCENE(nfc, read_mifare_ul, ReadMifareUl)
|
|
ADD_SCENE(nfc, read_mifare_ul_success, ReadMifareUlSuccess)
|
|
ADD_SCENE(nfc, mifare_ul_menu, MifareUlMenu)
|
|
ADD_SCENE(nfc, debug_menu, DebugMenu)
|
|
ADD_SCENE(nfc, debug_detect, DebugDetect)
|
|
ADD_SCENE(nfc, debug_emulate, DebugEmulate)
|
|
ADD_SCENE(nfc, debug_read_emv, DebugReadEmv)
|
|
ADD_SCENE(nfc, debug_read_mifare_ul, DebugReadMifareUl)
|