DMR: Rework PDU Assembly;

This commit is contained in:
lwvmobile
2025-02-22 22:50:53 -05:00
parent d8df5ceab5
commit f6f5380df4
4 changed files with 70 additions and 91 deletions

View File

@@ -50,7 +50,7 @@ void dmr_sd_pdu (dsd_opts * opts, dsd_state * state, uint16_t len, uint8_t * DMR
// if (DMR_PDU[0] == 0x01) //may not be needed now, unknown
{
utf8_to_text(len, DMR_PDU+23);
dmr_locn(opts, state, len, DMR_PDU); //may need to figure out the actual len of each block?
dmr_locn(opts, state, len, DMR_PDU);
}
}
@@ -308,7 +308,7 @@ void dmr_lrrp (dsd_opts * opts, dsd_state * state, uint16_t len, uint32_t source
//TODO: Needs more fixing, finding some things like report 0x12 with only partial updates on it
//debug passed LRRP message
fprintf (stderr, "\n LRRP (DEBUG): ");
fprintf (stderr, "\n LRRP (Debug): ");
for (uint16_t i = 0; i < len; i++)
fprintf (stderr, "%02X ", DMR_PDU[i]);