From 46a3b6081048dcdecbc70632dd2ba87db9a50075 Mon Sep 17 00:00:00 2001 From: firealarmss Date: Sun, 9 Mar 2025 00:55:26 -0600 Subject: [PATCH] Add more delay to release on DVM --- WhackerLinkConsoleV2/MainWindow.xaml.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/WhackerLinkConsoleV2/MainWindow.xaml.cs b/WhackerLinkConsoleV2/MainWindow.xaml.cs index f0da1ff..d61b829 100644 --- a/WhackerLinkConsoleV2/MainWindow.xaml.cs +++ b/WhackerLinkConsoleV2/MainWindow.xaml.cs @@ -707,7 +707,7 @@ namespace WhackerLinkConsoleV2 { PeerSystem handler = _fneSystemManager.GetFneSystem(system.Name); - channel.txStreamId = handler.NewStreamId(); + await Task.Delay(4000); handler.SendP25TDU(UInt32.Parse(system.Rid), UInt32.Parse(cpgChannel.Tgid), false); } @@ -858,6 +858,9 @@ namespace WhackerLinkConsoleV2 } else { PeerSystem handler = _fneSystemManager.GetFneSystem(system.Name); + + await Task.Delay(3000); + handler.SendP25TDU(UInt32.Parse(system.Rid), UInt32.Parse(cpgChannel.Tgid), false); Dispatcher.Invoke(() => @@ -2026,7 +2029,7 @@ namespace WhackerLinkConsoleV2 return; } - if (channel.algId != cpgChannel.GetAlgoId() && channel.algId != P25Defines.P25_ALGO_UNENCRYPT) + if ((channel.algId != cpgChannel.GetAlgoId() || channel.kId != cpgChannel.GetKeyId()) && channel.algId != P25Defines.P25_ALGO_UNENCRYPT) continue; int count = 0;