-Separates USB timeout event processing to a dedicated thread
-Updates USB transfer buffer processor to better detect errors and auto-restart on error (max 3 times)
-Updates Tuner to add an error state and SourceManager to not select tuners with an error state
-Updates ChannelProcessingManager to auto-shutdown channels sourced from tuners set with error state
-Improves logging of USB related errors.
* Updates gradle to 5.1.1
* Updated to run application from intellij using installed Java 11.
Resolves issues with Java 9 deprecations.
* Updates gradle build dependencies and other deprecation issues.
* Updates gradle to produce OS-specific builds.
* Updates the beryx runtime plugin to 1.1.1 to resolve issue with zipping
each of the target distributions.
* Import cleanup
* Resolves issue with Look and Feel error on Max OSX
Resolves issue with building OSX package
Resolves issue with excessive logging about JMBE library.
* WIP on new P25 message framer.
* WIP on new P25 message framer.
* Adds new 1/2 and 3/4 rate trellis decoders. Still trying to chase
down why there is a sync pattern mismatch in the NID buffer queue.
* WIP - new p25 message framer works correctly now. PDU's are dectected
and decoded using the 1/2 and 3/4 rate trellis decoders. Packet
Sequences are assembled. Need to add a new packet sequence message
factory that can detect Motorola Auto Registration Service (ARS)
formatted UDP/ID packets and SNDCP command packets.
* WIP - removes nullify on channel results queue.
* WIP - updates message framer for TSBK 1/2/3 processing.
* WIP removing P25 sync pattern and nid bits from all message parsers.
* WIP - merges identifier framework branch changes into this branch.
* WIP on updating link control words to new format and identifier framework.
* WIP - implements rest of link control words for extended formats
* WIP - initial work on ISP/OSP TSBK message restructuring.
* WIP - adds more TSBK ISP and OSP messages
* WIP - finished updating most of the TSBK ISP and OSP messages. Converted
all messages to no longer include the NID (nac + dataunitID) so that
each message can simply hold the parsed values. Removed AliasList as
an argument to each message and updated all messges to use the new
IIdentifer and IAPCO25Channel interfaces.
Removed legacy TDU and LDU link control messages and replaced with a
single LinkControlWord class hierarchy.
P25 decoder state is not yet updated for the new message structure.
PDU message parsing is not fully implemented.
* WIP - adds some Multi-Block trunking control messages with Alternate
and Unconfirmed formats.
* WIP - Fully implements AMBTC and UMBTC PDU message parsers.
Some package restructuring.
* WIP - Resolves Link control parsing in LDU1 and 2 messages.
* WIP - finishes updating TSBK and Link Control messages. Adds support
for moto link control messages for patch groups.
* WIP - finishes updating TSBK and Link Control messages. Adds support
for moto link control messages for patch groups. Adds support for moto
ARS service, IPV4 decoding, and UDP/IP packets.
* WIP - finishes SNDCP packet data with header parsing. Compressed IP or
UDP headers are not yet supported, but are logged as such.
* WIP - converts all talkgroup identifiers to integers and updates
alias list to create a per-protocol map of talkgroup id's to alias.
Inserts a legacy talkgroup (ltr, p25, passport, mpt1327, mdc, etc.)
conversion utility to convert existing legacy (string) talkgroups to
new integer talkgroup format.
Creates an audio packet manager to insert metadata into audio packets
before streaming packets for playback, recording, and/or streaming.
Creates identifier collection to manage current identifiers in each of
the channel and decoder states.
Creates simplified channel metadata to maintain the now playing display.
Moves channel attributes (alias list, system, site, name) as configuration
identifiers in the channel state.
Many other refactoring and updates.
* WIP - numerous updates to push use of identifier collection throughout
the system. Updates the channel metadata and audio packet processing
logic. Implements a large portion of the P25 decode state processing.
Updates traffic channel management. Adds user preferences for timestamp
and identifier formatting, however doesn't add a user interface yet.
* WIP - initial implementation of user preferences editor window.
* WIP - updates preferences editor window to close and dispose window but
retain javafx event thread running.
* WIP - fully updates p25 decoder state and traffic channel processing to
use the new identifier framework.
Cleans up channel event processing and removes channel model as the sole
broadcaster of channel events. Channel processing manager now listens
for all start/stop events and requestors dispatch event directly to the
channel processing manager.
Resolves issue in airspy that was causing user interface to lock-up. The
issue appears to occur when the dongle is plugged into a usb port that
can't fully support the data rate. sdrtrunk now recognizes these errors
and warns the user that they should use another usb port.
* WIP - updates alias action manager and adds new talkgroup range alias identifier.
Updates playlist to incorporate a version number so that the playlist
updater only runs when needed, to update a playlist to the correct
version format.
Updates user preferences to use the google event bus to broadcast
preference update notifications to remove the need for listeners to
register directly on the user preferences instance.
* WIP - updates alias id editors to flag invalid values and moves legacy
alias ids to legacy package.
Updates event logging configuration to add traffic channel decode events
and decoded message logging. Removes binary message logging since that
is now replaced with demodulated bitstream recording.
* Removes system properties from user preferences. Preferences are stored
in the OS-dependent settings store (windows - registry)
* Updates MapService to use new PlottableDecodeEvent instead of monitoring
all of the decoded messages.
Updates Fleetsync decoder and related messages to identifier framework.
* Updates LTR-Net, Fleetsync and LJ1200 decoders to new identifier
framework and adds support for user preferences for formatting of
LTR-Net and fleetsync talkgroup identifiers.
Breaks LTR-Net messages into various message types and uses a new
message factory.
Removes alias list from message processing for ltr-net, fleetsync and
lj1200.
* Updates LTR-Standard messages to Identifier framework.
* Removes Plottable and IPlottable from codebase.
* wip
* WIP on MPT-1327 messages.
* Updates MPT1327 decoder to identifier framework and new traffic channel
manager. This decoder still needs to be updated with a new message
parser factory and a sync detector like what is now used for P25.
* Updates MDC1200 decoder and message to identifier framework.
* Updates Tait1200 and Passport decoders to identifier framework.
* Merges changes from master branch.
* Removes legacy alias support classes. Updates passport message processor
to only pass valid messages. Adds support to playlist updater for
converting passport mobile ids to become passport talkgroup values.
* Updates P25 decoder state and channel state to better track allocated
traffic channels. Resolves issue in timestamp manager for trackig
message timestamps. Resolves issue in airspy tuner that was causing
the tuner to stop sending samples to the application.
* Update P25 Decoder state to process SNDCP management messages and
PDU messages.
Updates P25 activity summary to display network and site details.
Resolves issue with overlay panel that prevented enabled channels from
rendering correctly when zoomed in.
* Creates a new FilePreferences as part of the user preferences to begin
the transition of SystemProperties over to user preferences and consolidate
file preferences in one location.
Updates playlist manager to use the new file preferences and to use
default.xml as the new default playlist name, following conversion of
a playlist_v2.xml format to the new format.
In the near future, the user will be able to edit file locations and to
create/use other playlists.
Resolved an issue with all decoder states where not all identifiers were
being included in decode events.
Reverts PLL gain values to version 0.3.4beta2 values to restore P25
decoder performance.
This change in conjuction with recent channel sample rate change should
restore P25 channel decoding to comparable levels from 0.3.4b2.
Updates decoder types to specify channel sample rate and pass/stop
frequencies for requested channels. Updates tuner channel source
managers to accept a channel specification for channels that are
allocated.
channel manager so that channel source requests can have a start
timestamp specified and the channel can be preloaded with samples from
the delay buffer. If no timestamp is specified, current time is assumed.
This feature requires corresponding updates to any decoder that wishes
to implement the timestamped sample preloading functionality.
reusable byte buffers out to the processing chain. This enables the
processing chain to broadcast these buffers back to the decoder for
message assembly and to any running binary recorder.
Updated P25Decoder to be a reusable byte buffer listener. The decoder
will now pass reusable byte buffers down to the message framer for
message processing. This should make the code more efficient since it
can process byte arrays versus handling each individual dibit.
The P25MessageFramer has been updated to be a listener of reusable byte
buffers instead of Dibits, but the actual processing of byte arrays
has to be coded.
Added max recording size to the binary recorder so that it cycles at
500 kB max file size.
buffers. None of the decoders currently support this yet, but the P25
will be updated to provide bitstream output for recording.
Renames the ReusableBuffer class to ReusableFloatBuffer for
consistency.
and auto-correction for R820T tuners.
-Updated TunerModel and TunerViewPanel to add 2 new columns to
display the current tuner's PPM setting and (when available) the
measured frequency error averaged over 5 second intervals provided by
certain decoders (e.g. P25 C4FM and LSM). Frequency error value from
P25 decoders is provided from the Costas Loop PLL once 2 or more P25
message sync events have been observed in a short period.
-Updated R820T tuner to auto-correct PPM when measured frequency error
exceeds the +/- 0.4PPM threshold for a period of 30 seconds or more.
Feature can be enabled/disabled by user in the tuner editor panel.
Resolved several issues with P25 C4FM/LSM decoders that was impacting
performance related to channel misalignment from tuner PPM offsets.
The C4FM and LSM decoders were issuing a PLL reset with each new
channel that was allocated, causing any existing decoding channels to
be disrupted. Decoding re-sync delays or inability to recapture the
signal for decoding would likely result as the tuner's overall PPM
caused misadjustment in the channel.
Resolved a NPE that was occurring in the FrequencyController for
sample rate changes.
sample rates.
Resolves issue in PolyphaseChannelManager responding to sample rate
changes in the tuner. The manager now recreates the channelizer when
needed if the tuner's sample rate has changed since the last time the
channelizer was used.
Updates the Tuner selection view to reflect tuner lock state. Updates
the tuner editors to enable/disable frequency controller and sample
rate controls according to the tuner's lock state.
Fleetsync II decoder to use it. Adds instrumented version of the decoder
and a new Fleetsync2 FX pane to the DemodulatorViewerFX tool.
Note: the remaining AFSK-1200 based decoders will all be ported to use
this new AFSK1200 decoder (MDC1200, Tait1200, LowJack1200).
Deprecates the Listener<Boolean> interface method in the MessageFramer
to optimize for primitive booleans and reduce impact on memory. Will
remove this interface once the AFSK1200 decoders are updated.
channelizer sub-system is functionally complete.
Updated the channelizer and synthesizer filter design methods to use a
Kaiser windowed Nyquist filter. Updated the synthesizer filter design
to use a new cutoff frequency of 105% of the channel bandwidth to
resolve a slight dip in the synthesized channel gain at the channel
union region.
Updated the 2 channel output processor to use a low-pass filter that
is designed for the runtime channel sample rate versus hard-coded 12.5
khz.
Testing and redesign continues ...
filter structure. Updated the channel results array buffer to produce
reusable buffers.
This has dropped the overall memory usage considerably when profiling.
Resolved issue in the processing chain where polyphase channel sources
were not being stopped and were stacking up in memory.
that is currently up/down converting the signal of interest, but the
synthesizer is not correctly combining the original two channels.
Some experimentation with the tap count for the channelizer indicates
that we can cut the tap count in half and still have decent decoding
on the P25 decoder when paired to an aligned channelized output. The
2-channel synthesized output decodes partially, but needs more work.
Resolved issue with channel gain in the channelizer that was making the
sample values so small that they were registering as zero when converted
from float to 16-bit int value in the complex wave recorder.
was not computationally feasible with my 3rd Gen i7 processor running
and airspy at 10 MHz. Restructured the polyphase channelizer to use
vector iteration structures that the JDK 9 JIT compiler can translate
into SIMD instructions. Separated the IFFT processing from the filter
process so that they can be executed on separate threads and this allows
the processing to occur real time.
P25 C4FM decoding at 25 kHz channel sample rate using an airspy
10MHz sample stream seems to be working nicely with ~25% CPU usage and
~300 to 500 MB memory usage. Incremental (parallel) channel decoding
should have a minimal increase in CPU loading since all of the 12.5 kHz
channels are available in the polyphase channelizer and the only
additional workload is the decoding of the 25 kHz sample stream.
There is still an issue with stopping channels and the channelizer keeps
processing, and occasionally when starting traffic channels something
deadlocks and causes out of memory.