mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
Disable Debug Catch All UTF8 Decode on unknown PDU types;
This commit is contained in:
@@ -254,12 +254,12 @@ void p25_decode_pdu_data(dsd_opts * opts, dsd_state * state, uint8_t * input, in
|
||||
else if (sap == 48) //Tier 1 Location Service (or does it depend on the io bit?)
|
||||
utf8_to_text(state, 0, len-ptr, input+ptr); //TODO, read initial string, i.e., $GPRMC and properly decode
|
||||
|
||||
else //default catch all
|
||||
{
|
||||
if (len > ptr)
|
||||
utf8_to_text(state, 0, len-ptr, input+ptr);
|
||||
else utf8_to_text(state, 0, len, input+ptr);
|
||||
}
|
||||
// else //default catch all (debug only)
|
||||
// {
|
||||
// if (len > ptr)
|
||||
// utf8_to_text(state, 0, len-ptr, input+ptr);
|
||||
// else utf8_to_text(state, 0, len, input+ptr);
|
||||
// }
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user