From 504f69d9db1c73ca50bf4156e5c2fc1201bc6cb3 Mon Sep 17 00:00:00 2001 From: Jason McHuff <20979597+rosecitytransit@users.noreply.github.com> Date: Sun, 10 Dec 2017 21:48:09 -0800 Subject: [PATCH 1/5] Have System ID, WACN, NAC output in hex Hex is what is commonly used for these. I hope I did this right, haven't tested it yet. --- trunk-recorder/systems/system.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk-recorder/systems/system.cc b/trunk-recorder/systems/system.cc index 6db02d3e1..b8191b34c 100644 --- a/trunk-recorder/systems/system.cc +++ b/trunk-recorder/systems/system.cc @@ -51,7 +51,9 @@ void System::update_status(TrunkMessage message) { sys_id = message.sys_id; wacn = message.wacn; nac = message.nac; - BOOST_LOG_TRIVIAL(info) << "[" << short_name << "]\tDecoding System ID " << std::dec << message.sys_id << " WACN: " << message.wacn << " NAC: " << message.nac << std::dec; + BOOST_LOG_TRIVIAL(info) << "[" << short_name << "]\tDecoding System ID " + << std::hex << std::uppercase << message.sys_id << " WACN: " + << std::hex << std::uppercase << message.wacn << " NAC: " << std::hex << std::uppercase << message.nac; if(sys_id && wacn && nac) { lfsr = new p25p2_lfsr(nac, sys_id, wacn); xor_mask = lfsr->getXorChars(xor_mask_len); From 4857330df8f2ae60adf34cd02ce92619d29f0df1 Mon Sep 17 00:00:00 2001 From: Jason McHuff <20979597+rosecitytransit@users.noreply.github.com> Date: Sun, 10 Dec 2017 22:02:53 -0800 Subject: [PATCH 2/5] Version 1 of my audio player Web page From attachment to #79 --- audioplayer.php | 111 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 audioplayer.php diff --git a/audioplayer.php b/audioplayer.php new file mode 100644 index 000000000..eb66e2fef --- /dev/null +++ b/audioplayer.php @@ -0,0 +1,111 @@ + + +
+"; + +$talkgroups = array('ALL'=>"ALL", 1767=>"Example1", 1777=>"Example2") +?> + +Click on a row to begin sequential playback, click file size to download
+ +