Commit Graph

196 Commits (d9c4f0d79d34e2aafdcdcb9a461beb6c70b4f8fb)

Author SHA1 Message Date
Bryan Biedenkapp a0f5a8302d reorganize code slightly;
3 years ago
Bryan Biedenkapp c62d79e2be implement support for explicit source ID;
3 years ago
Bryan Biedenkapp 24ad09c5ee whoops forgot to include defines;
3 years ago
Bryan Biedenkapp 3cce6e0b68 implement support for TIA-102.AABF-D LC_EXPLICIT_SOURCE_ID;
3 years ago
Bryan Biedenkapp 2a3c827cab properly complete grantTG REST API implementation;
3 years ago
Bryan Biedenkapp ca3810fa12 report destination ID being rejected when for non-authoratative mode;
3 years ago
Bryan Biedenkapp 952606b304 revert commit fbf8ec3 (I mistakenly added this with a group of other commits);
3 years ago
Bryan Biedenkapp fbf8ec32c1 add support to send raw CSBK or TSBKs from the network;
3 years ago
Bryan Biedenkapp ee36fc5927 fix missed constant name change;
3 years ago
Bryan Biedenkapp f6167360d6 fix missed constant name change;
3 years ago
Bryan Biedenkapp f42b9f597c whoops forgot header file in last commit;
3 years ago
Bryan Biedenkapp 88f67ec7f5 cleanup more direct frame queue calls;
3 years ago
Bryan Biedenkapp 9dd2fc2ce6 replace direct calls for FrameQueue enqueue and flush;
3 years ago
Bryan Biedenkapp d0be614c27 split announcement group config into its own config var;
3 years ago
Bryan Biedenkapp 7014d3823e complete conference bridge FNE peer communication;
3 years ago
Bryan Biedenkapp 27f73c1089 cleanup RTP protocal and remove vestigial text tags in most cases;
3 years ago
Bryan Biedenkapp 054a9a5da8 refactor conference bridge FNE slightly; remove mostly unused functions;
3 years ago
Bryan Biedenkapp f2de006954 ensure stream IDs are maintained from source peer to destination peer;
3 years ago
Bryan Biedenkapp e94964ea2f refactor TG hang to only apply to authoritative voice channels; correct handling of non-authoritative permitted destination IDs for NXDN and DMR; move non-authoratative handling into main processNetwork() for P25;
3 years ago
Bryan Biedenkapp bed079f68e implement a fixed internal TG hangtimer for network traffic, this will put a hold on the last received TG for 2 seconds; refactor how P25 handles simultaneous calls from the network and how RF preemption of in-progress network calls when RF wants to transmit on a different TG works;
3 years ago
Bryan Biedenkapp 1128d28d97 actually AMBT PDUs don't transit the network, so we'll ignore network PDUs for control only mode;
3 years ago
Bryan Biedenkapp c1639729a6 correct typo;
3 years ago
Bryan Biedenkapp 7a86b4f5b8 allow PDUs to be processed for dedicated CCs; enhance W3AXLs code Data.cpp code to check the dedicatedControl flag too;
3 years ago
Patrick W3AXL 74838f990a
initial re-commit based on latest master (#35)
3 years ago
Bryan Biedenkapp a2865f7052 be verbose on VC's about when we send the grant release REST call;
3 years ago
Bryan Biedenkapp 6330a4c2a9 fix some log messages; ensure VOC is forcibly disabled if control support is disabled;
3 years ago
Bryan Biedenkapp ff66d6bbe2 ensure DataHeader's are always passed by reference;
3 years ago
Bryan Biedenkapp 9a71eb344f refactor how confirmed data blocks are handled; better handle determining src and dst LLIds during PDU processing; better handle data offset and PDU data length calculations; handle properly acknowledging confirmed packets with A/N flag set;
3 years ago
Bryan Biedenkapp 9b43411376 when decoding a PDU data block ensure class variables are set to reasonable defaults (since the actual DataBlock class tends to be reused); ensure DataHeader is passed to DataBlock decode() and setFormat() by reference; implement supporton DataHeader to retreive the raw byte contents of a decoded PDU header; ensure the PDU Rx process resets the second header data, irregardless of use; if we are using a PDU second header, ensure its data contents are added to pduUserData as the second header contents are CRC-32'ed along side all the data blocks (infact only the initial header is excluded from CRC-32 all other blocks following initial header *must* be CRC-32'ed with the data blocks); refactor PDU last block detection; ensure writeRF_PDU_Buffered and writeNet_PDU_Buffered regenerate the full packet CRC-32;
3 years ago
Bryan Biedenkapp 20882d5100 whoops actually fix the PDU confirmed last block problem;
3 years ago
Bryan Biedenkapp 798ca22315 fix incorrect use of secondary header;
3 years ago
Bryan Biedenkapp 8c26de644f reset pdu data length at the end of handling a PDU sequence;
3 years ago
Bryan Biedenkapp 4daac87c1a refactor P25 PDU network handling code; better handle PDU confirmed extended addressing;
3 years ago
Bryan Biedenkapp 41f590fb0f better handle SIGHUP (reset g_killed to false at the top of the HostMain signal loop);
3 years ago
Bryan Biedenkapp 99c908e475 fix buffer copy lengths for FNENetwork;
3 years ago
Bryan Biedenkapp 31e6769ddc don't network repeat AMBT PDUs; ensure AMBTs aren't processed if control processing is disabled;
3 years ago
Bryan Biedenkapp b4bbca3ca5 introduce RF loss watchdog to prevent a situation where a frame loss could cause a deadlock; fix message output for TDULC;
3 years ago
Bryan Biedenkapp c97c3f9412 prevent possible deadlock scenario from a failed login sequence, allow RPTL to reset to login sequence if the peer hasn't reached a running state;
3 years ago
Bryan Biedenkapp b1718f3e0a fix payload calculation for activity log; correct order of operations for testing if the RF hangtimer is running;
3 years ago
Bryan Biedenkapp 8cd92914ba reword some warning messages to be more verbose; reorder when embedded FNE will transmit parrot frames;
3 years ago
Bryan Biedenkapp 91a79cfc24 fix issue with using a reference vs copy for the talkgroup rules YAML filename;
3 years ago
Bryan Biedenkapp 95e0ed9260 be more verbose in logging when the REST service network layer returns errors;
3 years ago
Bryan Biedenkapp ca7eb1a407 remove TCP_NODELAY socket option, refactor when SO_LINGER is set on the socket options; correct some file formatting;
3 years ago
Bryan Biedenkapp 8c15cb5b50 don't attempt a socket tear down, the shutdown of the ioService should clean these up;
3 years ago
Bryan Biedenkapp 220ad671ac remove extraneous messages from reconnect loop; m_ioService must be the *LAST* object in the ASIO chain to be destroyed, otherwise weirdness will happen;
3 years ago
Bryan Biedenkapp 963a9ab421 fix warning message when failing to update status;
3 years ago
Bryan Biedenkapp 6573386cd7 perform status update 4 times before switching a node into a failed state;
3 years ago
Bryan Biedenkapp a020dd84d0 ensure socket processing loop for HTTPClient won't try to process when the the request is considered "completed"; properly set SO_LINGER and TCP_NODELAY;
3 years ago
Bryan Biedenkapp ee74cad81b report network peer ID in status API call; display network peer ID on dvmmon;
3 years ago
Bryan Biedenkapp 31d9a3e1c3 implement support for "Tab" to cycle the selected and active host;
3 years ago
Bryan Biedenkapp 50f85538f8 refactor display of usage to be consistent with dvmhost;
3 years ago
Bryan Biedenkapp 8c5d9eb2c6 add command line option to auto hide the log window at startup;
3 years ago
Bryan Biedenkapp caa2a37a49 fix incorrect handling of redraw during maximize of the log window;
3 years ago
Bryan Biedenkapp c567378047 fix some label display issues;
3 years ago
Bryan Biedenkapp 65155c7010 fix detection of mode for command windows; fix detection of valid subscriber;
3 years ago
Bryan Biedenkapp fcda472f3e reset mode text if the status is none of the digital modes;
3 years ago
Bryan Biedenkapp 6465493e3d relabel Last TG to Last Dst;
3 years ago
Bryan Biedenkapp b341c7ee13 add support to report source ID; enhance coloring abit more;
3 years ago
Bryan Biedenkapp 180bce2d62 add support to log the last received source ID;
3 years ago
Bryan Biedenkapp 40596aadef file cleanup;
3 years ago
Bryan Biedenkapp 4bb8c81360 adjust purple color (looks better and consistent as pinkish in PuTTY);
3 years ago
Bryan Biedenkapp 4f3c374285 adjust display of colors (these will vary terminal to terminal unfortunatly, best display is in a proper Linux desktop terminal);
3 years ago
Bryan Biedenkapp 4097e87ccd add CMake option to selectively disable compiling dvmmon (-DDISABLE_MONITOR=1);
3 years ago
Bryan Biedenkapp d45af90c07 initial bare-bones implementation of dvmmon; enhance REST API to return more detailed status information (for use by dvmmon); cleanup file code style;
3 years ago
Bryan Biedenkapp 298cd8da1f properly handle the configured REST address for the "primary" DVM;
3 years ago
Bryan Biedenkapp bbe6143001 mark a control channel as VOC when the VOC flag is in the status response;
3 years ago
Bryan Biedenkapp 8f7763cac4 initial implementation for a passive monitor tool; correct bad code style; implement feedback of last destination ID; enhance status REST API;
3 years ago
Bryan Biedenkapp 2b73c0539c code cleanup; add whether or not the channel is VOC enabled in status REST response;
3 years ago
Bryan Biedenkapp 77ff4a551b typo cleanup;
3 years ago
Bryan Biedenkapp 6f01647c6f code style cleanup;
3 years ago
Bryan Biedenkapp 6a127f7e57 implement appropriate RS encoding of LDU1 DFSI parameters;
3 years ago
Bryan Biedenkapp 0374ed2f54 correct bad implementation of RTP SSRC, SSRC should be the *sending* peer ID;
3 years ago
Bryan Biedenkapp 412d6cfc7c [KEEP CALM AND RELAX] remove some deprecated DFSI support code (this is going to be done in a different way and this code is essentially abandonded);
3 years ago
Bryan Biedenkapp cdce663a55 remove affiliated flag from local talkgroup_rules (this is not used locally); refactor how P25 network message frames are made (mostly just a code cleanup); refactor out some magic numbers used in some places for code clarity;
3 years ago
Bryan Biedenkapp 702293b416 more work on frame loss counting;
3 years ago
Bryan Biedenkapp 3d7f04f523 split touch notify from incorrect logic statement;
3 years ago
Bryan Biedenkapp c9f74e7abf assume better defaults when the controlCh block is missing; split logic checks for ignoring a notifyCC_* call for clarity; add extra logging messages for whether or not CC notify is enabled, and whether or not CC REST API parameters were passed;
3 years ago
Bryan Biedenkapp b99ecefd6a experimental alteration to handling modem TAG_LOST during an active call for DMR, P25 and NXDN, instead of immediately dropping the call stream holding the call in progress, this will likely require additional thought and implementation, but the intention is to correct odd behavior for fringe or silghtly weak signals which would cause strange call behavior;
3 years ago
Bryan Biedenkapp d5aa4c2cd9 add extra logging messages; fix issue with network P25 voice grant;
3 years ago
Bryan Biedenkapp 73cb3de6e8 log more detailed information about RINGBUFF_FULL;
3 years ago
Bryan Biedenkapp 34a6c14111 rename inhibitIllegal to inhibitUnauthorized; remove code that was clearing modem buffer before transmitting an immediate (this was extremely problematic); add new option for VOC users "redundantGrantTransmit" this option will cause a modem in P25 VOC mode to transmit redundant grant responses, helping ensure grants are received;
3 years ago
Bryan Biedenkapp 4aca5792db adjust OSP_QUE_RSP slightly to ensure the service doesn't overflow; fix some minor U2U logic (this kinda sorta makes U2U work); adjust some timing parameters when clearing the modem queues (~5ms delay after writing the command to ensure the modem has time to clear); alter how grants are transmitted on VOC configurations (this will not only transmit a immediate grant but also buffer 3 more as an MBF);
3 years ago
Bryan Biedenkapp 7c94b92981 add support to get the JSON response for RESTClient sends; enhance implementation of dvmcmd;
3 years ago
Bryan Biedenkapp 39e0e4a254 add option to selectively enable/disable CC notification from a VC for traffic channel updates (this option defaults to enabled/on for all configurations but VOC);
3 years ago
Bryan Biedenkapp e86a8aae03 whoops remove this code -- debug stuff by accident;
3 years ago
Bryan Biedenkapp 053a74843c add blatent error message for my sanity during debugging;
3 years ago
Bryan Biedenkapp 20fd5d5e40 [EXPERIMENTAL] commit an experimental fix for VOC strangeness, VOC abuses P25 timing and should be transmitting the grant response at least twice;
3 years ago
Bryan Biedenkapp bd804fb02b hide debug messages showing up in verbose mode;
3 years ago
Bryan Biedenkapp b5312d4dcd be more verbose when updating lookup information from the FNE;
3 years ago
Bryan Biedenkapp f719bffbba cleanup incorrect variable usage (inclusion vs exclusion);
3 years ago
Bryan Biedenkapp 85b72d46b7 [conference bridge FNE] don't bother sending TGs to peers that are excluded;
3 years ago
Bryan Biedenkapp 5023c343fe ensure legacy cal TUI opens in --setup and --cal when ENABLE_TUI_SUPPORT or ENABLE_SETUP_TUI options are disabled at compile time;
3 years ago
Bryan Biedenkapp 82155893aa fix issue where the setup event loop may try to talk to a unconnected modem;
3 years ago
Bryan Biedenkapp c4b4dd367f enhance releaseGrantTG logging slightly, this will now not only log the request, but log if the specified destination ID needs to be released;
3 years ago
Bryan Biedenkapp 50f0ba3652 bump the CPACK_DEBIAN_PACKAGE_VERSION to 3.5.0;
3 years ago
Bryan Biedenkapp 2b6b0c574d
merge 3.5-dev into master, this marks 3.5 alpha/beta release; (#31)
3 years ago
Bryan Biedenkapp 56e4e7cf37 for non-authoritative VCs generate a log message in verbose mode for the protocols to indicate a TG permit operation has occcurred;
3 years ago
Bryan Biedenkapp 6b2a016497 convert fatal error about Rx frequency being below base frequency to a warning instead;
3 years ago
Bryan Biedenkapp 0608275cf9 merge changes from https://github.com/CVSoft/dvmhost to place spec specific limits on channel spacing;
3 years ago
Bryan Biedenkapp 88016bda13 fix incorrect return;
3 years ago

Powered by TurnKey Linux.