00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _TONES_H
00024 #define _TONES_H 1
00025
00026
00027 #include "hamlib/rig.h"
00028
00029
00030
00031
00032
00033 #define FULL_CTCSS_LIST \
00034 600, 670, 693, 719, 744, 770, 797, 825, 854, 885, 915, \
00035 948, 974, 1000, 1035, 1072, 1109, 1148, 1188, 1200, 1230, 1273, \
00036 1318, 1365, 1413, 1462, 1514, 1567, 1598, 1622, 1655, 1679, \
00037 1713, 1738, 1773, 1799, 1835, 1862, 1899, 1928, 1966, 1995, \
00038 2035, 2065, 2107, 2181, 2257, 2291, 2336, 2418, 2503, 2541, \
00039 0,
00040
00041 static const tone_t static_full_ctcss_list[] = {
00042 FULL_CTCSS_LIST
00043 };
00044
00045
00046
00047
00048
00049
00050
00051
00052 #define COMMON_CTCSS_LIST \
00053 670, 693, 719, 744, 770, 797, 825, 854, 885, 915, \
00054 948, 974, 1000, 1035, 1072, 1109, 1148, 1188, 1230, 1273, \
00055 1318, 1365, 1413, 1462, 1514, 1567, 1598, 1622, 1655, 1679, \
00056 1713, 1738, 1773, 1799, 1835, 1862, 1899, 1928, 1966, 1995, \
00057 2035, 2065, 2107, 2181, 2257, 2291, 2336, 2418, 2503, 2541, \
00058 0,
00059
00060 static const tone_t static_common_ctcss_list[] = {
00061 COMMON_CTCSS_LIST
00062 };
00063
00064
00065
00066
00067 #define FULL_DCS_LIST \
00068 17, 23, 25, 26, 31, 32, 36, 43, 47, 50, 51, 53, \
00069 54, 65, 71, 72, 73, 74, 114, 115, 116, 122, 125, 131, \
00070 132, 134, 143, 145, 152, 155, 156, 162, 165, 172, 174, 205, \
00071 212, 223, 225, 226, 243, 244, 245, 246, 251, 252, 255, 261, \
00072 263, 265, 266, 271, 274, 306, 311, 315, 325, 331, 332, 343, \
00073 346, 351, 356, 364, 365, 371, 411, 412, 413, 423, 431, 432, \
00074 445, 446, 452, 454, 455, 462, 464, 465, 466, 503, 506, 516, \
00075 523, 526, 532, 546, 565, 606, 612, 624, 627, 631, 632, 654, \
00076 662, 664, 703, 712, 723, 731, 732, 734, 743, 754, \
00077 0,
00078
00079 static const tone_t static_full_dcs_list[] = {
00080 FULL_DCS_LIST
00081 };
00082
00083
00084
00085
00086
00087 #if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(IN_HAMLIB)
00088 #define common_ctcss_list static_common_ctcss_list
00089 #define full_ctcss_list static_full_ctcss_list
00090 #define full_dcs_list static_full_dcs_list
00091
00092 #else
00093
00094 extern const HAMLIB_EXPORT_VAR(tone_t) full_ctcss_list[];
00095 extern const HAMLIB_EXPORT_VAR(tone_t) common_ctcss_list[];
00096 extern const HAMLIB_EXPORT_VAR(tone_t) full_dcs_list[];
00097
00098 #endif
00099
00100 #endif