DSheirer / sdrtrunk

A cross-platform java application for decoding, monitoring, recording and streaming trunked mobile and related radio protocols using Software Defined Radios (SDR). Website:
GNU General Public License v3.0
1.54k stars 251 forks source link

P25 Phase 2 Super Frame Detector Should Use Accurate Timestamps #665

Open DSheirer opened 4 years ago

DSheirer commented 4 years ago

The super frame detector currently uses system time to timestamp each superframe. Update the code to use received buffer timestamp as a baseline and calculate the precise time offset from the number of dibits processed from the buffer.

DSheirer commented 4 years ago

See: getCurrentTimestamp() method