Commit Graph

72 Commits (70782c510112bfc027091ce7084870ff68e47482)

Author SHA1 Message Date
Bryan Biedenkapp 70782c5101 minor corrections for variable handling;
3 years ago
Bryan Biedenkapp 58187c9f5f implement HTTP client;
3 years ago
Bryan Biedenkapp aff2ab1e07 ensure "status" is always available on REST responses;
3 years ago
Bryan Biedenkapp dd5214793b update copyright header;
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 568bc740fe pass request message data to handler as well;
3 years ago
Bryan Biedenkapp 8d151582ce correct file formatting; fix issue where RequestDispatcher was not properly handling requests;
3 years ago
Bryan Biedenkapp 40f1b3be9c add support for int8_t to json serializer;
3 years ago
Bryan Biedenkapp ad43cc2309 fix bad file header;
3 years ago
Bryan Biedenkapp 3dc1e9c309 make REST API actually work (just /version for now), the REST API port is currently fixed (RCON port + 1);
3 years ago
Bryan Biedenkapp d3f5d00e5a add initial support code for RESTful RCON replacement;
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 97403b5324 implement support to capture and properly send HDU encryption data with the first LDU1 across the network;
3 years ago
Bryan Biedenkapp ad78007cd4 fix bad check condition for grant-tg (still need to implement the meat of this);
3 years ago
Bryan Biedenkapp 1621410e6a update copyright date;
3 years ago
Bryan Biedenkapp 2f699efb92 add RCON ping command;
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 0b041698c6 add support back to set the MFId for some transmitted P25 packets;
3 years ago
Bryan Biedenkapp feb66c76b9 implement plumbing for permit TG;
3 years ago
Bryan Biedenkapp 3b3145a0fc bump copyright dates;
3 years ago
Bryan Biedenkapp dcf1334940 refactor RemoteControl class (cleans up the class a bit); implement stubbed permit-tg RCON command for authoritative support;
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 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 3254122c4d P25 code refactor to move TSBK handling to a "factory-based paradigm";
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 779e232397 split mdm-kill into kill and force kill, difference here is kill will wait for transmissions and other operations to finish and cleanly shutdown, where as force kill will immediately stop all services without waiting;
3 years ago
Bryan Biedenkapp 856f802b69 fix length handling when dealing with std::string length;
3 years ago
Bryan Biedenkapp 25af077323 refactor defined constants for RCON; correct some RCON log messages; implement RCON "status" command;
3 years ago
Bryan Biedenkapp 7159c8297a fix issue with logger not allowing strings >500 characters; refactor RCON to support returning data to a RCON client; enhance network support to allow enabling RCON while networking itself is disabled; add version and help commands to RCON;
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 4cef6e5aea rework the NXDN "Layer 3" class;
4 years ago
Bryan Biedenkapp 4e77d81699 expand the ability to compile in or out entire digital protocols as necessary, by defualt DMR and P25 are included, and NXDN is excluded;
4 years ago
Bryan Biedenkapp 9747e9a2e0 [EXPERIMENTAL] better NXDN network support;
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 6fd1fe6b76 bump copyright dates; add copyright banner at startup;
4 years ago
Bryan Biedenkapp 76ecc2f06e to fix sloosecannon's problem (or try to anyway): lets "de-C90" our source code and use proper dynamic length arrays;
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 f22f1e76d1 add preliminary work for eventual FNE STC (Site Trunk Controller) support;
4 years ago
Bryan Biedenkapp ed4c7aca49 fix issue with RemoteCommand not properly connecting the UDP socket; fix SNDCP_CH_ANN not properly computing Rx frequency; implement TIA-102.AABF-2015 LC_CONV_FALLBACK specification;
4 years ago
Bryan Biedenkapp 179ed76ced reorganize PDU transmission to the FNE;
4 years ago
Bryan Biedenkapp 468079dcc8 make Windows Visual Studio project compile again; modify some dynamic memory allocations to work in C90 standard (damn it MSVC...);
4 years ago
Bryan Biedenkapp cdfac07224 implement new logic to store some tuning parameters in the modem flash as a backup to config.yml (if this is buggy use ignoreModemConfigArea in the config.yml to disable);
4 years ago
Bryan Biedenkapp a8ef28db06 fix for bad reference;
4 years ago
Bryan Biedenkapp 28c0d383d5 bump copyright dates;
4 years ago
Bryan Biedenkapp 87e633737b migrate BaseNetwork to use DFSI LC class to create LDU1/LDU2 network data;
4 years ago
Nat Moore 263c6985d8 do some json tweaks
4 years ago
Bryan Biedenkapp b465829173 convert RPTC to JSON;
4 years ago
Bryan Biedenkapp 1a69a63626 minor code formatting cleanup;
4 years ago

Powered by TurnKey Linux.