mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-17 03:07:24 -05:00
Checkdown for Valid P2 Parameters
Checkdown for Valid P2 Parameters --if invalid parameters specified by user for P2 WACN, SYSID, and CC (too large) then treat same as missing parameters and skip processing P2 frames that require scrambling.
This commit is contained in:
@@ -1989,6 +1989,12 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
||||
printw (" Phase 2 Missing Parameters ");
|
||||
attron(COLOR_PAIR(3));
|
||||
}
|
||||
if (state->p2_wacn == 0xFFFFF || state->p2_sysid == 0xFFF || state->p2_cc == 0xFFF)
|
||||
{
|
||||
attron(COLOR_PAIR(2));
|
||||
printw (" Phase 2 Invalid Parameters ");
|
||||
attron(COLOR_PAIR(3));
|
||||
}
|
||||
}
|
||||
|
||||
printw ("\n");
|
||||
|
||||
Reference in New Issue
Block a user