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
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> |
||
|---|---|---|
| .gitignore | ||
| uhf_rfid_gui.py | ||