Remove FACCH2 processing and add voice body processing.

This commit is contained in:
Jonathan Naylor
2018-01-30 20:41:43 +00:00
parent ba31b6d8a7
commit d8086e468c
19 changed files with 131 additions and 254 deletions

View File

@@ -79,25 +79,18 @@ bool CNXDNSACCH::decode(const unsigned char* data)
uint8_t temp2[72U];
char text[500U];
::strcpy(text, "NXDN, SACCH de-punctured: ");
unsigned int n = 0U;
unsigned int index = 0U;
for (unsigned int i = 0U; i < NXDN_SACCH_LENGTH_BITS; i++) {
if (n == PUNCTURE_LIST[index]) {
::strcat(text, "X, ");
temp2[n++] = 99U;
index++;
}
bool b = READ_BIT1(temp1, i);
temp2[n++] = b ? 1U : 0U;
::strcat(text, b ? "1, " : "0, ");
}
LogMessage(text);
CNXDNConvolution conv;
conv.start();