mirror of
https://github.com/i12bp8/TagTinker.git
synced 2026-10-23 13:32:59 +00:00
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.
15 lines
357 B
C
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]);
|