unleashed-firmware/applications/main/nfc/helpers/protocol_support/mf_ultralight
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
..
mf_ultralight_render.c NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
mf_ultralight_render.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
mf_ultralight.c [FL-3675] Ntag21x write (#3246) 2023-12-02 13:45:47 +09:00
mf_ultralight.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00