Includes ESP-IDF NFC stack (deep capture, 4K Classic geometry, UL write API, open SoftAP), React dashboard with live tag diagnostics, and docs. README updated for APIs and lab Wi-Fi defaults. Made-with: Cursor
1.0 KiB
1.0 KiB
Example workflows
1. Read a MIFARE Classic sector
- Dashboard → Poll once to verify presence and UID.
- Read tab → enter default key (e.g.
FFFFFFFFFFFF), block number, MIFARE read block. - Copy hex → save to Library (local browser).
2. Write a known-good block
- Authenticate with a key that still allows write on that sector.
- Write tab → paste 32 hex chars (16 bytes) → confirm dialog.
- Re-read the block to verify.
3. Ultralight / NTAG pages
- Use Read → Ultralight read page with page index (start at
0for UID/lock pages per datasheet — exercise caution on OTP/lock bytes).
4. Raw PN532 frames
- Raw tab → send e.g.
4A0100(InListPassiveTarget, 1 target, 106 kbps Type A). - Interpret response bytes per NXP UM0701 / PN532 user manual.
5. Continuous scan to WebSocket consumers
- Dashboard → Start live scan.
- Connect a WebSocket client to
ws://192.168.4.1/ws(orws://pn532tool.local/ws). - Messages look like:
{"channel":"scan","payload":{...}}