Bryan Biedenkapp
89210c05aa
add support to optionally demand a SU perform a full registration with a site if a affiliation request is refused;
2 years ago
Bryan Biedenkapp
1e458ce682
don't transmit EXT_FUNC across the network when issued to an individual site, the FNE should be generating network wide EXT_FUNC messages ( fixes #62 );
2 years ago
Bryan Biedenkapp
6e327eb2b2
for debugging purposes enhance debug trace messaging;
2 years ago
Bryan Biedenkapp
02581f2c3f
file cleanups;
2 years ago
Bryan Biedenkapp
fd47396e9e
typo;
2 years ago
Bryan Biedenkapp
a23c900842
flag V.24 connected if FSC is connected;
2 years ago
Bryan Biedenkapp
da5cb6eb7d
Merge branch 'master' into incall_ctrl
2 years ago
Bryan Biedenkapp
a4e8138c74
enhance TDULC CALL_TERM handling in dvmhost; allow dvmfne to optionally drop TDULC CALL_TERMs or pass them;
2 years ago
Bryan Biedenkapp
8c48c9bcbe
fix huge glaring bug where the dvmhost was trying to transmit TDULCs across the network as TSBKs; implement proper support to transit TDULC data across the network;
2 years ago
Bryan Biedenkapp
c1d8186da9
correct situation where a nullptr crash during shutdown would occur if the update timers for RID or TGID ACL on the host were set to 0 (i.e. no update);
2 years ago
Bryan Biedenkapp
b419c56405
reject U2U voice channel grant for P25, DMR and NXDN if the unit being called isn't registered;
2 years ago
Bryan Biedenkapp
32494fb19d
change RF power level of hotspots to 95 instead of 100 to prevent a condition where spurious emissions may be generated; update README.md to include methods to calibrate a hotspot if a service monitor is available;
2 years ago
Bryan Biedenkapp
a868ff3264
fix idiotic bug where the activity log path wasn't being properly used; add potential fix for "tail riding" conditions with network traffic, that could cause the RF talkgroup hangtimer to be active when it shouldn't be;
2 years ago
Bryan Biedenkapp
9e68049cd8
ensure first super-frame LDU1 after an HDU sets the encrypt flag;
2 years ago
Bryan Biedenkapp
cb309fdb0f
reasonably this message shouldn't even appear if we don't have the channel granted;
2 years ago
Bryan Biedenkapp
a82f848de4
correct bad handling for signal and compact fields of the TIA-102 control octet; enhance how the length of a TIA-102 full rate voice frame is determined; better handle initialization of the additional data fields for a TIA-102 full rate voice frame; correct bug using LDU2 frame 10 vs LDU2 frame 18 for LSD data on a full rate voice frame; implement a naive approach to performing superframe counting; correct bug causing the first full rate voice frames to never be transmitted for LDU1 or LDU2; remove assertion check for control port;
2 years ago
Bryan Biedenkapp
95a8d269be
fix null reference exception when dealing with VHDR in TIA-102 mode;
2 years ago
Bryan Biedenkapp
2e0ffab13d
correct un-updated debug handles in LC; correct TIA mode HDU handling;
2 years ago
Bryan Biedenkapp
6d5e158808
just ack the FSC_SEL_CHAN command when requested; fix data offset for TIA-102 DFSI data;
2 years ago
Bryan Biedenkapp
fea335dc1e
warn on connection attempts trying to set heartbeats larger then 30 seconds;
2 years ago
Bryan Biedenkapp
6b9d906f68
make FSC timeout just slightly more then the maximum heartbeat time;
2 years ago
Bryan Biedenkapp
0e5d075c62
expose configuring the FSC heartbeat interval; expose enabling TIA mode DFSI frames; correct FullRateVoice memory copy for additional data;
2 years ago
Bryan Biedenkapp
2d450f64b0
[EXPERIMENTAL] initial TIA-102 DFSI packet support (not enabled yet);
2 years ago
Bryan Biedenkapp
ca7149e9f4
add FSC_REPORT_SEL_MODES;
2 years ago
Bryan Biedenkapp
da3a2a1869
fix long standing dvmhost shutdown bug (object cleanup wasn't occuring due to bad state change handling); refactor FSC packet data classes; remove FSCResponse and FSCConnectResponse (these were ill conceived due to bad interpretation of TIA-102 specifications); correct FSCACK not properly decoding response user data after packet data; refactor the way the FSC message factory createMessage() function created instances of FSC packets; refactor how opening and closing the FSC port is handled; better implement the FSC state machine; correct bad response to an FSC_CONNECT (due to incorrect understanding of TIA-102 specifications);
2 years ago
Bryan Biedenkapp
ff0a5c57c7
fix issue where ports wouldn't be opened after FSC connection establishment;
2 years ago
Bryan Biedenkapp
1a8f3bcfb9
refactor message;
2 years ago
Bryan Biedenkapp
3347035d0d
reenable debug message;
2 years ago
Bryan Biedenkapp
85dd6fce09
remove unused variable;
2 years ago
Bryan Biedenkapp
19d8f2237f
refactor FSC (it was entirely just broken);
2 years ago
Bryan Biedenkapp
88dcb0bc96
update copyright dates;
2 years ago
Bryan Biedenkapp
14b749fff1
correct issue where DFSI FSC control port wasn't living at the voice conveyance port + 1; refactor the proof of concept V24UDPport class to handle voice conveyance frames in their own thread (this is so the main clock doesn't get locked up); correct bad offsetting of data for V24UDPort causing weird overflow, underflow and buffer corruption;
2 years ago
Bryan Biedenkapp
ef4e3104ac
you know what helps? if you actually set the channel number;
2 years ago
Bryan Biedenkapp
28153fbab9
fix cross-thread ARM shennigans (this should resolve #78 );
2 years ago
Bryan Biedenkapp
5dce90b6d0
perform src and dst ACL checking for group aff query responses;
2 years ago
Bryan Biedenkapp
a908a24f54
update a RID's TG affiliation based on the response from a Group Affiliation Query Response;
2 years ago
Bryan Biedenkapp
f3fa7053b8
minor cleanups; ensure pad length is handled properly by PDU code;
2 years ago
Bryan Biedenkapp
1b4ea4d8c7
refactor status bit handling slightly;
2 years ago
W3AXL
1528894099
Implement override of default RTS/DTR behavior for DVM-V24-V2 boards with hardware boot control. ( #77 )
...
* initial work to support DVM-V24 RTS/DTR boot modes
* whoops forgot to remove this debug print
---------
Co-authored-by: W3AXL <29879554+W3AXL@users.noreply.github.com>
2 years ago
Bryan Biedenkapp
2979110421
add some mutex locking for affiliation lookups;
2 years ago
Bryan Biedenkapp
7faa2743e8
handle grant release and end of call TDU for P25;
2 years ago
Bryan Biedenkapp
0304b98fac
backport a change from incall_ctrl to fix issue with the first LDU1 after an HDU being non-standard MFId causing illegal grant demands and/or grants;
2 years ago
Bryan Biedenkapp
0b0dc32c94
refactor call rejection to be timer based to reject a call until incoming data drops; correct bug with non-standard MFId's being used for the first LDU1; implement enforced unknown/undefined RID ACL support;
2 years ago
Bryan Biedenkapp
8f74260d5d
Merge branch 'master' into incall_ctrl
2 years ago
Bryan Biedenkapp
497b6a7b65
allow FNE PUT /dmr/rid and /p25/rid to target *all* connected peers; correct naming of packet data dumping configuration parameter; continue some work on P25 PDU data and VTUN; adjust P25 PDU ACK_RSP;
2 years ago
Bryan Biedenkapp
e91f61ecb6
force full network reconnect in most NAK cases;
2 years ago
Bryan Biedenkapp
f8ee0aab51
Merge branch 'master' into incall_ctrl
2 years ago
Bryan Biedenkapp
ebb8669c0d
disable watchdog checking while the modem is transmitting CW;
2 years ago
Bryan Biedenkapp
10f3f35131
add destination ID to ICC messages;
2 years ago
Bryan Biedenkapp
59f85c5976
implement in-call control mechanism (this allows the FNE to command a host to stop transmitting if a ACL check fails);
2 years ago
Bryan Biedenkapp
2e2e8bf957
fix all instances of (uint32_t) for calcTxOffset;
2 years ago
jsb5151
e41fec1253
fixed calcTxOffset to use a signed integer; ( #72 )
...
(uint32_t)calcTxOffset would result in the offset being 0 if the value was negative in iden_table.dat
2 years ago
Bryan Biedenkapp
cc274ba78e
add support to selectively revert to previous logic ignoring affiliation checks;
2 years ago
Bryan Biedenkapp
b0369d272a
if for some reason, you have grant demands, and are a conventional/DVRS site, don't handle any grant demands if traffic is in progress;
2 years ago
Bryan Biedenkapp
7736e03aef
add ability to disable NON-AUTHORITATIVE log warnings (functionality is made optional as it makes diagnostics easier); remove redundant error message from grant demands;
2 years ago
Bryan Biedenkapp
ff6658cae7
how did no one find this, like how was this missed? add missing affiliated flag being sent from FNE to host;
2 years ago
Bryan Biedenkapp
7dc9522d7f
add support for V.24 modem connection state reporting;
2 years ago
Bryan Biedenkapp
fe66aff8ab
correct long lingering frequency rounding error when calculating freq in MHz;
2 years ago
Bryan Biedenkapp
e11758a06a
remove peer status reporting to influx; allow the host to transmit status messages to FNE at 2 second interval instead of 5 second interval; change peer watch update time to 250ms;
2 years ago
Bryan Biedenkapp
8f6319d15e
refactor SysView and more tightly integrate with the DVM stack; add CC voice channel reporting in the peer status message; add support on the FNE to report activity log and peer status to SysView instances;
2 years ago
Bryan Biedenkapp
ae39ae816a
adjust color palette for TUI; add alpha version for the TUI talkgroup rules file editor;
2 years ago
Bryan Biedenkapp
a015c547d7
ensure TDU is transmitted at end of voice;
2 years ago
Bryan Biedenkapp
84a3d859b9
remove debug trace;
2 years ago
Bryan Biedenkapp
7b27eadbd7
correct issue where DMR would round-robin assign slots for TGs, instead ensure available channel resources for the request slot exist and grant or queue accordingly; add some experimental support to generate a CSBK grant from network traffic if the destination ID hasn't already been granted;
2 years ago
Bryan Biedenkapp
0fda70654c
fix incorrect log messaging;
2 years ago
Bryan Biedenkapp
d837d0950d
fix issue where CSBK static site data wasn't being updated for netActive change;
2 years ago
Bryan Biedenkapp
c435256726
ignore plea's for SU registration on DMR when trying to register with power saving options;
2 years ago
Bryan Biedenkapp
f49b6ce257
document why the response data is set to 0;
2 years ago
Bryan Biedenkapp
696e93a3ec
increase the report time for packet Rx and processing to 360ms (or 180ms * 2, or 2 full P25 LDUs);
2 years ago
Bryan Biedenkapp
8f4c33c890
fix up some offsets that seem to be causing problems (*seem* to be causing problems);
2 years ago
Bryan Biedenkapp
f68532ed33
[EXPERIMENTAL] add possible support to convertToAir V.24 PDU frames;
2 years ago
Bryan Biedenkapp
9a9441fbd5
extend W3AXLs implementation for space in blocks to the air interface modems as well (even though the modem firmware doesn't support it yet), for future proofing purposes;
2 years ago
W3AXL
a5709dd0a7
added optional byte-block free space reporting to ModemV24
2 years ago
Bryan Biedenkapp
9c3525a872
fix double clocking of modem in the modem clock threaad;
2 years ago
Bryan Biedenkapp
d1730d40fc
whoops remove debug trace;
2 years ago
Bryan Biedenkapp
0673aac088
add support to disable watchdog overflow checking;
2 years ago
Bryan Biedenkapp
d2fcea4885
implement logic to count overflows before resetting hard, after 10 consecutive overflow conditions, the PANIC reset logic will execute;
2 years ago
Bryan Biedenkapp
ccd5a5a9d8
be extremely aggressive about clearing buffers in PANIC overflow of modem and internal;
2 years ago
Bryan Biedenkapp
22a8ccb75f
partially revert Modem poll change to 250ms, partial because we're only reverting the poll time to 125ms (previous commit IDLE time);
2 years ago
Bryan Biedenkapp
5a972a671c
add some more verbose logging for overflow conditions; correct issue with DMR Tx timer expiring before the call actually ended;
2 years ago
Bryan Biedenkapp
b281da766e
clarify some watchdog panic messages;
2 years ago
Bryan Biedenkapp
cac58cea1f
move buffer size checks to host watchdog thread; add additional checks to prevent aggressive buffer overflow check logging;
2 years ago
Bryan Biedenkapp
0c247a2b37
make isQueueFull() checking -- less aggressive;
2 years ago
Bryan Biedenkapp
6e9c8837fb
add more verbose logging if the modem reports it does not have space for frames and if the local controller queue is full;
2 years ago
Bryan Biedenkapp
89a1d4bde9
peekFrameLength() should abide by mutex locks on txQueue's;
2 years ago
Bryan Biedenkapp
e81e7752ed
allow hasP25Space() to be overriden by derived classes [for possible future use];
2 years ago
Bryan Biedenkapp
849d54976b
fix file spacing;
2 years ago
Bryan Biedenkapp
14b880b708
add some mutex locking for thread safety, ensure addFrame and getFrame cannot happen simultaneously;
2 years ago
W3AXL
6ddec3c641
typo mistake whoops
2 years ago
W3AXL
d3aede7f1f
added sytem information to host status response
2 years ago
Bryan Biedenkapp
f5c5748789
increase modem read delay to 1ms;
2 years ago
Bryan Biedenkapp
dd31260ded
i'm an idiot;
2 years ago
Bryan Biedenkapp
7d582138aa
properly respect N(S)/N(R);
2 years ago
Bryan Biedenkapp
d106fbb062
add some extra length documentation for RTP packets; make network ringbuffer initialized value a constant; continue logic implementation for P25 data; correct buffer issue on P25 data;
2 years ago
Bryan Biedenkapp
52e3677270
fix problem with ULL for 32-bit, on 64-bit this wasn't a problem as the numbers were all treated as 8 bytes wide (on Linux anyway), but for 32-bit this truncated the numbers and caused weird problems;
2 years ago
Bryan Biedenkapp
f6f7a70757
add debug trace for PONG messages;
2 years ago
Bryan Biedenkapp
260f4ed6d4
when a LOC_REG comes in ensure group affiliations are updated as well;
2 years ago
Bryan Biedenkapp
65fa91b7cb
[THIS MAY BREAK THINGS, BE AWARE] Merge Win32 support and C++ dvmbridge into master. ( #67 )
...
* experimental support for WIN32 compilation (tested only with VS2022);
* fix up incorrect return;
* make debug compile verbose; ensure ws2_32.lib is included;
* initial commit of vocoder library to main source tree; initial commit of C++ port of bridge (non-functional);
* calculate the length of the preamble tone and properly write it;
* implement MDC callback to detect MDC unit ID; implement UDP audio reception; implement local audio reception;
* very alpha working verison;
* correct buffer size;
* correct issue with enabled Tx mode not properly being set on the network; correct issue with DMR not setting the appropriate frame length after packing AMBE bits; correct false call starts by faking the txStreamId (this isn't correct but works for now); fix issue with P25 non-GROUP LCOs causing audio breaks; correct bad logic for call lockup thread;
* cleanup and properly align log messages;
* implement missing Rx/Tx manual gain control; fix missing srcId overrides;
* eliminate the __ALLOC_VLA macro (this really only works on VS2022, GCC explodes in a fit of horror);
* fix missing comment;
* fix bad CFLAGS; correct missing dl library when linking dvmbridge on linux; fix various typos and bad variable types in bridge;
* fix some bad memset calls not taking array size into account; fix some missing parens;
* implement missing cal options;
* don't start the timer till the first LDU1 for cal mode;
* I'm just full of bad mistakes today;
* ignore logging excessive sync frame errors;
* update modem submodule;
* Add DVM-V24 Firmware Submodule And Enable Building It (#66 )
* Added v24 firmware as a submodule
* Added v24 firmware compilation
* V24 doesn't have make clean, so remove it from cmake
* Added V24 firmware to tarballs
* Fix my 1D107 error...
---------
Co-authored-by: faulty <faulty@evilcomputing.net>
* correct compilation flags for Win32; add support to dump sample levels on bridge (this is useful for tuning the vox level); add various fixes for local audio flag; add various fixes for not starting loops until completely running; ensure audio input/output device settings are output to the log; fix issue with Rx and Tx gain controls not being applied appropriately;
* fix compilation issues for RPI_ARM; ensure math constants are defined; remove unused command line arguments;
---------
Co-authored-by: Jim <25770089+faultywarrior@users.noreply.github.com>
Co-authored-by: faulty <faulty@evilcomputing.net>
2 years ago
Bryan Biedenkapp
26457d7d85
implement support to software reboot into the system bootloader for flashing (using stm32flash); update modem and hotspot submodules;
2 years ago
Bryan Biedenkapp
6542443ca7
add support to transmit dynamic regroup IR extended commands;
2 years ago