mirror of https://github.com/wb2osz/direwolf.git
log how a packet was decoded
Simple changes to modify the log messages to say whether a packet was decoded as APRS, FX.25, IL2P or AX.25. This is useful when transitioning from AX.25 to IL2P (as the OARC packet network is doing currently), as it makes it obvious why a given station isn't able to say access a BPQ node ;-) This should probably be hidden in a command line parameter, I'm easy either way, this is just a suggestion
This commit is contained in:
parent
75ccf181f9
commit
a86395c550
|
@ -1324,9 +1324,19 @@ void app_process_rec_packet (int chan, int subchan, int slice, packet_t pp, alev
|
|||
else {
|
||||
if (ax25_is_aprs(pp)) {
|
||||
text_color_set(DW_COLOR_REC);
|
||||
dw_printf("[APRS] ");
|
||||
}
|
||||
else {
|
||||
text_color_set(DW_COLOR_DECODED);
|
||||
if (is_fx25) { // really means 'FEC enabled'
|
||||
if (X_fx25_xmit_enable > 0) {
|
||||
dw_printf("[FX.25] ");
|
||||
} else {
|
||||
dw_printf("[IL2P] ");
|
||||
}
|
||||
} else {
|
||||
dw_printf("[AX.25] ");
|
||||
}
|
||||
}
|
||||
|
||||
if (audio_config.achan[chan].num_subchan > 1 && audio_config.achan[chan].num_slicers == 1) {
|
||||
|
|
Loading…
Reference in New Issue