DSD decoder: NXDN: support for EFR vocoder only with DV serial

pull/197/head
f4exb 2018-06-25 01:05:13 +02:00
rodzic 12380d4e51
commit 5f120fb2cb
1 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -666,8 +666,9 @@ void DSDDemod::formatStatusText()
{
// 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8
// 0....5....0....5....0....5....0....5....0....5....0....5....0....5....0....5....0..
// RC cc mm llllll ssss
snprintf(m_formatStatusText, 82, "RC %02d %02X %06X %02X",
// RC r cc mm llllll ssss
snprintf(m_formatStatusText, 82, "RC %s %02d %02X %06X %02X",
getDecoder().getNXDNDecoder().isFullRate() ? "F" : "H",
getDecoder().getNXDNDecoder().getRAN(),
getDecoder().getNXDNDecoder().getMessageType(),
getDecoder().getNXDNDecoder().getLocationId(),
@ -683,9 +684,10 @@ void DSDDemod::formatStatusText()
{
// 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8
// 0....5....0....5....0....5....0....5....0....5....0....5....0....5....0....5....0..
// Rx cc mm sssss>gddddd
snprintf(m_formatStatusText, 82, "%s %02d %02X %05d>%c%05d",
// Rx r cc mm sssss>gddddd
snprintf(m_formatStatusText, 82, "%s %s %02d %02X %05d>%c%05d",
getDecoder().getNXDNDecoder().getRFChannelStr(),
getDecoder().getNXDNDecoder().isFullRate() ? "F" : "H",
getDecoder().getNXDNDecoder().getRAN(),
getDecoder().getNXDNDecoder().getMessageType(),
getDecoder().getNXDNDecoder().getSourceId(),