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.57k stars 255 forks source link

Out of range tuning in Het mode #1558

Closed AC9BX closed 1 year ago

AC9BX commented 1 year ago

sdrtrunk Version 0.6.0 alpha or 0.5.3

Describe the bug In heterodyne mode when attempting to tune a frequency substantially above (by about 3.59 MHz) the range of a tuner locked frequency it will drop anything locked and tune to said attempted frequency versus ignoring it or displaying a "no tuner available" message. Going below the locked frequency does not appear to do this. This is problematic because if monitoring a trunk system for example with frequencies too far apart for a single tuner it will willingly drop the control channel if it needs to reach a frequency substantially too high.

To Reproduce 1 Put program in Heterodyne mode 2a Use any trunk system too wide for a single tuner, wait for a call on a frequency too high for the tuner to reach while locked on the control channel, or try tuning a conventional frequency too high. 2b or tune to any frequency. (In this example an always on VHF channel) Then tune to another frequency too high for the tuner to reach. The range moves to include the new frequency, dropping anything too low. 3 Stopping the 'too high' channel, the software does NOT move back to the original when in analog. It will eventually get back to normal when trunking. 4 Selecting a frequency too low, the range moves to tune the highest frequency.

Expected behavior "Cannot tune, no tuner available" message "fade" indication when trunking that the channel cannot be reached.

Desktop (optional - complete the following information): Windows and Linux

20230520_123719_screen_capture 20230520_123720_screen_capture 20230520_123736_screen_capture 20230520_123742_screen_capture 20230520_123809_screen_capture 20230520_123813_screen_capture 20230520_124050_screen_capture 20230520_124925_screen_capture 20230520_125015_screen_capture 20230520_125106_screen_capture

sdrtrunk_app.log

jamren01 commented 1 year ago

I too am observing this; however, only on 0.6.0 alpha 4 and newer, observing 700/800MHz P25 traffic on 3 SDRplay RSP1a devices.

DSheirer commented 1 year ago

@AC9BX Thanks for the detailed bug report.