mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-10-01 17:26:40 -04:00
DSD demod: added extended search frame status
This commit is contained in:
parent
444f40b659
commit
3f7667dffa
@ -40,8 +40,9 @@ unsigned int DSDDemodBaudRates::m_rates[] = {2400, 4800};
|
|||||||
unsigned int DSDDemodBaudRates::m_nb_rates = 2;
|
unsigned int DSDDemodBaudRates::m_nb_rates = 2;
|
||||||
unsigned int DSDDemodBaudRates::m_defaultRateIndex = 1; // 4800 bauds
|
unsigned int DSDDemodBaudRates::m_defaultRateIndex = 1; // 4800 bauds
|
||||||
|
|
||||||
char DSDDemodGUI::m_frameTypes[][3] = {
|
char DSDDemodGUI::m_dpmrFrameTypes[][3] = {
|
||||||
"--", // no frame sync
|
"--", // no frame sync
|
||||||
|
"XS", // no frame - extensive search of FS2
|
||||||
"HD", // header frame
|
"HD", // header frame
|
||||||
"PY", // payload super frame not categorized yet
|
"PY", // payload super frame not categorized yet
|
||||||
"VO", // voice super frame
|
"VO", // voice super frame
|
||||||
@ -450,7 +451,7 @@ void DSDDemodGUI::formatStatusText()
|
|||||||
break;
|
break;
|
||||||
case DSDcc::DSDDecoder::DSDSyncDPMR:
|
case DSDcc::DSDDecoder::DSDSyncDPMR:
|
||||||
sprintf(m_formatStatusText, "%s CC: %04d",
|
sprintf(m_formatStatusText, "%s CC: %04d",
|
||||||
m_frameTypes[(int) m_dsdDemod->getDecoder().getDPMRDecoder().getFrameType()],
|
m_dpmrFrameTypes[(int) m_dsdDemod->getDecoder().getDPMRDecoder().getFrameType()],
|
||||||
m_dsdDemod->getDecoder().getDPMRDecoder().getColorCode());
|
m_dsdDemod->getDecoder().getDPMRDecoder().getColorCode());
|
||||||
m_signalFormat = signalFormatDPMR;
|
m_signalFormat = signalFormatDPMR;
|
||||||
break;
|
break;
|
||||||
|
@ -101,7 +101,7 @@ private:
|
|||||||
MovingAverage<Real> m_channelPowerDbAvg;
|
MovingAverage<Real> m_channelPowerDbAvg;
|
||||||
int m_tickCount;
|
int m_tickCount;
|
||||||
|
|
||||||
static char m_frameTypes[7][3];
|
static char m_dpmrFrameTypes[8][3];
|
||||||
|
|
||||||
explicit DSDDemodGUI(PluginAPI* pluginAPI, DeviceAPI *deviceAPI, QWidget* parent = NULL);
|
explicit DSDDemodGUI(PluginAPI* pluginAPI, DeviceAPI *deviceAPI, QWidget* parent = NULL);
|
||||||
virtual ~DSDDemodGUI();
|
virtual ~DSDDemodGUI();
|
||||||
|
Loading…
Reference in New Issue
Block a user