devices: stub-access driver (bench-test flows without a relay)

A live QR scan reached the app but rejected: 'reader not on an access-equipped
lane' — the dispatcher requires an access device on the reader's lane. Add a
no-op stub-access driver (access category, no config) whose pulseOpen only logs
and does no device I/O, so the QR->permit->accept flow (incl. the beep) can be
tested without the Dingtian relay connected. Not for production; registered in
the catalog.
This commit is contained in:
2026-06-16 12:50:05 +02:00
parent 68d61f2d99
commit 5705098054
4 changed files with 49 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ export { setDeviceLogSink, type DeviceLogSink } from "./drivers/common.js";
export {
registerBuiltinDrivers,
dingtianDriver,
stubAccessDriver,
wiegandReaderDriver,
tcpipReaderDriver,
geeQrReaderDriver,