unleashed-firmware/lib/nfc
RebornedBrain 6a5d63803a
[FL-3675] Ntag21x write (#3246)
* New scenes for ultralight poller write mode
* Added new button and transition logic for write operation
   For now write is only possible for NTAG21x cards with default password and no AUTHLIM set
* Poller states extended
* Enums and datatypes extended for new poller mode
* Added mode field to poller instance datatype
* New states for poller added in order to implement write mode
* Added new event type for locked cards in order to simplify state flow
* New logic for poller write commands
* Scenes adjustments
* Scenes renamed
* New field added to poller instance
* Now we write in 'page per call' mode
* Now function takes callback return value into account
* Callback will be called only in write mode
* Event type added
* Log adjusted and start page to write set
* Logs added and check in now false at start, then it moves to true
* Now mf_ultralight_poller_handler_request_write_data halts card in case of check failure and stops poller
* All fail events now returns NfcCommandStop callback
* In case of fail we move back properly
* Remove garbage

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-12-02 13:45:47 +09:00
..
helpers [FL-3686] Mifare Classic fixes (#3221) 2023-11-26 17:20:49 +09:00
protocols [FL-3675] Ntag21x write (#3246) 2023-12-02 13:45:47 +09:00
nfc.c [FL-3640] NFC: Felica UID emulation (#3190) 2023-11-26 17:10:33 +09:00
nfc.h [FL-3640] NFC: Felica UID emulation (#3190) 2023-11-26 17:10:33 +09:00
nfc_common.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_device.c NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_device.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_device_i.c NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_device_i.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_listener.c NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_listener.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_poller.c [FL-3666] NFC API improvements (#3214) 2023-11-15 17:32:45 +09:00
nfc_poller.h [FL-3666] NFC API improvements (#3214) 2023-11-15 17:32:45 +09:00
nfc_scanner.c NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_scanner.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
SConscript ST25TB poller refining + write support (#3239) 2023-12-01 18:42:00 +09:00