Aplicativo desktop em Python (Tkinter) para leitor UHF RFID Fonkan/JRD-100/M100 via porta serial - selecao de porta, baudrate, potencia e visualizacao de tags detectadas
Go to file
lronetto 22fca0246c Add auto-reconnect and diagnostic hints for serial Access Denied errors
The previous fix (port access lock) only addressed contention between
our own read/write threads. A recurring "ClearCommError failed -
Acesso negado" after the lock fix indicates the OS is invalidating the
port handle itself (USB power management suspending the port, the
RFID module browning out under high RF output power, or another app
holding the port) rather than an internal race.

Add:
- A "Reconectar automaticamente" checkbox (on by default) that retries
  opening the port with backoff (up to 5 attempts) after any fatal
  serial error, resuming the scan automatically if one was active.
- A generation counter so stale scheduled reconnects are discarded if
  the user manually connects/disconnects in the meantime.
- An actionable hint logged on fatal errors explaining the likely
  causes and how to fix each one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-16 15:38:29 +00:00
.gitignore Add UHF RFID reader GUI app for Fonkan/JRD-100/M100 modules 2026-07-16 15:04:56 +00:00
uhf_rfid_gui.py Add auto-reconnect and diagnostic hints for serial Access Denied errors 2026-07-16 15:38:29 +00:00