mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 04:53:08 +00:00
6a5d63803a
* 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> |
||
---|---|---|
.. | ||
helpers | ||
protocols | ||
nfc.c | ||
nfc.h | ||
nfc_common.h | ||
nfc_device.c | ||
nfc_device.h | ||
nfc_device_i.c | ||
nfc_device_i.h | ||
nfc_listener.c | ||
nfc_listener.h | ||
nfc_poller.c | ||
nfc_poller.h | ||
nfc_scanner.c | ||
nfc_scanner.h | ||
SConscript |