958c3bae6f3b10e1f053ba262ca9d55b83306a70
[spider.git] / data / bands.pl
1
2 # this is the file which defines all the bands that are allowed in the system
3 #
4 # each entry can contain an arbitrary no of entries. 
5 #
6 # an entry can have an arbitrary no of PAIRS of frequencies, 
7 # these pairs attach themselves to the labels you provide, they are
8 # independant of any other pair, they can overlap, cross etc. 
9 #
10 # There MUST be at last a 'band' entry
11 #
12 # It is up to YOU to make sure that it makes sense!
13 #
14 # ALL the labels MUST BE in lower case.
15 #
16 # Band names change (or I got them wrong in the first place), DO NOT CHANGE THE BAND NAMES
17 # THAT I USED. If you do then expect to get complaints. Instead just alias then just alias
18 # them to what you think they should be.
19 #
20 # WARNING: if aliasing, the band alias must be declared AFTER the original.
21 #
22 # See '550khz' and '630m' as an exemplar.
23
24
25
26 %bands = (
27                   '73khz' => bless ( { band => [71, 75],
28                                                          }, 'Bands'),
29                       
30                   '136khz' => bless ( { band => [135, 138],
31                                                           }, 'Bands'),
32
33                   '500khz' => bless ( { band => [472, 479],
34                                                           }, 'Bands'),
35
36                   '160m' => bless( { band => [ 1800, 2000 ], 
37                                                          cw => [ 1800, 1840 ], 
38                                                          rtty => [ 1838, 1841 ],
39                                                          data => [ 1838, 1843],
40                                                          ssb => [ 1831, 2000] 
41                                                    }, 'Bands'),
42
43                   '80m' => bless( { band => [ 3500, 4000 ], 
44                                                         cw => [ 3500, 3600 ], 
45                                                         data => [ 3570, 3619 ], 
46                                                         rtty => [ 3580, 3619 ], 
47                                                         sstv => [ 3730, 3740 ], 
48                                                         ssb => [ 3601, 4000 ]  
49                                                   }, 'Bands'),
50
51                   '60m' => bless( { band => [ 5100, 5410],
52                                                         ssb => [5300, 5410],
53                                 }, 'Bands' ),
54
55                   '40m' => bless( { band => [ 7000, 7300 ], 
56                                                         cw => [ 7000, 7040 ],
57                                                         data => [ 7040, 7100],
58                                                         rtty => [ 7040, 7060],
59                                                         ssb => [ 7050, 7300 ]
60                                                   }, 'Bands'),
61
62                   '30m' => bless( { band => [ 10100, 10150 ], 
63                                                         cw => [ 10000, 10140 ], 
64                                                         data => [ 10141, 10149 ] ,
65                                                         rtty => [ 10141, 10149 ] 
66                                                   }, 'Bands'),
67                   
68                   '20m' => bless( { band => [ 14000, 14350 ], 
69                                                         cw => [ 14000, 14100 ], 
70                                                         ssb => [ 14101, 14350 ], 
71                                                         beacon => [ 14099, 14100 ],
72                                                         sstv => [ 14225, 14235 ],
73                                                         data => [ 14070, 14098, 14101, 14111 ],
74                                                         rtty => [ 14070, 14098, 14101, 14111 ],
75                                                   }, 'Bands'),
76
77                   '17m' => bless( { band => [ 18068, 18168 ], 
78                                                         cw => [ 18068, 18100 ], 
79                                                         ssb => [ 18111, 18168 ], 
80                                                         data => [ 18101, 18108], 
81                                                         rtty => [ 18101, 18108], 
82                                                         beacon => [ 18109, 18110] 
83                                                   }, 'Bands'),
84
85                   '15m' => bless( { band => [ 21000, 21450 ], 
86                                                         cw => [ 21000, 21150 ], 
87                                                         data => [ 21070, 21119 ], 
88                                                         rtty => [ 21070, 21119 ], 
89                                                         ssb => [ 21151, 21450] 
90                                                   }, 'Bands'),
91
92                   '12m' => bless( { band => [ 24890, 24990 ], 
93                                                         cw => [ 24890, 24930 ], 
94                                                         ssb => [ 24931, 24990], 
95                                                         rtty => [ 24920, 24929], 
96                                                         data => [ 24920, 24929], 
97                                                   }, 'Bands'),
98
99
100                   '10m' => bless( { band => [ 28000, 29700 ], 
101                                                         cw => [ 28000, 28198 ], 
102                                                         data => [ 28050, 28149, 29200, 29299 ], 
103                                                         rtty => [ 28050, 28149 ], 
104                                                         space => [ 29200, 29300 ],
105                                                         ssb => [ 28201, 29299, 29550, 29700] 
106                                                   }, 'Bands'),
107
108                   '6m' => bless( { band => [50000, 52000],
109                                                    cw => [50000, 50100],
110                                                    ssb => [50100, 50500],
111                                                  }, 'Bands'),
112
113                   '4m' => bless( { band => [70000, 70631],
114                                                    cw => [70030, 70250],
115                                                    ssb => [70030, 70250],
116                                                  }, 'Bands'),
117
118                   '2m' => bless( { band => [144000, 148000],
119                                                    cw => [144000, 144150],
120                                                    ssb => [144150, 144500]
121                                                  }, 'Bands'),
122
123                   '220' => bless( { band => [220000, 222000],
124                                                   }, 'Bands'),
125
126                   '70cm' => bless( { band => [430000, 450000],
127                                                          cw => [432000, 432150],
128                                                          ssb => [432150, 432500],
129                                                    }, 'Bands'),
130
131                   '23cm' => bless( { band => [ 1240000, 1325000],
132                                                          cw => [1296000, 1296150],
133                                                          ssb => [1296150, 1296800],
134                                                    }, 'Bands'),
135
136                   '13cm' => bless( { band => [2310000, 2450000],
137                                                          cw => [2320100, 2320150],
138                                                          ssb => [2320150, 2320800],
139                                                    }, 'Bands'),
140
141                   '9cm' => bless( { band => [3400000, 3475000],
142                                                         cw => [3400000, 3402000],
143                                                         ssb => [3400000, 3402000],
144                                                   }, 'Bands'),
145
146                   '6cm' => bless( { band => [5650000, 5850000],
147                                                         cw => [5668000, 5670000, 5760000, 5762000],
148                                                         ssb => [5668000, 5670000, 5760000, 5762000],
149                                                   }, 'Bands'),
150
151                   '3cm' => bless( { band => [10000000, 10500000],
152                                                         cw => [10368000,10370000, 10450000, 10452000],
153                                                         ssb => [10368000,10370000, 10450000, 10452000],
154                                                   }, 'Bands'),
155
156                   '12mm' => bless( { band => [24000000, 24250000],
157                                                          cw => [24048000, 24050000],
158                                                          ssb => [24048000, 24050000],
159                                                    }, 'Bands'),
160     
161                   '6mm' => bless( { band => [47000000, 47200000],
162                                                         cw => [47087000, 47089000],
163                                                         ssb => [47087000, 47089000],
164                                                   }, 'Bands'),
165
166                   '4mm' => bless( { band => [75500000, 81000000], 
167                                                   }, 'Bands'), 
168
169                   '122g' => bless( { band => [122250000, 123000000], 
170                                                   }, 'Bands'), 
171
172                   '134g' => bless( { band => [134000000, 141000000],
173                                                    }, 'Bands'),
174
175                   '248g' => bless( { band => [241000000, 250000000], 
176                                                   }, 'Bands'), 
177
178                   
179                   'band1' => bless ( { band => [47000, 49999, 52000, 68000],
180                                                          }, 'Bands'),
181                       
182                   'band2' => bless ( { band => [87500, 108000],
183                                                          }, 'Bands'),
184                       
185                   'band3' => bless ( { band => [176000, 230000],
186                                                          }, 'Bands'),
187                       
188                   'band4' => bless ( { band => [471000, 550000],
189                                                          }, 'Bands'),
190                       
191                   'band5' => bless ( { band => [550000, 868000],
192                                                          }, 'Bands'),
193
194                   'military' => bless ( { band => [29700, 50000, 230000, 420000],
195                                                                 }, 'Bands'),
196                     
197                   'aircraft' => bless ( { band => [108000, 137500],
198                                                                 }, 'Bands'),
199    
200                   'pmrlow' => bless ( { band => [68000, 87500],
201                                                           }, 'Bands'),
202                       
203                   'pmrmid' => bless ( { band => [138000, 165000],
204                                                           }, 'Bands'),
205
206                   'pmrhigh' => bless ( { band => [165000, 174000],
207                                                            }, 'Bands'),
208
209                   'pmruhf' => bless ( { band => [425000, 430000, 440000, 471000],
210                                                           }, 'Bands'),
211                    hf => bless ( { band => [1800, 29999], }, 'Bands'), 
212                    vhf => bless ( { band => [30000, 299999], }, 'Bands'), 
213                  );
214
215 #
216 # fix up some aliases
217 #
218
219 $bands{'630m'} => $bands{'500khz'};
220 $bands{'24g'} => $bands{'12mm'};
221 $bands{'47g'} => $bands{'6mm'};
222 $bands{'76g'} => $bands{'4mm'};
223
224
225
226 #
227 # the list of regions
228 #
229 # this list is so that users can say 'vhf/ssb' instead of '6m/ssb, 4m/sbb, 2m/ssb'
230 # just shortcuts really
231 #
232 # DO make sure that the label exists in %bands!
233 #
234
235 %regions = (
236                         vlf => [qw( 73khz 136khz 500khz )],
237                         hf => [qw( 160m 80m 60m 40m 30m 20m 17m 15m 12m 10m )],
238                         contesthf => [qw( 160m 80m 40m 20m 15m 10m )],
239                         vhf => [qw( 6m 4m 2m 220 )],
240                         vhfradio => [qw( band1 band2 )],
241                         vhftv => [qw( band1 band3 )],
242                         uhf => [qw( 70cm 23cm )],
243                         uhftv => [qw( band4 band5 )],
244                         shf => [qw( 23cm 13cm 9cm 6cm 3cm )],
245                         pmr => [qw( pmrlow pmrmid pmrhigh pmruhf )],
246                         spe => [qw( 10m 6m 4m 2m )],
247                         warc => [qw( 60m 30m 17m 12m )],
248                         all => [qw( 73khz 136khz 160m 80m 60m 40m 30m 20m 17m 15m 12m 10m 6m 4m 2m 220 70cm 23cm 9cm 6cm 3cm 12mm 6mm )],
249                    );  
250