kopia lustrzana https://github.com/f4exb/sdrangel
DSD demod: added extended search frame status
rodzic
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_defaultRateIndex = 1; // 4800 bauds
|
||||
|
||||
char DSDDemodGUI::m_frameTypes[][3] = {
|
||||
char DSDDemodGUI::m_dpmrFrameTypes[][3] = {
|
||||
"--", // no frame sync
|
||||
"XS", // no frame - extensive search of FS2
|
||||
"HD", // header frame
|
||||
"PY", // payload super frame not categorized yet
|
||||
"VO", // voice super frame
|
||||
|
@ -450,7 +451,7 @@ void DSDDemodGUI::formatStatusText()
|
|||
break;
|
||||
case DSDcc::DSDDecoder::DSDSyncDPMR:
|
||||
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_signalFormat = signalFormatDPMR;
|
||||
break;
|
||||
|
|
|
@ -101,7 +101,7 @@ private:
|
|||
MovingAverage<Real> m_channelPowerDbAvg;
|
||||
int m_tickCount;
|
||||
|
||||
static char m_frameTypes[7][3];
|
||||
static char m_dpmrFrameTypes[8][3];
|
||||
|
||||
explicit DSDDemodGUI(PluginAPI* pluginAPI, DeviceAPI *deviceAPI, QWidget* parent = NULL);
|
||||
virtual ~DSDDemodGUI();
|
||||
|
|
Ładowanie…
Reference in New Issue