Extend DCS code list to include 104 commonly used codes for modern radios (#2424)

This commit is contained in:
Paul Donahue
2026-07-12 06:37:37 -04:00
committed by GitHub
parent ade4dc47cd
commit 3c01c644c9

View File

@@ -29,6 +29,10 @@ import java.util.Map;
* Code values are the bit reversed integer values of the 23-bit binary sequence representation. The values are bit
* reversed for normal (N) codes and as specified in the ETSI chart for the inverted (I) codes to align with the
* transmitted format.
*
* Extended the list of codes from original 83 found in the above referenced specification to the commonly used 104 codes
* supported in most modern day radios by calculating the Golay values, applying the offset and storing the values bit
* reversed in decimal notation. - by Paul Donahue (pauldonahue) with help of MS Copilot.
*/
public enum DCSCode
{
@@ -38,9 +42,11 @@ public enum DCSCode
I026(6674454),
I031(5371929),
I032(6248474),
I036(780318),
I043(5990435),
I047(1038375),
I051(8169513),
I053(3495979),
I054(7292972),
I065(6101045),
I071(6789177),
@@ -50,11 +56,13 @@ public enum DCSCode
I114(3532876),
I115(7518285),
I116(8132686),
I122(6137938),
I125(505941),
I131(4012121),
I132(3381338),
I134(3070044),
I143(3647587),
I145(2812005),
I152(2017386),
I155(4511853),
I156(4880494),
@@ -63,23 +71,33 @@ public enum DCSCode
I172(391290),
I174(1620092),
I205(7248005),
I212(5945482),
I223(6875283),
I225(7710869),
I226(8063126),
I243(4569251),
I244(2074788),
I245(5830821),
I246(5658790),
I251(6453417),
I252(7133354),
I255(3590317),
I261(1538225),
I263(6195379),
I265(4442293),
I266(5073078),
I271(7948473),
I274(6990012),
I306(850118),
I311(3725513),
I315(7104717),
I325(1665237),
I331(2353369),
I332(2967770),
I343(2717923),
I346(3840230),
I351(964841),
I356(5548270),
I364(6838516),
I365(3082485),
I371(1411321),
@@ -90,12 +108,19 @@ public enum DCSCode
I431(7100697),
I432(6486298),
I445(8096037),
I446(7678246),
I452(5220650),
I454(5433644),
I455(1423661),
I462(3844402),
I464(2615604),
I465(6338869),
I466(7215414),
I503(3959107),
I506(3115334),
I516(4307278),
I523(2578771),
I526(3455318),
I532(932186),
I546(1698150),
I565(817525),
@@ -105,6 +130,7 @@ public enum DCSCode
I627(129431),
I631(7506329),
I632(8137114),
I645(6642085),
I654(4995500),
I662(2390450),
I664(3750324),
@@ -123,9 +149,11 @@ public enum DCSCode
N026(3411411),
N031(4984773),
N032(2887037),
N036(3935208),
N043(6425453),
N047(7474680),
N051(4852383),
N053(6950230),
N054(1706363),
N065(5639261),
N071(5115123),
@@ -135,11 +163,13 @@ public enum DCSCode
N114(1641430),
N115(5836455),
N116(3738655),
N122(2427613),
N125(5574384),
N131(5049950),
N132(2952422),
N134(1904058),
N143(6490870),
N145(5442474),
N152(2820540),
N155(5967249),
N156(3870505),
@@ -150,22 +180,31 @@ public enum DCSCode
N205(5278907),
N212(2657965),
N223(6589323),
N225(5540567),
N226(3442799),
N243(6459089),
N244(1215228),
N245(5410701),
N246(3312949),
N251(4886307),
N252(2788763),
N255(5933494),
N261(4624244),
N263(6719677),
N265(5671393),
N266(3574617),
N271(5146959),
N274(2001579),
N306(3248024),
N311(4820366),
N315(5868315),
N325(5606220),
N331(5082082),
N332(2984282),
N343(6524746),
N346(3378350),
N351(4951736),
N356(3902101),
N364(1543435),
N365(5736570),
N371(5212372),
@@ -176,12 +215,19 @@ public enum DCSCode
N431(5000475),
N432(2903971),
N445(5392623),
N446(3295831),
N452(2771705),
N454(1723301),
N455(5918420),
N462(2509486),
N464(1461234),
N465(5656195),
N466(3558459),
N503(6376222),
N506(3229946),
N516(3755713),
N523(6638962),
N526(3493526),
N532(2969144),
N546(3361740),
N565(5721880),
@@ -191,6 +237,7 @@ public enum DCSCode
N627(7655360),
N631(5032103),
N632(2935327),
N645(5426515),
N654(1756697),
N662(2543378),
N664(1494606),