mirror of
https://github.com/pollen-robotics/microduck.git
synced 2026-12-03 02:47:45 +08:00
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>