Bryan Biedenkapp
7bdb7b6c6d
add support code for future modifications;
3 years ago
Bryan Biedenkapp
9b1c48aa7d
correct bad handling of certain conditions;
3 years ago
Bryan Biedenkapp
dbacb27146
merge branch changes to eliminate custom Mutex class for std::mutex;
3 years ago
Bryan Biedenkapp
2b8fc67d75
update UDPSocket for future use;
3 years ago
Bryan Biedenkapp
09be90c266
fixup CMakeLists to fix build warnings for ARM 32-bit platform;
3 years ago
Bryan Biedenkapp
81c16f6758
add option to disable the source ID validation before issuing a grant;
3 years ago
Bryan Biedenkapp
db2212f7c1
minor file cleanup;
3 years ago
Bryan Biedenkapp
320523a668
fix a problem where the source for a grant isn't being checked for a "grant retry" condition;
3 years ago
Bryan Biedenkapp
ca161aa402
cleanup trailing whitespace;
3 years ago
K4YT3X
da863f6785
Fixed P25 garbled encrypted voice, plus minor several other improvements ( #27 )
...
* changed GHA runners to ubuntu-20.04 since glibc is too new in 22.04
* updated gitignore to exclude CMake and more C++ temporary files
* adjusted scripts' permissions
* created express Makefile to easily build for different arch
* automatically clone ASIO source code using CMake
* updated Raspberry Pi configuration docs
* fixed P25 garbled encrypted voice due to incorrect HDU MIs, frame type predictions, and clear null IMBE frames
* removed ASIO clones from pipelines
3 years ago
K4YT3X
43d6420b2c
made incoming traffic update P25 channel grant timer to fix embedded STC; fixed VC LDU2 grant check ( #25 )
3 years ago
Bryan Biedenkapp
ca9703233d
attempt to sanitize transmit state during configuration change when calibrating;
3 years ago
Bryan Biedenkapp
6225e54256
replace bare pointer for a proper smart pointer;
3 years ago
Bryan Biedenkapp
ab622ee08c
return status from API call from RESTClient::send(); appropriately deny a grant if supervisor is enabled and a permit call fails; fix issue with CMake not caching compiler information;
3 years ago
Bryan Biedenkapp
f36426a889
cleanup code to match the rest of the project standards;
3 years ago
Bryan Biedenkapp
ad5fc27783
further refactor of how the RESTClient functions (hopefully this will fix the crashes);
3 years ago
Bryan Biedenkapp
cec2816389
fix some potential memory leak scenarios;
3 years ago
Bryan Biedenkapp
8faa764cb4
refactor how grant calls are made for DMR, P25 and NXDN (this may break somethings!);
3 years ago
Bryan Biedenkapp
f9afd01277
revert an oops, I committed some code commented out that should not have been;
3 years ago
Bryan Biedenkapp
d5279442b9
refactor REST connection handler into separate client/server classes; correct issue with improper handling of resolved endpoint data resulting in crash conditions; fix memory leak issue by not deleting an array when done;
3 years ago
Bryan Biedenkapp
0282689e98
fix issue where network grants would trigger local grant transmissions, even if the TG was already granted;
3 years ago
Bryan Biedenkapp
590aeb0bea
refactor common affiliations class to have a release grant callback; implement proper release grant callbacks for P25 and NXDN to call the permit TG API with a TGID 0 to ensure permits are released at the end of a call; update DMR release grant callback in the same way; allow permit TG API call to accept 0 as a valid TGID;
3 years ago
Bryan Biedenkapp
f69443c2eb
relabel RCON configuration parameters to REST (see configs/config.example.yml); change "controlPermitTG" to "supervisor", this is more descriptive for what this function does as it is literally a supervisory flag enabling/disabling the CC from commanding subordinate DVMs; implement a REST API that can alter the supervisory state at runtime;
3 years ago
Bryan Biedenkapp
8b4002246a
refactor how grants are handled across the network;
3 years ago
Bryan Biedenkapp
9512e0c256
fix inverted logic checks for permittedTG() for DMR and NXDN;
3 years ago
K4YT3X
a1b7bd79df
fixed REST API accept permit-tg failure ( #24 )
3 years ago
Bryan Biedenkapp
e531a830dd
cleanup file;
3 years ago
Bryan Biedenkapp
5b8b6f70af
fix condition where permitted TG would not be reset after a TG hangtime timeout;
3 years ago
Bryan Biedenkapp
08d282844d
fix issue when loading voice channel lists into local affiliation tables; fix issue where appropriate voice channel data for remote callbacks was not correct; better hide messages from console and use logging appropriately in RESTClient;
3 years ago
Bryan Biedenkapp
86748665ba
ensure TSCC SLCO's will not be sent at all if DMR CC mode is disabled; hide display of TSCC Slot number if DMR TSCC is not enabled; add payload channel CSBKs; prohibit processing of voice/data traffic on a TSCC slot; fix issue where writeRF_CSBK was only functioning for TSCC slots; fix issue handling slot number in some CSBKs; change order of operations for when TSCC payload channels are activated;
3 years ago
Bryan Biedenkapp
7e2e002b10
add appropriate support for DMR TSCC to repeat the channel grant following appropriate channel grant; add support to affiliation tables to log what source ID a destination ID is granted to;
3 years ago
Bryan Biedenkapp
4ec99becfe
change DVM MFId to the officially assigned value of $9C (Omaha Communication Systems);
3 years ago
Bryan Biedenkapp
87d26b04fb
fix incorrect handling of activity type for payload channel;
3 years ago
Bryan Biedenkapp
72b6fc443c
refactor how TSCC CSC counter is handled;
3 years ago
Bryan Biedenkapp
f21b98c290
deprecate duplicate flag;
3 years ago
Bryan Biedenkapp
68334b34bc
correct various log messages; clean up payload channels after grant release; fix incorrect REST API being called for payload activation;
3 years ago
Bryan Biedenkapp
f216304970
[DMR] implement appropriate support to perform payload timeslot activation; [DMR] handle appropriate transmission of various payload, TSCC and payload TSCC short LC messages; [DMR] implement REST API callbacks to trigger payload activation for remote channels; [DMR] properly transmit channel grant twice for "redundancy" per ETSI spec; [DMR/P25/NXDN] implement more verbose messages for failures to command remote voice channesl to perform actions;
3 years ago
Bryan Biedenkapp
a1dd5193cf
implement proper payload SLCO;
3 years ago
Bryan Biedenkapp
db0800e6e6
display decimal values (useful for DMR setup) for channel numbers as well as hex; properly send QUEUE responses in resources busy condition for DMR grants;
3 years ago
Bryan Biedenkapp
6416f3404a
transmit C_WACKD after voice call requests;
3 years ago
Bryan Biedenkapp
4b74684ffe
fix issue where DVM was incorrectly indexing network and site IDs for DMR;
3 years ago
Bryan Biedenkapp
907567ec33
fix issue with DMR site information calculations; correct slot number (range for packets is 0 - 1, not 1 - 2); fix missing clock call to the DMR affiliations class;
3 years ago
Bryan Biedenkapp
439c962a30
refactor how some of the REST API auth is handled;
3 years ago
Bryan Biedenkapp
4734aef687
move the service file into the project repo root; retain some older build logic from the old Makefile;
3 years ago
K4YT3X
c487873db2
Reorganizing directory structure and minor housekeeping ( #21 )
...
* reorganized files into appropriate directories
* updated README, AUTHOR, and LICENSE to conform to conventions
* adjusted CMakeLists and pipeline for the new directory structure
* moved examples->configs; scripts->tools; src/debian->/debian
* updated authors information
* created new section in author information
* removed deprecated iden_channel_calc tool
3 years ago