Uses Trunk Recorder's trunk_message
plugin hook to log trunking system control channel decoding rates to decode_rates.csv in the captureDir as specified in config.json. Requires versions of Trunk Recorder on or after May 17, 2023 (commit 5c07ef0).
On each startup of Trunk Recorder, a header line of timestamp,shortName,shortName
will be added to the file.
Includes a PHP script which outputs an SVG graph of the rates.
To use:
- Make a directory named "decode_rates" within Trunk Recorder's plugins directory and either copy these files or clone the repository into that directory
- Apply the patch as follows by running one of these commands from your root trunk-recorder code directory (where the CMakeLists.txt file is):
patch -p1 < plugins/decode_rates/decode_rates.patch
git am < plugins/decode_rates/decode_rates-git.patch
- Build the Trunk Recorder program normally
- Add a
"decodeRates": 60
entry to the Global Configs section of your config.json, where60
is the number of seconds between logging entries - Optionally put the PHP file somewhere Web accessible and edit it
OR
- Build Trunk Recorder normally, and run
sudo make install
at the end to install it - Run
cmake ./
,make
and thensudo make install
in this directory to build and install the plugin - Add to your config.json:
"plugins": [
{
"name": "decode_rates",
"library": "decode_rates.so",
"decodeRates": 60
}]
- Optionally put the PHP file somewhere Web accessible and edit it