Allow synonyms for localhost
[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
17
18 %bands = (
19                   '73khz' => bless ( { band => [71, 75],
20                                                          }, 'Bands'),
21                       
22                   '136khz' => bless ( { band => [135, 138],
23                                                           }, 'Bands'),
24
25                   '500khz' => bless ( { band => [493, 525],
26                                                           }, 'Bands'),
27
28                   '160m' => bless( { band => [ 1800, 2000 ], 
29                                                          cw => [ 1800, 1838 ], 
30                                                          rtty => [ 1838, 1841 ],
31                                                          data => [ 1838, 1843],
32                                                          ssb => [ 1831, 2000] 
33                                                    }, 'Bands'),
34
35                   '80m' => bless( { band => [ 3500, 4000 ], 
36                                                         cw => [ 3500, 3600 ], 
37                                                         data => [ 3580, 3619 ], 
38                                                         rtty => [ 3580, 3619 ], 
39                                                         sstv => [ 3730, 3740 ], 
40                                                         ssb => [ 3601, 4000 ]  
41                                                   }, 'Bands'),
42
43                   '60m' => bless( { band => [ 5100, 5410],
44                                                         ssb => [5300, 5410],
45                                 }, 'Bands' ),
46
47                   '40m' => bless( { band => [ 7000, 7400 ], 
48                                                         cw => [ 7000, 7040 ],
49                                                         data => [ 7040, 7100],
50                                                         rtty => [ 7040, 7060],
51                                                         ssb => [ 7050, 7400 ]
52                                                   }, 'Bands'),
53
54                   '30m' => bless( { band => [ 10100, 10150 ], 
55                                                         cw => [ 10000, 10140 ], 
56                                                         data => [ 10141, 10149 ] ,
57                                                         rtty => [ 10141, 10149 ] 
58                                                   }, 'Bands'),
59                   
60                   '20m' => bless( { band => [ 14000, 14350 ], 
61                                                         cw => [ 14000, 14100 ], 
62                                                         ssb => [ 14101, 14350 ], 
63                                                         beacon => [ 14099, 14100 ],
64                                                         sstv => [ 14225, 14235 ],
65                                                         data => [ 14070, 14098, 14101, 14111 ],
66                                                         rtty => [ 14070, 14098, 14101, 14111 ],
67                                                   }, 'Bands'),
68
69                   '17m' => bless( { band => [ 18068, 18168 ], 
70                                                         cw => [ 18068, 18100 ], 
71                                                         ssb => [ 18111, 18168 ], 
72                                                         data => [ 18101, 18108], 
73                                                         rtty => [ 18101, 18108], 
74                                                         beacon => [ 18109, 18110] 
75                                                   }, 'Bands'),
76
77                   '15m' => bless( { band => [ 21000, 21450 ], 
78                                                         cw => [ 21000, 21150 ], 
79                                                         data => [ 21070, 21119 ], 
80                                                         rtty => [ 21070, 21119 ], 
81                                                         ssb => [ 21151, 21450] 
82                                                   }, 'Bands'),
83
84                   '12m' => bless( { band => [ 24890, 24990 ], 
85                                                         cw => [ 24890, 24930 ], 
86                                                         ssb => [ 24931, 24990], 
87                                                         rtty => [ 24920, 24929], 
88                                                         data => [ 24920, 24929], 
89                                                   }, 'Bands'),
90
91
92                   '10m' => bless( { band => [ 28000, 29700 ], 
93                                                         cw => [ 28000, 28198 ], 
94                                                         data => [ 28050, 28149, 29200, 29299 ], 
95                                                         rtty => [ 28050, 28149 ], 
96                                                         space => [ 29200, 29300 ],
97                                                         ssb => [ 28201, 29299, 29550, 29700] 
98                                                   }, 'Bands'),
99
100                   '6m' => bless( { band => [50000, 52000],
101                                                    cw => [50000, 50100],
102                                                    ssb => [50100, 50500],
103                                                  }, 'Bands'),
104
105                   '4m' => bless( { band => [70000, 70631],
106                                                    cw => [70030, 70250],
107                                                    ssb => [70030, 70250],
108                                                  }, 'Bands'),
109
110                   '2m' => bless( { band => [144000, 148000],
111                                                    cw => [144000, 144150],
112                                                    ssb => [144150, 144500]
113                                                  }, 'Bands'),
114
115                   '220' => bless( { band => [220000, 222000],
116                                                   }, 'Bands'),
117
118                   '70cm' => bless( { band => [430000, 450000],
119                                                          cw => [432000, 432150],
120                                                          ssb => [432150, 432500],
121                                                    }, 'Bands'),
122
123                   '23cm' => bless( { band => [ 1240000, 1325000],
124                                                          cw => [1296000, 1296150],
125                                                          ssb => [1296150, 1296800],
126                                                    }, 'Bands'),
127
128                   '13cm' => bless( { band => [2310000, 2450000],
129                                                          cw => [2320100, 2320150],
130                                                          ssb => [2320150, 2320800],
131                                                    }, 'Bands'),
132
133                   '9cm' => bless( { band => [3400000, 3475000],
134                                                         cw => [3400000, 3402000],
135                                                         ssb => [3400000, 3402000],
136                                                   }, 'Bands'),
137
138                   '6cm' => bless( { band => [5650000, 5850000],
139                                                         cw => [5668000, 5670000, 5760000, 5762000],
140                                                         ssb => [5668000, 5670000, 5760000, 5762000],
141                                                   }, 'Bands'),
142
143                   '3cm' => bless( { band => [10000000, 10500000],
144                                                         cw => [10368000,10370000, 10450000, 10452000],
145                                                         ssb => [10368000,10370000, 10450000, 10452000],
146                                                   }, 'Bands'),
147
148                   '12mm' => bless( { band => [24000000, 24250000],
149                                                          cw => [24048000, 24050000],
150                                                          ssb => [24048000, 24050000],
151                                                    }, 'Bands'),
152     
153                   '6mm' => bless( { band => [47000000, 47200000],
154                                                         cw => [47087000, 47089000],
155                                                         ssb => [47087000, 47089000],
156                                                   }, 'Bands'),
157                   '4mm' => bless( { band => [75500000, 81000000], 
158                                                   }, 'Bands'), 
159
160                   'band1' => bless ( { band => [47000, 49999, 52000, 68000],
161                                                          }, 'Bands'),
162                       
163                   'band2' => bless ( { band => [87500, 108000],
164                                                          }, 'Bands'),
165                       
166                   'band3' => bless ( { band => [176000, 230000],
167                                                          }, 'Bands'),
168                       
169                   'band4' => bless ( { band => [471000, 550000],
170                                                          }, 'Bands'),
171                       
172                   'band5' => bless ( { band => [550000, 868000],
173                                                          }, 'Bands'),
174
175                   'military' => bless ( { band => [29700, 50000, 230000, 420000],
176                                                                 }, 'Bands'),
177                     
178                   'aircraft' => bless ( { band => [108000, 137500],
179                                                                 }, 'Bands'),
180    
181                   'pmrlow' => bless ( { band => [68000, 87500],
182                                                           }, 'Bands'),
183                       
184                   'pmrmid' => bless ( { band => [138000, 165000],
185                                                           }, 'Bands'),
186
187                   'pmrhigh' => bless ( { band => [165000, 174000],
188                                                            }, 'Bands'),
189
190                   'pmruhf' => bless ( { band => [425000, 430000, 440000, 471000],
191                                                           }, 'Bands'),
192                    hf => bless ( { band => [1800, 29999], }, 'Bands'), 
193                    vhf => bless ( { band => [30000, 299999], }, 'Bands'), 
194                  );
195
196 #
197 # the list of regions
198 #
199 # this list is so that users can say 'vhf/ssb' instead of '6m/ssb, 4m/sbb, 2m/ssb'
200 # just shortcuts really
201 #
202 # DO make sure that the label exists in %bands!
203 #
204
205 %regions = (
206                         vlf => [qw( 73khz 136khz 500khz )],
207                         hf => [qw( 160m 80m 60m 40m 30m 20m 17m 15m 12m 10m )],
208                         contesthf => [qw( 160m 80m 40m 20m 15m 10m )],
209                         vhf => [qw( 6m 4m 2m 220 )],
210                         vhfradio => [qw( band1 band2 )],
211                         vhftv => [qw( band1 band3 )],
212                         uhf => [qw( 70cm 23cm )],
213                         uhftv => [qw( band4 band5 )],
214                         shf => [qw( 23cm 13cm 9cm 6cm 3cm )],
215                         pmr => [qw( pmrlow pmrmid pmrhigh pmruhf )],
216                         spe => [qw( 10m 6m 4m 2m )],
217                         warc => [qw( 60m 30m 17m 12m )],
218                         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 )],
219                    );  
220