Files
microduck/nfc/systemd/sysusers.d
drenayazandClaude Opus 5.5 fc204c450a nfcd: touch a tag carrying a pad's address, and that pad is paired
The bench script becomes a daemon that ships in the release. nfcd owns the
CLRC663 reader on /dev/ttyACM0, a Rust port of winnie's ntag663 cut down to
selecting a tag and reading its NDEF, and polls it at 5 Hz. On a tag's
arrival it takes the first Bluetooth address in the records: a pad already
connected means nothing happens, otherwise configd pairs that one
(pad.pair) and robotd quacks (robot.sound). One attempt per touch.

No reader is the ordinary case — one log line and a retry every 30 s, so
plugging one in is all it takes. Unprivileged: dialout for the port, robot
for the sockets, and configd names it in --allow-user since pad.pair is
mutating.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:59:49 +02:00
..