change example FSK settings to more sensible values, set Variable packet type as default for FSK and MSK

This commit is contained in:
2026-02-27 21:30:13 +01:00
parent 757111afda
commit 085e791ec6
4 changed files with 5 additions and 5 deletions

View File

@@ -37,8 +37,8 @@ async fn main(_spawner: Spawner) {
fsk.configure(&FskConfig {
frequency: 868_100_000,
bitrate: Bitrate::Custom(600),
fdev: FreqDev::Hz(32_000),
bandwidth: Bandwidth::Bw78_2kHz, // >= 2 * (32000 + 600/2) = 64.6 kHz
fdev: FreqDev::Hz(380),
bandwidth: Bandwidth::Bw4_8kHz, // >= 2 * (380 + 600/2) = 1.36kHz
pa: PaSelection::HighPower,
power_dbm: 22,
..Default::default()

View File

@@ -37,7 +37,7 @@ async fn main(_spawner: Spawner) {
fsk.configure(&FskConfig {
frequency: 868_100_000,
bitrate: Bitrate::Custom(600),
fdev: FreqDev::Hz(32_000),
fdev: FreqDev::Hz(380),
pa: PaSelection::HighPower,
power_dbm: 22,
..Default::default()