From 739f33dd228b11de9679f7a04584043fec95e4d0 Mon Sep 17 00:00:00 2001 From: Daniel Dugger Date: Sun, 15 Mar 2020 18:53:24 -0400 Subject: [PATCH] SW: Add TEK/KEK selection; fixes #21 --- .../KFDtool.Gui/Control/P25KeyErase.xaml | 9 +- .../KFDtool.Gui/Control/P25KeyErase.xaml.cs | 95 ++++++++++++--- .../KFDtool.Gui/Control/P25Keyload.xaml | 37 +++--- .../KFDtool.Gui/Control/P25Keyload.xaml.cs | 95 ++++++++++++--- sw/control/KFDtool.P25/KFDtool.P25.csproj | 2 +- sw/control/KFDtool.P25/Kmm/AckStatus.cs | 17 --- sw/control/KFDtool.P25/Kmm/KeyItem.cs | 17 +-- .../KFDtool.P25/Kmm/NegativeAcknowledgment.cs | 4 +- sw/control/KFDtool.P25/Kmm/OperationStatus.cs | 108 ++++++++++++++++++ .../ManualRekey/ManualRekeyApplication.cs | 48 ++++++-- .../ThreeWire/ThreeWireProtocol.cs | 2 +- .../TransferConstructs/Interact.cs | 8 +- .../KFDtool.P25/Validator/FieldValidator.cs | 31 ++++- 13 files changed, 378 insertions(+), 95 deletions(-) delete mode 100644 sw/control/KFDtool.P25/Kmm/AckStatus.cs create mode 100644 sw/control/KFDtool.P25/Kmm/OperationStatus.cs diff --git a/sw/control/KFDtool.Gui/Control/P25KeyErase.xaml b/sw/control/KFDtool.Gui/Control/P25KeyErase.xaml index 9982ef9..ba955ad 100644 --- a/sw/control/KFDtool.Gui/Control/P25KeyErase.xaml +++ b/sw/control/KFDtool.Gui/Control/P25KeyErase.xaml @@ -16,6 +16,13 @@