server: make reset-free fast init the default; add --full-pysim-init

Fast init (fastinit.py) is now the default for startup and equip: all
profile probes run on one connection, RuntimeState uses a software reset
and only explicit equip/reset reconnect the card. Measured on the
reference reader: equip 1729ms vs 9850ms and zero RESET events vs 7-8.

--full-pysim-init restores pysim's stock init_card/equip for
compatibility/debugging; the former --fast-init flag is kept as a hidden
no-op alias so existing command lines keep parsing. Docs updated.
This commit is contained in:
2026-09-12 12:43:43 +03:00
parent b50be83da4
commit 25787017e5
4 changed files with 9 additions and 6 deletions
+3 -2
View File
@@ -9,8 +9,9 @@ restored in software.
This module mirrors ``pySim.app.init_card()`` with those resets removed: all
profile probes run back-to-back on the same connection and the runtime state
uses a software reset. The explicit ``equip`` and ``reset`` commands keep a
real reconnect/physical reset.
uses a software reset. It is the default init/equip path; ``--full-pysim-init``
restores pysim's stock behavior, and the explicit ``equip``/``reset`` commands
keep a real reconnect/physical reset.
"""
import operator