diff --git a/Readme.md b/Readme.md
index 3194edc3f..154efa1d9 100644
--- a/Readme.md
+++ b/Readme.md
@@ -185,6 +185,7 @@ For Debian Jessie or Stretch:
- DSB option for SSB
- Mute option for NFM channel
- New Broadcast FM demodulator with stereo support
+ - RDS support in Broadcast FM demodulator
Major redesign
@@ -213,7 +214,6 @@ For Debian Jessie or Stretch:
- Allow arbitrary sample rate for channelizers and demodulators (not multiple of 48 kHz). Prerequisite for polyphase channelizer
- Implement polyphase channelizer
- Level calibration
- - Enhance Broadcast FM with RDS
- Even more demods ...
Developper's notes
diff --git a/plugins/channel/bfm/bfmdemodgui.cpp b/plugins/channel/bfm/bfmdemodgui.cpp
index 65c707658..9daf0acc5 100644
--- a/plugins/channel/bfm/bfmdemodgui.cpp
+++ b/plugins/channel/bfm/bfmdemodgui.cpp
@@ -414,11 +414,11 @@ void BFMDemodGUI::channelSampleRateChanged()
void BFMDemodGUI::rdsUpdate()
{
// Quality metrics
- ui->demodQText->setText(QString::number(m_bfmDemod->getDemodQua(), 'f', 0));
- ui->decoderQText->setText(QString("%1").arg(m_bfmDemod->getDecoderQua()));
+ ui->demodQText->setText(QString("%1 %").arg(m_bfmDemod->getDemodQua(), 0, 'f', 0));
+ ui->decoderQText->setText(QString("%1 %").arg(m_bfmDemod->getDecoderQua(), 0, 'f', 0));
Real accDb = CalcDb::dbPower(std::fabs(m_bfmDemod->getDemodAcc()));
- ui->accumText->setText(QString::number(accDb, 'f', 1));
- ui->fclkText->setText(QString::number(m_bfmDemod->getDemodFclk(), 'f', 2));
+ ui->accumText->setText(QString("%1 dB").arg(accDb, 0, 'f', 1));
+ ui->fclkText->setText(QString("%1 Hz").arg(m_bfmDemod->getDemodFclk(), 0, 'f', 2));
// PI group
if (m_rdsParser.m_pi_updated)
diff --git a/plugins/channel/bfm/bfmdemodgui.ui b/plugins/channel/bfm/bfmdemodgui.ui
index 7e56ebb1f..fc661010b 100644
--- a/plugins/channel/bfm/bfmdemodgui.ui
+++ b/plugins/channel/bfm/bfmdemodgui.ui
@@ -470,7 +470,7 @@
- Dem Q
+ Dem
@@ -478,43 +478,27 @@
- 20
+ 40
0
- 20
+ 40
16777215
+
+ Demodulator (DBPSK) quality
+
- 0
+ 0 %
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
- -
-
-
-
- 10
- 0
-
-
-
-
- 10
- 16777215
-
-
-
- %
-
-
-
-
@@ -537,7 +521,7 @@
- Dec Q
+ Dec
@@ -545,43 +529,27 @@
- 20
+ 40
0
- 20
+ 40
16777215
+
+ Decoder (sync) quality
+
- 0
+ 0 %
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
- -
-
-
-
- 10
- 0
-
-
-
-
- 10
- 16777215
-
-
-
- %
-
-
-
-
@@ -612,43 +580,27 @@
- 40
+ 60
0
- 40
+ 60
16777215
+
+ Sample symbol power
+
- 0
+ 0 dB
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
- -
-
-
-
- 15
- 0
-
-
-
-
- 15
- 16777215
-
-
-
- dB
-
-
-
-
@@ -679,18 +631,21 @@
- 60
+ 80
0
- 60
+ 80
16777215
+
+ Symbol clock frequency
+
- 1187.50
+ 1187.50 Hz
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
@@ -698,23 +653,17 @@
-
-
-
+
+
+ Qt::Horizontal
+
+
- 15
- 0
+ 40
+ 20
-
-
- 15
- 16777215
-
-
-
- Hz
-
-
+
@@ -736,6 +685,9 @@
-
+
+ PI groups count
+
0
@@ -750,6 +702,9 @@
-
+
+ G0 groups count
+
0
@@ -771,6 +726,9 @@
-
+
+ G1 groups count
+
0
@@ -785,6 +743,9 @@
-
+
+ G2 groups count
+
0
@@ -806,6 +767,9 @@
-
+
+ G3 groups count
+
0
@@ -820,6 +784,9 @@
-
+
+ G4 groups count
+
0
@@ -834,6 +801,9 @@
-
+
+ G5 groups count
+
0
@@ -848,6 +818,9 @@
-
+
+ G6 groups count
+
0
@@ -855,6 +828,9 @@
-
+
+ G7 groups count
+
0
@@ -862,6 +838,9 @@
-
+
+ G8 groups count
+
0
@@ -876,6 +855,9 @@
-
+
+ G9 groups count
+
0
@@ -890,6 +872,9 @@
-
+
+ G14 groups count
+
0
@@ -914,6 +899,9 @@
16777215
+
+ PI updated
+
PI
@@ -934,6 +922,9 @@
16777215
+
+ PI hex code
+
0000
@@ -954,6 +945,9 @@
16777215
+
+ Traffic Program
+
TP
@@ -961,6 +955,9 @@
-
+
+ Program type
+
None
@@ -968,6 +965,9 @@
-
+
+ Program coverage
+
Local
@@ -985,6 +985,9 @@
16777215
+
+ Group 0 updated
+
G00
@@ -1005,6 +1008,9 @@
16777215
+
+ Program Service Name
+
........
@@ -1025,6 +1031,9 @@
16777215
+
+ Traffic Announcement
+
TA
@@ -1038,6 +1047,9 @@
16777215
+
+ Music/Speech
+
Music
@@ -1051,6 +1063,9 @@
16777215
+
+ Mono/Stereo
+
Mono
@@ -1058,6 +1073,9 @@
-
+
+ Alternate frequencies (MHz)
+