Files
TagTinker/nfc/tagtinker_nfc.h
T
7h30th3r0n3 9b3524b5f8 feat: add NFC tag scanning to auto-fill ESL barcode
Add "+ Scan NFC" option in the Targeted Payloads menu.
Scans Mifare Ultralight NDEF tags, decodes the encoded
ESL ID, and auto-creates the target — no manual barcode
entry needed. Cyan LED blinks during scan. Loops until
a tag is found or the user presses Back.

New files:
- nfc/tagtinker_nfc.c/.h — NDEF URI decoder module
- scenes/tagtinker_scene_nfc_scan.c — NFC scan scene

Version bumped to 2.1, NFC credit added to About screen.
2026-04-26 13:12:42 +02:00

15 lines
357 B
C

/*
* TagTinker — ESL NFC tag decoder
*
* Decodes NDEF URI from ESL Mifare Ultralight tags
* into the 17-character barcode format used by TagTinker.
*/
#pragma once
#include <stdint.h>
#include <stdbool.h>
#include <nfc/protocols/mf_ultralight/mf_ultralight.h>
bool tagtinker_nfc_decode_barcode(const MfUltralightData* mfu_data, char barcode[18]);