Skip to content

Get latest#48

Merged
bytedreamer merged 7 commits into
l10n_developfrom
develop
Dec 31, 2025
Merged

Get latest#48
bytedreamer merged 7 commits into
l10n_developfrom
develop

Conversation

@bytedreamer
Copy link
Copy Markdown
Collaborator

No description provided.

bytedreamer and others added 7 commits November 12, 2025 12:43
Resolves issue where closing the success dialog too quickly would prevent the device from reconnecting with new communication settings. The problem was that ReconnectAfterCommunicationChange() returned immediately after calling StartConnection() and AddDevice(), which kick off background connection processes. If the dialog closed and the async chain completed too quickly, it would interrupt the connection before it could establish.

Changes:
- Add WaitUntilDeviceIsOnline() method that polls device status every 100ms with 10-second timeout
- Update ReconnectAfterCommunicationChange() to wait for connection to establish before returning
- Remove arbitrary 500ms delay from ManageViewModel as proper wait is now in service layer
- Add 4 comprehensive tests validating the new wait behavior and settings preservation
- Add test for standard Reconnect() method for completeness

The reconnection now completes successfully regardless of dialog timing. All 83 tests passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Use OSDP.Net MessageSpy for packet parsing with secure channel decryption
- Add SecurityKey property to IDeviceManagementService for tracing access
- Fix packet details display to show hex values instead of "System.Byte[]"
- Only clear trace on disconnect, preserving negotiation packets
- Add secure channel indicator badge to Monitor page

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Show Clear Text (red) when not using secure channel
- Show Encrypted - Default Key (red) when using default security key
- Show Encrypted (green) when using custom security key
- Add UsesDefaultSecurityKey property to ViewModels
- Add localization note to CLAUDE.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bytedreamer bytedreamer merged commit 44bb059 into l10n_develop Dec 31, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant