Commit Graph

51 Commits (2e622f16d72b4d167cdc5a253bf784aba35ecb64)

Author SHA1 Message Date
Bryan Biedenkapp 5e02cc892f normalize errors returned from modem; properly handle response codes proper from initialization commands;
3 years ago
Bryan Biedenkapp d038cad5e3 expose hotspot AFC functionality; remove display of date/time from calibration mode;
3 years ago
Bryan Biedenkapp 101ddd6152 add ARM64 cross compiler arch; fix buffer offset issue when dumping contents of modem flash;
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 9c14c3c75b fix misplaced closing brace when disabling DMR support;
3 years ago
Bryan Biedenkapp 8778d52a28 stupid me -- forgot to set m_nxdnEnabled from the setModeParams() function;
4 years ago
Bryan Biedenkapp 7c07428fa0 dump more interesting data from the modem;
4 years ago
Bryan Biedenkapp f3ea6662af add support logic to write Tx buffer to modem for NXDN; correct invalid selective compilation flags in Modem.cpp;
4 years ago
Bryan Biedenkapp d587423ede fix warning when compiling AMBEFEC for NXDN regen; correct length to write from host to modem for SET_CONFIG and some other commands;
4 years ago
Bryan Biedenkapp 31043bcb53 [EXPERIMENTAL] implement support softpot in the firmware;
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 5c973eb271 log situations where data larger then the buffer may try to be written to the modem;
4 years ago
Bryan Biedenkapp d338bd3988 clear the internal buffer in cases of reset or invalid frame start; ignore frame start errors in a situation where the modem is resetting;
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 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 cee085d870 alter sizes of modem Rx/Tx buffers for DMR and P25 modes; implement support to immediately send digital mode data to the modem; reword configuration area error messages for clarity;
4 years ago
Bryan Biedenkapp 4239d21a2b initial experimental support for DFSI communication via DVM modem serial interface (DFSI support is disabled from compilation entirely by default, the -DENABLE_DFSI_SUPPORT compiler directive is required to enable it);
4 years ago
Bryan Biedenkapp f5684879ca remove DFSI opcode, this will be handled a different way;
4 years ago
Bryan Biedenkapp d79be88bc9 add support for firmware-level P25 DFSI data;
4 years ago
Bryan Biedenkapp a5aa84657c fix issue displaying floating point numbers for flash value check;
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 cdf53cc9ad initial commit for using flash storage on the modem as a backup for critical tuning data (this is incomplete, it will READ/WRITE/ERASE data, but won't parse it yet...);
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 9b293d53f4 cleanup message;
4 years ago
Bryan Biedenkapp ed19ec8f51 implement support to set the ADF7021 hotspot Rx gain;
4 years ago
Bryan Biedenkapp 0058e1ab54 fix compiler warnings about exception polymorhism; enforce some fixed mode rules for hotspots; fix potential buffer overflow;
4 years ago
Bryan Biedenkapp fefd4ce4ad save Rx/Tx tuning data for hotspots;
4 years ago
Bryan Biedenkapp a441d468c6 add support for adjusting the discriminator BW and post demod BW for hotspots;
4 years ago
Bryan Biedenkapp 5b2aeb05ed minor cleanups from PR #1;
4 years ago
Nat Moore 3575a295ec add offset setting + fix build errors
4 years ago
Nat Moore 8e34591f15 Merge branch 'master' of https://github.com/gatekeep/dvmhost into gatekeep-master
4 years ago
Bryan Biedenkapp ba1896968a port upstream changes manually from https://github.com/jelimoore/dvmhost ceb967b3c9b519a22c3ec4d5cfe10f44cc413c01; add support to set rf power from configuration;
4 years ago
Nat Moore ceb967b3c9 add frequency set command
4 years ago
Bryan Biedenkapp dedaa57580 minor alteration to some debug/trace and logging;
5 years ago
Bryan Biedenkapp de2860ca6a correct issue when trying to close and reopen modem; update copyright dates; fix issue in Modem where the getResponse may not continue properly after returning; reorder operations in Host to Write, Modem Clock, Read, Network, DMR, P25, Timers;
5 years ago
Bryan Biedenkapp 09df9a0241 file commenting cleanup;
5 years ago
Bryan Biedenkapp 266680f39b refactor Modem further to allow custom entry points for "user" handlers for modem open, close and clock (HostCal and Host use this); refactor "remote mode" in Host to use Modem custom entry points; correct some issues with the port of UARTPort from upstream (revert some changes back to pre-UARTPort from the old SerialController class); rework HostCal to use the new custom entry points; rework HostCal for better consistency and class use; correct and rename some misleading class variables and functions;
5 years ago
Bryan Biedenkapp d341f664ba add some extra commented out debug trace for some situations;
5 years ago
Bryan Biedenkapp 63713f0f8e upstream: Refactor modem; support remote modem support via UDP;
5 years ago
Bryan Biedenkapp 6640485dad apply upstream updates to UDPSocket;
5 years ago
Bryan Biedenkapp 6535049765 support configuring the modem P25 sync correlation countdown from the host;
5 years ago
Bryan Biedenkapp a66f91fe2f minor fixes and cleanups; allow transmitted service class properly reflect registration and composite classes based on configured options;
5 years ago
Bryan Biedenkapp ef453a4f73 remove old TDULC Channel Grant logic (I don't even remember why this was here); move TDU preamble before voice call; correct Modem debug messages appearing as regular log messages;
5 years ago
Bryan Biedenkapp 7184a6923f upstream: Add UDID support; NOTE: this changes the serial protocol version and is incompatible with previous versions -- match this commit with a dvmfirmware (commit 72c7385918d529df3f9f6b64c50913de7604fab2 or newer) update!
5 years ago
Bryan Biedenkapp 4b3e8de18f add support to selectively do a hex dump of the TSBK, TDULC or DMR CSBK bytes for encode/decode; add appropriate P25 PDU response packet; correct CRC-9 table and implementation (although I believe its still wrong); add support to adjust engineering parameters for symbol levels; add support to selectively disable P25 ACK responses for some TSBKs;
5 years ago
Bryan Biedenkapp 91158f84da make incorrect/possible sync word messages normal warnings; add support for air interface firmware level P25 NAC checking; add support to enable/disable selectable modem debug in calibration mode; add display of possible sync bytes to the calibration mode for P25; comment out unused variable (for now) causing compilation warning; ensure P25_DENY_RSN_PTT_BONK is transmitted as a denial for a group grant when the channel is in use;
5 years ago
Bryan Biedenkapp 75facc7297 make the modem playout timer configurable; fix magic number in regards to queue resizing; adjust default config to have a data queue size of 5000 for DMR and P25; correct some minor HDU state handling issues;
5 years ago
Bryan Biedenkapp 8feecf49ec correct RF talkgroup hang timer (allows the local RF to steer the talkgroup); fix labeling for the preamble and DMR Rx Delay; correct TDU preamble before voice transmission in P25;
6 years ago

Powered by TurnKey Linux.