Commit Graph

74 Commits (d92e80e185cfe8b275af907ecd18c9ed0a43d31b)

Author SHA1 Message Date
Bryan Biedenkapp d92e80e185 fix missing header include;
3 years ago
Bryan Biedenkapp 01c7b38a36 add support to selectively enable Trellis debug messages; fix issue where P25 Trellis checkCode12 was not appropriately traversing the entire trellis;
3 years ago
Bryan Biedenkapp 35298fe94b implement the majority of working REST API support (this commit deprecates RCON completely, RCON will no longer function with any build beyond this);
3 years ago
Bryan Biedenkapp 529d5c1e83 implement the majority of REST API support (this commit breaks RCON and any RCON-based tools [like dvmcmd]) (NOTE: not *all* RCON commands are implemented as REST API yet);
3 years ago
Bryan Biedenkapp 7d1ae452dc refactor a lot of iterator based C++ for loops into C++ range for loops; correct bad opcode value (this was getting truncated to $3F anyway so no big deal but in code it should be proper);
3 years ago
Bryan Biedenkapp 1b6ba3e3aa reorganize configuration file slightly (nothing to panic about!); rename p25SysId to sysId (it is used by P25 & NXDN); add constants for NXDN location categories; properly calculate the NXDN location ID from the site ID and system ID (category is fixed to Local); fix issue where RCCH was not properly populating the message type opcode value [this fixes an outstanding issue where DVM was not presenting a valid NXDN CC stream];
3 years ago
Bryan Biedenkapp 0f237c7435 update copyright dates;
3 years ago
Bryan Biedenkapp 2ae52143ab implement remaining code required for permit-tg and embedded STC support [untested, considered experimental]; implement proper DMR T3 grant fixes to handle slot granting properly;
3 years ago
Bryan Biedenkapp 04736490a9 implement encryption flag reset when silence thresholds are met and silence frames are inserted; implement passthru support for some LDU LC LCOs [credit @ilyacodes for LCO discovery];
3 years ago
Bryan Biedenkapp 874ecd9f51 support 0 or maximum voice frames (1233 for P25, 141 for DMR, 144 for NXDN);
3 years ago
Bryan Biedenkapp c257e29526 implement helper checks for non-authoritative VC's; mark sections of trunking code to utilize RCON for authoritative CC's to send permit-tg commands to non-authoritative VCs;
3 years ago
Bryan Biedenkapp a102956e1d implement start of support for non-authoritative CC (this is a situation where a FNE STC is configured); implement RCON to return the list of configured voice channels from a CC; continue implementation of permit-tg (still not done);
3 years ago
Bryan Biedenkapp 84f3cf14f6 fix issue where after a std::move we attempted to reference the original unique_ptr;
3 years ago
Bryan Biedenkapp feb66c76b9 implement plumbing for permit TG;
3 years ago
Bryan Biedenkapp ea84df2228 remove grant rsp/req from normal network path (this is being rearchitected); add new plumbing for determining if a DVM is authoritative for repeating traffic and auto-granting;
3 years ago
Bryan Biedenkapp fd4920f70c factoryize NXDN RCCH;
3 years ago
Bryan Biedenkapp 6a85108a91 set site identity entry for CSBKO_BROADCAST BCAST_ANNC_ANN_WD_TSCC;
3 years ago
Bryan Biedenkapp d89c90118d convert DMR to follow the factory code pattern for CSBKs;
3 years ago
Bryan Biedenkapp 727a3eb155 convert more behaviors from C-like to C++11 (replace NULL with nullptr mostly); make some pointer safe changes to DMR;
3 years ago
Bryan Biedenkapp 0d43f68814 DMR release trunked talkgroup grants;
3 years ago
Bryan Biedenkapp 73a2f03be4 implement CSBK and RCCH verbosity control support (similar to P25 TSBK verbosity control); allow CSBK and RCCH verbosity to be set from RCON; enhance RCON to properly omit digital protocols not compiled in; enhance RCON commands for debug, verbosity and data dumping to report currently set settings;
3 years ago
Bryan Biedenkapp 4afaf6400d implement proper DMR NACK CSBK encoding; implement preliminary DMR grant support for individual and talkgroup calls;
3 years ago
Bryan Biedenkapp 07045c6b56 finish up unit registration/deregistration for DMR T3;
3 years ago
Bryan Biedenkapp a476d0c7eb set DMR registration requirement on whether or not the CC is dedicated;
3 years ago
Bryan Biedenkapp 0ea57c37c8 ensure CSBKs for TSCC are written on the TSCC slot and not on the slot the request came in on; slow down generation of TSCC CC stream packets to double the slot size (60ms);
3 years ago
Bryan Biedenkapp a10c64b950 update config file for new DMR parameters; add affiliation support to DMR; cleanup implementation of CSBK generation in ControlSignaling; implement rudimentary SU registration (doesn't quite work yet);
3 years ago
Bryan Biedenkapp 24b6cca301 make TSCC Aloha NRand_Wait and Backoff configurable; set TSCC Aloha NRand_Wait to a resaonable value so as to not DDoS the inbound TSCC slot; mark CSBKO_RAND as "handled";
3 years ago
Bryan Biedenkapp fd898994d4 add support for firmware CACH AT ignore command; properly set DMR site data to require registration of SUs;
3 years ago
Bryan Biedenkapp cbd3895490 add defines for various DMR service kinds; properly decode service kind and service data for a CSBKO_RAND; implement support logic to handle implementing logic to handle CSBKs; fix issue where DMR was not being set as the fixed state when DMR dedicated control was enabled; fix issue for DMR slot 2 where a NULL reference check was not performed for P25;
3 years ago
Bryan Biedenkapp 051fa78ba4 refactor CSBK handling; cleanup argument names for some function calls; cleanup some misleading commenting with more descriptive comments;
3 years ago
Bryan Biedenkapp 905b49736a split unit registration, group affiliation and group grant handling into its own AffiliationLookup class; implement some more NXDN ISP/OSP trunking messages; reorganize how header includes were being done slightly;
4 years ago
Bryan Biedenkapp b8200f8a2b [EXPERIMENTAL] implement experimental NXDN CC transmit stream (no incoming data processing, yet)...;
4 years ago
Bryan Biedenkapp 9ca505ff5c [EXPERIMENTAL] implement support for basic NXDN (requires -DENABLE_NXDN_SUPPORT and the v3 nxdn branch firmware!); implement support for handling v3 firmware;
4 years ago
Bryan Biedenkapp 9a4906ecac implement marking builds with the Git hash automatically; fix issue with DMR CC not terminating when dvmhost is shutting down; fix issue with DMR CC incorrectly transmitting frames; implement DVM specific opcodes that transmit the Git hash over the air;
4 years ago
Bryan Biedenkapp 6fd1fe6b76 bump copyright dates; add copyright banner at startup;
4 years ago
Bryan Biedenkapp 91b932c1ea revert modem buffer sizes to pre-reorganization size; implement support to dump the modem status "dumpModemStatus"; refactor LookupTable to use C++ instead of bad C file loading (possible fix for a bad heap corruption problem); implement CC data interval timer for DMR CC;
4 years ago
Bryan Biedenkapp 328bd1024d code reorganization;
4 years ago
Bryan Biedenkapp 66e6787f33 clarify buffer overflow message; refactor DMR and P25 code for clarity regarding how the queue buffer for the digital protocols works; refactor P25 control channel processing code into the p25::Control class clock function proper; refactor the naming of the network write functions (the naming was confusing); refactor how queue sizes are calculated, instead of using raw bytes an input, use the number of desired frames as input from config.yml; adjust the internal intermediate modem buffer sizes; implement a short delay between P25 CC packets of ~5ms, this is to give the processor time to handle packets inbetween generating CC data frames; refactor PDU handling, we no longer instantly transmit the registration response, instead following spec transmit it ~1 second after the request; implement and use the modem write immediate support for P25 PDUs and some P25 TSDUs; in the case of P25 voice call late entry, ensure we perform the appropriate queue clear and state resets; refactor and consolidate how the end of frame data is written after a voice call on P25;
4 years ago
Bryan Biedenkapp 64d0c770a8 code cleanup;
4 years ago
Bryan Biedenkapp b78d30e7a4 reword slot data queue overflow error messages to be clearer;
4 years ago
Bryan Biedenkapp f5684879ca remove DFSI opcode, this will be handled a different way;
4 years ago
Bryan Biedenkapp 28c0d383d5 bump copyright dates;
4 years ago
Bryan Biedenkapp ebf1cde7ad code cleanup; fix memory corruption issue when handling the LC MI in LC::copy(); add compiler-directive level debugging helpers;
4 years ago
Bryan Biedenkapp 8b2771274e fix issue where ACL wouldn't blacklist RIDs when ACLs were disabled (blacklisting should always work); refactor TSBK decode/encode classes to better support raw and non-trellis data output/input; more fixes making P25T VOC more reliable; implement more DFSI LC handling;
4 years ago
Bryan Biedenkapp dd5bfa235b continue implementing DFSI; remove some header information (it was included incorrectly some cases);
4 years ago
Bryan Biedenkapp d2ed457109 make clearer log messages in the case of coding errors such as TSBK Trellis or CRC errors; allow CRC TSDU errors to be warnings in calibration mode;
4 years ago
Bryan Biedenkapp 08dd49d51f fix incorrect handling of channel number as decimal in setup; enhance setup to make it more comprehensive (essentially all "system" configuration parameters can be modified in setup mode); add support to calibration to set the FDMA preambles, P25 correlation count, DMR Rx Delay as well as setting the Rx and Tx frequency offsets;
4 years ago
Bryan Biedenkapp 43f8f6e8ae implement support for a silence threshold in DMR (this will help null highly degraded audio to prevent horrifying ear destroying screeching); some minor code cleanup (mostly removing magic numbers!);
4 years ago
Bryan Biedenkapp 4671690fe6 better handle traffic rejection on DMR;
4 years ago
Bryan Biedenkapp 672c6253d5 fix issue where buffer overflows are occurring while transmitting control data;
4 years ago

Powered by TurnKey Linux.