Explicit_naming_wefax_NOAA_and_small_addition (#2651)

This commit is contained in:
Brumi-2021 2025-05-11 21:10:48 +02:00 committed by GitHub
parent db65ae192a
commit 61bd696b69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View file

@ -74,7 +74,7 @@ class AMFMAptOptionsView : public View {
OptionsField options_config{
{3 * 8, 0 * 16},
6, // Max option length chars "USB+FM"
17, // Max option length chars "USB+FM(Wefax Apt)"
{
// Using common messages from freqman_ui.cpp In HF USB , Here we only need USB Audio demod, + post-FM demod fsubcarrier FM tone to get APT signal.
}};
@ -143,7 +143,7 @@ class WFMAMAptOptionsView : public View {
};
OptionsField options_config{
{3 * 8, 0 * 16},
10, // Max option char length "FM+AM(DSB)"
15, // Max option char length "FM+AM(NOAA Apt)"
{
// Using common messages from freqman_ui.cpp
}};

View file

@ -81,6 +81,8 @@ WeFaxRxView::WeFaxRxView(NavigationView& nav)
};
audio::output::start();
receiver_model.set_hidden_offset(WEFAX_FREQ_OFFSET);
receiver_model.set_sampling_rate(3072000); // set the needed baseband SR.
receiver_model.set_baseband_bandwidth(1750000); // set the front-end RF BW filter.
receiver_model.enable();
txt_status.set("Waiting for signal.");

View file

@ -104,11 +104,11 @@ options_t freqman_bandwidths[6] = {
},
{
// AMFM for Wefax-
{"USB+FM", 5}, // Fixed RX demod. AM config Index 5 : USB+FM for Audio Weather fax (WFAX) tones.
{"USB+FM(Wefax Apt)", 5}, // Fixed RX demod. AM config Index 5 : USB+FM for Audio Weather fax (WFAX) tones.
},
{
// WFMAM for NOAA satellites, 137 Mhz band
{"FM+AM(DSB)", 1}, // Fixed RX demod- WFM config Index 1 : FM+AM for Audio NOAA APT ones.
{"FM+AM(NOAA Apt)", 1}, // Fixed RX demod- WFM config Index 1 : FM+AM for Audio NOAA APT ones.
},
};