diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-06-05 09:09:09 +0100 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-06-05 09:09:09 +0100 |
commit | f400051582a005e4a64377c21866b6cc11eeaeec (patch) | |
tree | 77ca6f3668520316b82f6daa14837b931cd75ab5 | |
parent | a3409d5c2ed40f69e74f7d0edd25a46e1fab6668 (diff) | |
download | ADSBDecoder-f400051582a005e4a64377c21866b6cc11eeaeec.tar.gz ADSBDecoder-f400051582a005e4a64377c21866b6cc11eeaeec.zip |
Testing programm to debug decoder
-rw-r--r-- | ADSBDecoder/Decoder.swift | 8 | ||||
-rw-r--r-- | ADSBDecoder/Query.swift | 8 | ||||
-rw-r--r-- | Test/main.swift | 17 |
3 files changed, 33 insertions, 0 deletions
diff --git a/ADSBDecoder/Decoder.swift b/ADSBDecoder/Decoder.swift new file mode 100644 index 0000000..425797a --- /dev/null +++ b/ADSBDecoder/Decoder.swift @@ -0,0 +1,8 @@ +// +// Decoder.swift +// ADSBDecoder +// +// Created by Jacky Jack on 28/05/2024. +// + +import Foundation diff --git a/ADSBDecoder/Query.swift b/ADSBDecoder/Query.swift new file mode 100644 index 0000000..4906221 --- /dev/null +++ b/ADSBDecoder/Query.swift @@ -0,0 +1,8 @@ +// +// Query.swift +// ADSBDecoder +// +// Created by Jacky Jack on 31/05/2024. +// + +import Foundation diff --git a/Test/main.swift b/Test/main.swift new file mode 100644 index 0000000..8a8e001 --- /dev/null +++ b/Test/main.swift @@ -0,0 +1,17 @@ +// +// main.swift +// Test +// +// Created by Jacky Jack on 28/05/2024. +// + +import Foundation + +print("Decoder test") + +let decoder = Decoder("8d3c664c580d014ae16024650e6c") +if decoder.DataFormat == 17 { + if let d17 = decoder.getDataFormat17() { + print(d17) + } +} |