mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-04-26 19:35:27 +00:00
a5847c75ef
Add `hf mfu nfcimport` command to import Flipper Zero .nfc files directly into ChameleonUltra emulator slots. Supports NTAG 210/212/ 213/215/216, Mifare Ultralight, Ultralight C, and Ultralight EV1. The importer parses the Flipper .nfc format and configures the slot with the correct tag type, anti-collision data (UID/ATQA/SAK), GET_VERSION response, READ_SIG signature, counter values, and full page data. Handles NTAG counter index mapping (Flipper's NFC counter index 2 maps to firmware internal index 0) and gracefully skips unsupported counters with a warning. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>