11m support

pull/27/head
accius 4 days ago
parent a462427b0d
commit 976db065ca

@ -369,6 +369,7 @@ app.get('/api/stats', (req, res) => {
else if (freq >= 18068 && freq <= 18168) band = '17m'; else if (freq >= 18068 && freq <= 18168) band = '17m';
else if (freq >= 21000 && freq <= 21450) band = '15m'; else if (freq >= 21000 && freq <= 21450) band = '15m';
else if (freq >= 24890 && freq <= 24990) band = '12m'; else if (freq >= 24890 && freq <= 24990) band = '12m';
else if (freq >= 26500 && freq <= 27500) band = '11m'; // CB band
else if (freq >= 28000 && freq <= 29700) band = '10m'; else if (freq >= 28000 && freq <= 29700) band = '10m';
else if (freq >= 50000 && freq <= 54000) band = '6m'; else if (freq >= 50000 && freq <= 54000) band = '6m';

File diff suppressed because it is too large Load Diff

@ -47,6 +47,7 @@ const HF_BANDS = {
'17m': 18.1, '17m': 18.1,
'15m': 21.1, '15m': 21.1,
'12m': 24.9, '12m': 24.9,
'11m': 27.0, // CB band (26.965-27.405 MHz)
'10m': 28.1 '10m': 28.1
// Note: 6m (50 MHz) excluded - outside P.533 HF range (2-30 MHz) // Note: 6m (50 MHz) excluded - outside P.533 HF range (2-30 MHz)
}; };

@ -2060,8 +2060,8 @@ app.get('/api/propagation', async (req, res) => {
} }
// ===== FALLBACK: Built-in calculations ===== // ===== FALLBACK: Built-in calculations =====
const bands = ['160m', '80m', '40m', '30m', '20m', '17m', '15m', '12m', '10m', '6m']; const bands = ['160m', '80m', '40m', '30m', '20m', '17m', '15m', '12m', '11m', '10m', '6m'];
const bandFreqs = [1.8, 3.5, 7, 10, 14, 18, 21, 24, 28, 50]; const bandFreqs = [1.8, 3.5, 7, 10, 14, 18, 21, 24, 27, 28, 50];
// Generate predictions (hybrid or fallback) // Generate predictions (hybrid or fallback)
const effectiveIonoData = hasValidIonoData ? ionoData : null; const effectiveIonoData = hasValidIonoData ? ionoData : null;

Loading…
Cancel
Save

Powered by TurnKey Linux.