mirror of
https://github.com/pollen-robotics/microduck.git
synced 2026-11-26 04:25:46 +08:00
`nfc.read` on nfcd's socket reads the next tag touched, or one already on the reader, and answers with its UID and NDEF text/URI records. It waits, quacks and keeps the tag from being acted on just as a write does, so a pairing or mode tag can be checked without it pairing or switching. A tag that moves mid-read is read again on the next poll until the wait runs out. API_VERSION 61: a v60 nfcd answers nfc.read METHOD_NOT_FOUND, by name. btd carries it; mediad does not. every_call() gains NfcWrite, which it was missing, and NfcRead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>