NXDN: Revert Dibit Collection;

NXDN: Minor Tweak to STD-T102 Message Types;
This commit is contained in:
lwvmobile
2026-02-01 20:58:41 -05:00
parent 034855069a
commit 5af38d3563
2 changed files with 10 additions and 10 deletions

View File

@@ -114,10 +114,10 @@ void nxdn_message_type (dsd_opts * opts, dsd_state * state, uint8_t MessageType)
//PROP_FORM handled by checkdown for ALIAS or other
else if (MessageType == 0x3F) {}
//ARIB STD-T102 第 2 編 w/ F1 on, F2 off //NOTE: These three are handled by dcr_sacch internally
// else if (MessageType == 0x81) fprintf(stderr, " VCALL"); //音声通信
// else if (MessageType == 0x88) fprintf(stderr, " TX_REL"); //終話
// else if (MessageType == 0x90) fprintf(stderr, " IDLE"); //アイドル
//ARIB STD-T102 第 2 編 w/ F1 on, F2 off //NOTE: These three are handled by dcr_sacch internally, but idle may still hit on sacch
else if (MessageType == 0x81) {} //fprintf(stderr, " VCALL"); //音声通信
else if (MessageType == 0x88) {} //fprintf(stderr, " TX_REL"); //終話
else if (MessageType == 0x90) {} //fprintf(stderr, " IDLE"); //アイドル
//observed from #318 and found in ARIB STD-B54, F1 and flags on (p. 22) listed in table order
else if (MessageType == 0xE1) fprintf(stderr, " VCALL_STD_B54"); //選択呼出音声通信

View File

@@ -298,17 +298,17 @@ void nxdn_frame (dsd_opts * opts, dsd_state * state)
break;
} // end of switch(lich)
//collect remaining dibits at this point (before bad frame skip)
for (int i = 0; i < 174; i++) //192total-10FSW-8lich = 174
dbuf[i+8] = getDibit(opts, state);
// //collect remaining dibits at this point (before bad frame skip)
// for (int i = 0; i < 174; i++) //192total-10FSW-8lich = 174
// dbuf[i+8] = getDibit(opts, state);
//go to end if bad returns from earlier
if (state->lastsynctype == -1)
goto END;
// //collect remaining dibits at this point (after bad frame skip)
// for (int i = 0; i < 174; i++) //192total-10FSW-8lich = 174
// dbuf[i+8] = getDibit(opts, state);
//collect remaining dibits at this point (after bad frame skip)
for (int i = 0; i < 174; i++) //192total-10FSW-8lich = 174
dbuf[i+8] = getDibit(opts, state);
//enable these after good lich parity and known lich value
state->carrier = 1;