Commit Graph

15 Commits

Author SHA1 Message Date
6d2819a860 Add network adapter selection for TFTP server
- Implement `get_network_adapters()` function to dynamically retrieve available network interfaces
- Replace IP address entry with a combobox for network adapter selection
- Add "Update" button to refresh network adapter list
- Improve IP address validation and error handling for TFTP server configuration
- Enhance UI with more user-friendly network interface selection
2025-02-16 03:34:57 +03:00
a252a0f153 Prevent duplicate TFTP server log messages and improve state tracking
- Add filtering mechanism to prevent repeated server start/stop log entries
- Implement state tracking flags to manage server status
- Remove redundant log messages in both ComConfigCopy.py and TFTPServer.py
- Enhance log callback to avoid unnecessary logging of server state changes
2025-02-16 03:31:32 +03:00
3126811f09 Improve TFTP server shutdown and error handling
- Enhance server stop mechanism with more robust socket and thread management
- Add better handling of active transfers during server shutdown
- Implement additional safety checks and timeout handling
- Improve logging and error reporting for server stop process
- Prevent potential deadlocks and resource leaks during server termination
2025-02-16 03:28:53 +03:00
f1ca31c198 Enhance TFTP server implementation with advanced monitoring and UI improvements
- Completely refactor TFTP server implementation with more robust file transfer handling
- Add detailed transfer tracking with active transfers table
- Implement periodic transfer status updates
- Improve log and UI layout for TFTP server tab
- Add more granular error handling and logging
- Enhance threading and socket management for file transfers
2025-02-16 03:19:44 +03:00
299ce329f7 Add TFTP server functionality to the application
- Implement TFTP server tab with IP and port configuration
- Create methods to start and stop TFTP server
- Add logging functionality for TFTP server events
- Integrate TFTPServer class into the main application
- Re-enable Firmware directory creation
2025-02-16 02:51:47 +03:00
ece18aea4d Add About window to application menu
- Import and integrate AboutWindow class
- Create new "Help" menu with "About Program" option
- Add `open_about()` method to display About window
- Enhance application's help and information accessibility
2025-02-16 02:24:40 +03:00
625b6d5558 Improve first-run detection and settings initialization
- Enhance `settings_load()` function to handle missing settings and parameters
- Improve first-run detection in `check_first_run()` method
- Add more robust settings file validation
- Remove unused imports
- Simplify and clean up code comments
2025-02-16 02:04:04 +03:00
f089edba8b Refactor settings tab and add dedicated settings window
- Create a new `SettingsWindow` class for managing application settings
- Simplify the settings tab in the main application
- Add first-run detection and settings configuration prompt
- Improve settings management with centralized save and load methods
- Update menu to include settings option
- Enhance user experience with more intuitive settings interface
2025-02-14 23:47:47 +03:00
dc7b3e0eb3 Simplify comment for Tkinter GUI section
- Remove unnecessary description from GUI section comment
- Keep the comment concise and focused on the section's purpose
2025-02-14 03:53:55 +03:00
1ffda28b09 Disable TFTP server functionality and add global copy-paste keybindings
- Comment out TFTP server-related code and imports
- Remove TFTP server tab from the application
- Add global copy, paste, and cut keybindings for Text and Entry widgets
- Remove Firmware directory creation
2025-02-14 03:25:22 +03:00
029371fa68 Enhance error handling and retry mechanism for command execution
- Add a new `send_login_password()` function to centralize login/password input logic
- Implement retry mechanism for both line and block command modes
- Add support for detecting and handling command errors (marked by '^' symbol)
- Limit retry attempts to 3 times for each command
- Improve logging and error reporting for command execution
- Update interactive command processing in SerialAppGUI to include retry logic
2025-02-14 02:47:39 +03:00
3d0b0b68d1 Add detailed comments to default settings dictionary in settings_load() function 2025-02-14 02:26:35 +03:00
c22395ae56 Add initial comments and docstrings to ComConfigCopy.py 2025-02-14 02:06:39 +03:00
b1392d1ce6 Добавление описание в начале кода 2025-02-14 02:04:09 +03:00
e6e16adf6b Первый коммит, тест <3 2025-02-14 01:59:59 +03:00