MSHV-269-Non-Gendered/src/config_band_all.h

164 lines
8.5 KiB
C
Raw Normal View History

2024-02-12 11:29:54 +11:00
#ifndef _CONFIG_BAND_ALL_H_
#define _CONFIG_BAND_ALL_H_
#define COUNT_BANDS 32
#if defined _BANDS_H_
static const QString lst_bands[COUNT_BANDS] =
{"135 kHz","472 kHz","501 kHz",
"1.8 MHz","3.5 MHz","5 MHz","7 MHz","10 MHz","14 MHz","18 MHz","21 MHz","24 MHz","28 MHz","40 MHz","50 MHz","60 MHz",
"70 MHz","144 MHz","222 MHz","432 MHz","902 MHz","1296 MHz","2320 MHz","3.4 GHz","5.65 GHz","10 GHz",
"24 GHz","47 GHz","76 GHz","120 GHz","144 GHz","248 GHz"
};
#endif
#if defined _LAMBDA_H_
static const QString lst_lambda[COUNT_BANDS] =
{"2190M","630M","560M",
"160M","80M","60M","40M","30M","20M","17M","15M","12M","10M","8M","6M","5M","4M","2M","1.25M","70CM","33CM","23CM",
"13CM","9CM","6CM","3CM","1.25CM","6MM","4MM","2.5MM","2MM","1MM"
};
#endif
#if defined _BCNBAND_H_
static const QString lst_bcnband[COUNT_BANDS] =
{"137K","472K","501K",
"1.8M","3.5M","5M","7M","10M","14M","18M","21M","24M","28M","40M","50M","60M","70M","144M","222M","432M","902M","1G3",
"2G3","3G4","5G7","10G",
"24G","47G","76G","120G","144G","248G"
};
#endif
#if defined _FREQTOBAND_H_
typedef struct
{
unsigned long long min;
unsigned long long max;
}
frq_min_max_;
/*static const frq_min_max_ freq_min_max[COUNT_BANDS] =
{
{135000, 138000},//0.137
{472000, 479000},//0.472
{501000, 504000},//0.501 //2.65 from adif 3.1.2
{1800000, 2000000},//1.8
{3500000, 4000000},//3.5
{5060000, 5450000},//5
{7000000, 7300000},//7
{10000000, 10150000},//10
{14000000, 14350000},//14
{18068000, 18168000},//18
{21000000, 21450000},//21
{24890000, 24990000},//24
{28000000, 29700000},//28
{40000000, 45000000},//40 //2.65 from adif 3.1.2
{50000000, 54000000},//50
{54000001, 69900000},//60 //2.65 from adif 3.1.2
{70000000, 71000000},//70
//{143000000, 143999999},//143 + EME radar
{144000000, 148000000},//144
{222000000, 225000000},//222
{420000000, 450000000},//432
{902000000, 928000000},//902
{1240000000, 1300000000},//1296
{2300000000, 2450000000},//2320
{3300000000, 3500000000},//3.4
{5650000000, 5925000000},//5.65
{10000000000, 10500000000},//10
{24000000000, 24250000000},//24
{47000000000, 47200000000},//47
{75500000000, 81000000000},//76
{119980000000,120020000000},//120
{142000000000,149000000000},//144
{241000000000,250000000000},//248
//{241000000000,250000000000},//248
};*/
// -2000Hz / +2000Hz v.2.68
static const frq_min_max_ freq_min_max[COUNT_BANDS] =
{
{133000, 140000},
{470000, 481000},
{499000, 506000},
{1798000, 2002000},
{3498000, 4002000},
{5058000, 5452000},
{6998000, 7302000},
{9998000, 10152000},
{13998000, 14352000},
{18066000, 18170000},
{20998000, 21452000},
{24888000, 24992000},
{27998000, 29702000},
{39998000, 45002000},
{49998000, 54000000},
{54000001, 69902000},
{69998000, 71002000},
//{143000000, 143999999},//143 + EME radar
{143998000, 148002000},
{221998000, 225002000},
{419998000, 450002000},
{901998000, 928002000},
{1239998000, 1300002000},
{2299998000, 2450002000},
{3299998000, 3500002000},
{5649998000, 5925002000},
{9999998000, 10500002000},
{23999998000, 24250002000},
{46999998000, 47200002000},
{75499998000, 81000002000},
{119979998000, 120020002000},
{141999998000, 149000002000},
{240999998000, 250000002000},
};
#endif
#if defined _BANDTOFREQ_H_
static const QString lst_bandtofrq[COUNT_BANDS] =
{"136","474","501",
"1800","3500","5300","7000","10100","14000","18100","21000","24900","28000","40000","50000",
"60000","70000","144000","220000","432000","902000","1240000","2400000","3300000","5650000",
"10000000","24000000","47000000","75500000","119980000","142000000","241000000"
};
#endif
#if defined _MODESTRFORFREQ_H_
#define COUNT_FREQ_MODES 6
static const QString ModeStrForFerq[COUNT_FREQ_MODES]=
{"MSK","FSK","FT4","FT8","JT65","Q65"
};
#endif
#if defined _ALLBANDSMODSFRQ_H_
static const QString all_bands_mods_frq[COUNT_BANDS][COUNT_FREQ_MODES] =
{
// MSK144 FSK FT4 FT8 JT65 Q65
{"136.130", "136.130", "136.130", "136.130", "136.130", "136.130"}, //137k
{"474.200", "474.200", "474.200", "474.200", "474.200", "474.200"}, //472k
{"501.000", "501.000", "501.000", "501.000", "501.000", "501.000"}, //501k
{"1.840.000", "1.840.000", "1.840.000", "1.840.000", "1.838.000", "1.838.000"}, //1.8
{"3.573.000", "3.573.000", "3.575.000", "3.573.000", "3.570.000", "3.570.000"}, //3.5
{"5.357.000", "5.357.000", "5.357.000", "5.357.000", "5.358.000", "5.358.000"}, //5
{"7.074.000", "7.074.000", "7.047.000", "7.074.000", "7.076.000", "7.076.000"}, //7
{"10.136.000", "10.136.000", "10.140.000", "10.136.000", "10.138.000", "10.138.000"}, //10
{"14.074.000", "14.074.000", "14.080.000", "14.074.000", "14.076.000", "14.076.000"}, //14
{"18.100.000", "18.100.000", "18.104.000", "18.100.000", "18.102.000", "18.102.000"}, //18
{"21.074.000", "21.074.000", "21.140.000", "21.074.000", "21.076.000", "21.076.000"}, //21
{"24.915.000", "24.915.000", "24.919.000", "24.915.000", "24.917.000", "24.917.000"}, //24
{"28.074.000", "28.074.000", "28.180.000", "28.074.000", "28.076.000", "28.076.000"}, //28
{"40.680.000", "40.680.000", "40.680.000", "40.680.000", "40.680.000", "40.680.000"}, //40
{"50.280.000", "50.230.000", "50.318.000", "50.313.000", "50.276.000", "50.305.000"}, //50 q65=50.305? old=50.276.000
{"60.074.000", "60.074.000", "60.074.000", "60.074.000", "60.074.000", "60.074.000"}, //60
{"70.280.000", "70.230.000", "70.159.000", "70.154.000", "70.102.000", "70.170.000"}, //70 q65 old 70.102
//{"143.049.000", "143.049.000", "143.049.000", "143.049.000", "143.049.000", "143.049.000"}, //143 + EME radar
{"144.360.000", "144.370.000", "144.170.000", "144.174.000", "144.170.000", "144.116.000"}, //144 q65 145.120?
{"222.065.000", "222.065.000", "222.065.000", "222.065.000", "222.065.000", "222.065.000"}, //220
{"432.300.000", "432.300.000", "432.063.000", "432.063.000", "432.065.000", "432.065.000"}, //432 q65 432.090?
{"902.065.000", "902.065.000", "902.063.000", "902.063.000", "902.065.000", "902.065.000"}, //902
{"1296.065.000", "1296.065.000", "1296.065.000", "1296.065.000", "1296.065.000", "1296.065.000"}, //1296
{"2320.065.000", "2320.065.000", "2320.065.000", "2320.065.000", "2320.065.000", "2320.065.000"}, //2320
{"3400.065.000", "3400.065.000", "3400.065.000", "3400.065.000", "3400.065.000", "3400.065.000"}, //3.4g
{"5650.065.000", "5650.065.000", "5650.065.000", "5650.065.000", "5760.065.000", "5760.200.000"}, //5.65g
{"10368.200.000", "10368.200.000", "10368.200.000", "10368.200.000", "10368.200.000", "10368.200.000"}, //10g
{"24048.200.000", "24048.200.000", "24048.200.000", "24048.200.000", "24048.200.000", "24048.200.000"}, //24g
{"47000.000.000", "47000.000.000", "47000.000.000", "47000.000.000", "47000.000.000", "47000.000.000"}, //47g
{"76000.000.000", "76000.000.000", "76000.000.000", "76000.000.000", "76000.000.000", "76000.000.000"}, //76g
{"120000.000.000","120000.000.000","120000.000.000","120000.000.000","120000.000.000","120000.000.000"}, //120g
{"144000.000.000","144000.000.000","144000.000.000","144000.000.000","144000.000.000","144000.000.000"}, //144g
{"248000.000.000","248000.000.000","248000.000.000","248000.000.000","248000.000.000","248000.000.000"}, //248g
};
#endif
#endif