 Changelog                                                                          24th October 2022
=====================================================================================================
=  DCS Decoder - SDR# plug-in                                                                       =
=                                   by Vasili (TSSDR) and updated and modified by thewraith         =
=====================================================================================================
=====================================================================================================

1.3.5.0 - Release

Fixed: Plug-in backend miss fire
- In some cases, the last DCS code value would persist (as been detected) causing it to be passed
   through the plug-in backend.

Changed: Assembly info
- No funtional changes


MD5 hash: a12ed4fba3015a5de6ef2fa6c0c055fd (SDRSharp.DCSDecoder.dll)
          b45b078da1043a57e7e3852e5cbbbeba (SDRSharp.PluginsCom.dll)

=====================================================================================================

1.3.4.0 - Release

Added: Configure Window and added options
- To access this window, double click the 'Code +' values in main window.
- New option: 'Spectrum VFO label Y position'
- 'Keep Aux window open' (was a manual option)
- 'Filter returned DCS codes' (was a manual option)
- 'Swap + - DCS codes' - (was a manual option)
- Show version info
- I may add 'Show on spectrum', 'Aux window', 'No reset' to here in future.

Added: Updated documentation
- Please read it


MD5 hash: 74f9673d94f5cfdae0c609a10112517f (SDRSharp.DCSDecoder.dll)
          b45b078da1043a57e7e3852e5cbbbeba (SDRSharp.PluginsCom.dll)

=====================================================================================================

1.3.3.0 - Release

Changed: Code for using non Telerik controls in the SDR# Telirik UI
- Refactored some code to simplify the colour selection use for non Telerik controls
- Tweak some of the non Telerik controls re-paint code

Changed: Plug-in backend was unnecessarily passing the DCS value when SDR# was not playing

Changed: Label on spectrum was not highlighting green when code detected if side panel was not expanded

Changed: Show both + and - DCS codes on spectrum (only when flag: 'DCS.OnlyUseDcsCodesInTable' > 0)
- Since it's not possible to know if the + or - DCS code is the right one, it makes sense to show both.
  NOTE: "+N/A" or "-N/A" is shown when that -/+ value is empty. (should normally not be seen)
- This will also apply when sending the DCS code to the Frequency Scanner plug-in (v1.2.12.0+).
- By using the flag: 'DCS.OnlyUseDcsCodesInTable' > 0, it is most likely only one code is shown for each + -.
  This should mean that one of these two codes (+-) is the right one.

Fixed: Possible crash on some non standard DCS codes
- Some DCS codes don't have the opposite value (+ or -) and exception would be thrown
- These types of codes are never used normally. If by some chance they are seen, they are now handled.

Added: Updated documentation
- Please read it


MD5 hash: e4d269fee56b10d0da842eee5c162cc5 (SDRSharp.DCSDecoder.dll)
          b45b078da1043a57e7e3852e5cbbbeba (SDRSharp.PluginsCom.dll)

=====================================================================================================

1.3.2.0 - Release

Added: Code to pass the DCS code to the Frequency Scanner plug-in (v1.2.12.0+)
- An additional DLL is required.
  You may already have the 'SDRSharp.PluginsCom.dll' file installed as it's used by some of
   Vasili's other plug-ins. If not copy it to your SDR# folder.

Changed: Detect/Mute light/dark colors (Red/Green)

Changed: Aux window
- Removed the window borders
  Left click and hold anywhere except checkbox and button to move window
- Try and match SDR# theme colors for the AUX window
  For this to work, the plug-in main panel will needs to have be visible as least once
  Once visible, it should remember colors across SDR# restarts. Will need to repeat if theme is changed.
- Remember AUX window position
  If need too, you can reset the AUX window position by right clicking 'Aux window' (checkbox)
- Use flat style controls where applicable

Added: Keep Aux window open
- Default behaviour is to close window when SDR# is not playing or not on NFM
- To override this default behaviour, add the following line (with Notepad) to the file 'SDRSharp.exe.config' (find the other entries that start with 'DCS.')
    <add key="DCS.forceAuxOpen" value="True" />

Added: When 'Set this code' is pressed, also enable 'Squelch'
- This then matches the same action in the CTCSS plug-in.

Added: Some basic documentation
- Please read it


MD5 hash: 361f4bc06b442db6e277471af143fb94 (SDRSharp.DCSDecoder.dll)
          b45b078da1043a57e7e3852e5cbbbeba (SDRSharp.PluginsCom.dll)

=====================================================================================================

1.3.1.0 - Minor Release

Fixed: UI label/checkbox 'Reset' was missing part of text

Fixed: Version number (v1.3.0.0 was showing as 1.2.0.0, now it's v1.3.1.0)


MD5 hash: 1e65997be573ed84e08d29580509d7e3

=====================================================================================================

1.3.0.0 - Release

Changed: Settings key names format to "DCS."
- Settings will need to be reconfigured

Fixed: Plug-in for different audio buffer sizes
- Was not working in the newer SDR# (v1822ish) because of the smaller SDR# audio buffer. (256 samples)
  Have created a larger audio buffer to use when detecting DCS.

Added: 'No reset' on frequency change
- Keeps the last detected DCS visible on the panel and external window. (Will still clear spectrum)
- Maybe useful when used with scanning plug-in to keep last detected DCS when scanning.

Fixed: If plug-in panel was the last on side panel (SDR# v1716 and before) is was partly cut off.
- Increased panel height

Changed: The Y position for DCS label at the VFO marker
- Moved down into the display graticule

Added: Option to only use detected DCS codes that exist in table
- Reduces the list to the most likely used codes
- Three options are:
   0 = Default - No need to add line if this is all you want to use.
   1 = Use only the standard 83 DCS codes (as defined in ETSI TS 103 236 V1.1.1 (Table 2))
   2 = Same as '1' + 21 extended DCS codes
- To use, add the following line (with Notepad) to the file 'SDRSharp.exe.config' and set value (find the other entries that start with 'DCS.')
    <add key="DCS.OnlyUseDcsCodesInTable" value="2" />

Fix: DCS code bit decision
- If I generate DCS code '023', the plug-in shows: '+047' '-023' when it should be '+023' '-047'
- The plug-in was assigning a '1' when the frequency shift was negative instead of positive
  The plug-in was assigning a '0' when the frequency shift was positive instead of negative
  The ETSI TS 103 236 V1.1.1 - 4.2.3 DCS Modulation (page 9) states:
  - DCS Modulation is a NRZ baseband FSK modulation.
    The polarity of the modulation shall be a negative frequency shift for a 0 and a positive frequency shift for a 1.

Added: Option to swap the display 'Normal' and 'Inverted' DCS codes
- If for some reason you want to swap it back to the wrong +- order.
- To use, add the following line (with Notepad) to the file 'SDRSharp.exe.config' (find the other entries that start with 'DCS.')
    <add key="DCS.SwapNormalInvertedDcsCodes" value="True" />


MD5 hash: 9f94414841797c069c2584f943914024

=====================================================================================================

1.2.0.0 - Release

Changed: Further tweaking to the Telerik UI detection and controls handling.

Fixed: 'Window 8' theme caused a crash on SDR# start-up when plug-in side panel visible.


MD5 hash: 5e65568d01db4bbdc8d37e3c9e9f79b5

=====================================================================================================

1.1.0.0 - Release

Changed: Updated UI to look better with SDR# (v1717+) Telerik UI themes.
- Side panel height (for plug-in area) needed to be increased to space checkboxes ('Show on spectrum' and 'Aux window')
   for themes with larger fonts. (overlapping was seen)
- 'Set this code' button set to auto resize (when font is changed by themes)
- Spacing for 'Code (0 - any)' label and its up/down control

No other changes to plug-in code

Note: 'Aux window' does not have any themes applied as it is not possible without purchasing a licence
       for Telerik controls. 

MD5 hash: 6d06dee79967f0fe8ac1e82b5f6a9aec

=====================================================================================================
v1.0.0.0

 Any version by TSSDR (Vasili)

 Development history unknown, see his website http://rtl-sdr.ru for possible more details of past releases.
