Commit graph

272 commits

Author SHA1 Message Date
Jonathan Naylor
78e1abfcca Don't regenerate the Embedded LC. 2016-12-04 14:40:55 +00:00
Jonathan Naylor
031c504622 Unknown CSBKs are passed through. 2016-11-11 07:20:45 +00:00
Jonathan Naylor
eacc588636 Validate the wake up CSBK correctly. 2016-11-10 18:43:54 +00:00
Jonathan Naylor
18acbfe8f1 Allow network late entry on a PI header. 2016-11-01 18:07:10 +00:00
Jonathan Naylor
5ae3b6a9d2 Clean up the access control code for DMR. 2016-11-01 08:00:13 +00:00
Jonathan Naylor
4f6356212b Handle corrupted network DMR LCs more gracefully. 2016-10-31 17:55:38 +00:00
Simon
715369e06e DMRAccessControl: add per-slot dstid, src id and time 2016-10-17 13:59:52 +01:00
Jonathan Naylor
3c7bdd6e12 Further clean up of DMR Access Control. 2016-10-13 17:46:02 +01:00
Jonathan Naylor
989bd8a1fd Clean up the code formatting. 2016-10-10 19:27:08 +01:00
Jonathan Naylor
25cfff3ada Merge branch 'master' into P25 2016-09-27 19:47:07 +01:00
Simon
dfb3630315 Tidy up as per Jonathan's comments 2016-09-22 16:47:04 +01:00
Simon
e87eae94a1 Next release of TG Rewrite 2016-09-21 19:35:13 +01:00
Simon
65bdc54997 Adding ini options for TGRewrite code 2016-09-21 16:33:35 +01:00
Simon
aa3e592ebb Added check to exclude private calls from TG rewrite. (FLCO_GROUP) 2016-09-17 11:07:23 +01:00
Simon
9a90852566 Track over end time on RF 2016-09-15 22:03:43 +01:00
Simon
b6f4842b7f Completed TG Rewrite, added config options. 2016-09-15 20:41:14 +01:00
Simon
21691b046b Talkgroup rewrite now working 2016-09-15 14:19:00 +01:00
Simon
105d18594a more tg-rewrite work 2016-09-15 10:08:13 +01:00
Jonathan Naylor
9423fb25a6 Add P25 networking, and rename DMR network files. 2016-09-14 07:41:37 +01:00
Simon
a275e77902 fixed id/did logic 2016-09-11 18:26:27 +01:00
Simon
809153e0f2 Add TG rewrite code call to DMRSlot.cpp 2016-09-11 13:01:05 +01:00
Simon
c53a96baab Added TG rewrite code 2016-09-11 12:15:03 +01:00
Jonathan Naylor
e04d76584e Configurable DMR jitter buffer. 2016-09-06 19:42:15 +01:00
Jonathan Naylor
996db45b45 Clean up the DMR sync generation code. 2016-09-06 08:06:19 +01:00
Jonathan Naylor
e16c27be61 Change the DMR sync bytes when in DMO mode. 2016-09-05 18:03:23 +01:00
Jonathan Naylor
001d3f753c Revert "Add the DMO mode sync bytes in DMO mode."
This reverts commit 02f555d299.
2016-08-25 17:22:16 +01:00
Jonathan Naylor
02f555d299 Add the DMO mode sync bytes in DMO mode. 2016-08-23 19:06:16 +01:00
Jonathan Naylor
83b27188e5 Alter the format of the returned RSSI data. 2016-08-11 17:28:47 +01:00
Jonathan Naylor
19c7578bb9 Remove extra debugging messages. 2016-08-11 06:42:50 +01:00
Jonathan Naylor
4e35a8d47e Completely revert the DMR silence infilling. 2016-08-10 20:16:06 +01:00
Jonathan Naylor
27edf9fc1c More silence tweaks. 2016-08-10 14:33:34 +01:00
Jonathan Naylor
171f0ac8cc Tweak the silence infill parameters. 2016-08-10 11:50:43 +01:00
Jonathan Naylor
c67f8e861a Tweak the silence infill parameters a little more. 2016-08-09 21:20:25 +01:00
Jonathan Naylor
cd628a6005 lastFrameValid does not indicate the first frame. 2016-08-09 18:52:50 +01:00
Jonathan Naylor
443c363b1c Reset lastFrameValid when used up. 2016-08-09 17:20:26 +01:00
Jonathan Naylor
ad4cb859b5 Change the silence insertion parameters. 2016-08-09 08:11:43 +01:00
Jonathan Naylor
321246f7fc Add noisy sequence number debugging. 2016-08-09 08:06:59 +01:00
Jonathan Naylor
7e5cdea528 Removed unneeded timer reset. 2016-08-09 07:41:48 +01:00
Jonathan Naylor
04b2955e12 Increase the lost packet timeout to 400ms. 2016-08-09 07:35:31 +01:00
Jonathan Naylor
a4d8d7a121 Semi-revert to the older silence filling method. 2016-08-09 07:28:10 +01:00
Jonathan Naylor
203ec75aad Add dBm. 2016-08-09 06:46:04 +01:00
Jonathan Naylor
ecfe5dfb18 Use the correct bytes for the RSSI. 2016-08-09 06:24:13 +01:00
Jonathan Naylor
059b960959 Add RSSI reporting for DMR only. 2016-08-08 21:26:18 +01:00
Jonathan Naylor
eabf515403 Add rate 3/4 data debugging. 2016-08-08 18:05:14 +01:00
Jonathan Naylor
e458a3cb3f Fix missing audio detection. 2016-08-08 18:00:55 +01:00
Jonathan Naylor
299f53b551 Don't use someone elses infill audio! 2016-07-21 18:09:29 +01:00
Jonathan Naylor
d0ddb81c3f Avoid DMR buffer overflows, hopefully. 2016-07-21 17:46:37 +01:00
Jonathan Naylor
2a53923c9a Revert packet timer changes. 2016-07-15 06:32:56 +01:00
Jonathan Naylor
f18c505852 Increase logging level for infill messages. 2016-07-14 20:33:40 +01:00
Jonathan Naylor
49b002a463 Make silence infillinf a little looser. 2016-07-14 20:31:29 +01:00
Jonathan Naylor
9e83d23c48 Simple minded rate 3/4 FEC decoding. 2016-07-14 18:58:03 +01:00
Jonathan Naylor
ad29c5c4b6 Remove packet timer and use the elapsed timer directly. 2016-07-14 18:20:06 +01:00
Simon
53fe88bf9e Add separate blacklist/whitelist for RF and NET 2016-07-10 21:37:11 +01:00
Simon
8e6344f50c Change access control to call validateAccess 2016-07-10 18:35:23 +01:00
Simon
f313615708 Move DMR Access Control to new class. 2016-07-10 16:46:02 +01:00
Simon
66415e004e Separate DMR Access control into new class: DMRAccessControl:: 2016-07-10 11:47:23 +01:00
Simon
8ed6eb7dec Merge remote-tracking branch 'upstream/master' 2016-07-08 14:05:24 +01:00
Simon
f48b982e93 Fix bug in whitelist logic that was blocking secondary TGs 2016-07-08 14:04:15 +01:00
Jonathan Naylor
d0e118e85c Start on DMR rate 3/4 data. 2016-07-07 20:23:30 +01:00
Jonathan Naylor
e0a6229d6c Added Rate 3/4 Data debugging output. 2016-07-07 14:05:38 +01:00
Simon
cfa70a0388 more whitelist tidying 2016-07-03 18:41:08 +01:00
Simon
48c273814c More fixes to black/white list behaviour 2016-07-03 10:20:32 +01:00
Simon
3da7ebe085 Fix blacklist hit causing crash 2016-07-03 10:03:50 +01:00
Jonathan Naylor
1e994e920a Let the modem handle the null Short LC itself. 2016-06-20 18:33:04 +01:00
Jonathan Naylor
ac87d8e779 Revert terminator behaviour for hotspot users. 2016-06-20 10:01:09 +01:00
Jonathan Naylor
8b571e96de Fix terminator transmission on incoming network data. 2016-06-17 10:52:48 +01:00
Jonathan Naylor
c1fcc2f2f4 Flush the queues if new data comes in. 2016-06-17 07:37:49 +01:00
Jonathan Naylor
199109417b Abort the terminators if a valid transmission is received. 2016-06-17 07:05:37 +01:00
Jonathan Naylor
8af3016583 Add a DMR hang time for locking out disimilar calls. 2016-06-16 21:40:05 +01:00
Simon
8acd2b4073 Whitelist allow IDs should be above 99999 not 10000 2016-06-11 13:07:35 +01:00
Simon
05c1b52540 Tidyed comments 2016-06-11 09:51:18 +01:00
Simon
63584b4a3a more logging tidying for acl 2016-06-10 10:57:58 +01:00
Simon
cb9ec738e1 Tided up logging text for acl 2016-06-10 10:42:04 +01:00
Simon
352503b823 Include secondary TGs in default block for TS1 TGs 2016-06-10 10:30:54 +01:00
Simon
89836def2f Added check for null whitelist 2016-06-10 10:22:02 +01:00
Simon
03280cd4e4 Improved acl logging (added dataType) 2016-06-09 22:19:13 +01:00
Simon
06a99a4d93 blacklist 2016-06-09 22:10:04 +01:00
Simon
811d8e6c30 Blacklist and whitelist traffic from network 2016-06-09 19:33:00 +01:00
Simon
3e3bb2ce4b Fixed blacklist/whitelist logic 2016-06-07 18:05:13 +01:00
Simon
8f7aac365c fixed end of non-void 2016-06-07 15:43:02 +01:00
Simon
5d9be0368c Merge remote-tracking branch 'upstream/master' 2016-06-07 15:35:08 +01:00
Simon
ff4bd9f82e Added blacklist and whitelist for TGs 2016-06-07 15:34:16 +01:00
Jonathan Naylor
ed8ea92468 Re-add debug BER displays for D-Star and DMR. 2016-06-01 09:43:39 +01:00
Jonathan Naylor
11907162e7 Increase the output queue size. 2016-05-10 18:54:35 +01:00
Jonathan Naylor
bd5946ccd2 Add a display hang time so quick transmissions aren't missed. 2016-05-09 18:14:27 +01:00
g0wfv
22a85b1455 Buying Jon a dictionary for Xmas ;) 2016-05-04 19:03:23 +01:00
Jonathan Naylor
27abecd31d Change timings to match a real repeater. 2016-05-03 21:18:44 +01:00
Jonathan Naylor
52de9f3970 Fix spelling mistakes. 2016-05-03 13:58:34 +01:00
Jonathan Naylor
1204ce30b6 Lookup CSBK id's to callsigns. 2016-04-28 10:32:11 +01:00
Jonathan Naylor
52ebde068a Remove some error messages, they confuse people! 2016-04-28 09:58:45 +01:00
Jonathan Naylor
dc3fed940c Remove AMBE FEC BER messages for DMR and D-Star. 2016-04-27 06:43:47 +01:00
Jonathan Naylor
a5c61cce24 Fix the elapsed counters. 2016-04-26 19:10:45 +01:00
Jonathan Naylor
029c7cf8f9 Handle empty data transmission and multiple data headers. 2016-04-26 18:22:47 +01:00
Jonathan Naylor
740aa174c3 Reduce the logging of lost network audio. 2016-04-26 18:05:18 +01:00
Jonathan Naylor
f7b0acd749 Convert network data to pass std::strings to the display. 2016-04-21 15:21:39 +01:00
phl0
23738d97f6
Change variable types for strings used in writeDMR 2016-04-21 14:01:53 +02:00
Jonathan Naylor
adf90f9381 Small fixes for DMR data modes. 2016-04-19 19:46:16 +01:00
Jonathan Naylor
646ae93c09 Increase the size of the RF queues. 2016-04-19 18:06:39 +01:00
phl0
5b144203d9 Add destination call lookup to display output as well 2016-04-15 15:35:45 +02:00
phl0
8cd2784529 Add lookup of destination call to log output 2016-04-15 15:24:57 +02:00
Jonathan Naylor
8eb564ba37 Translate DMR Id to callsign from a file. 2016-04-12 18:26:13 +01:00
Jonathan Naylor
371684ae03 Add black list functionality for D-Star and DMR. 2016-04-06 18:46:05 +01:00
Jonathan Naylor
f7e2cff004 Use the STL find function instead of an iterator. 2016-04-06 17:24:14 +01:00
Jonathan Naylor
a2130421a9 Add DMR prefix checking. 2016-04-04 19:03:38 +01:00
Jonathan Naylor
ea51eee15c Allow for locking the MMDVM to the callsign or id of the
repeater/hostspot.
2016-04-04 17:40:05 +01:00
Jonathan Naylor
4c80f52131 Standardise the number of headers transmitted. 2016-03-29 18:06:17 +01:00
Jonathan Naylor
49a278a952 Add the BER and a future RSSI to the DMR data. 2016-03-23 17:30:06 +00:00
Jonathan Naylor
4760f7aa64 More work on DMR Data Header block counts. 2016-03-15 22:46:36 +00:00
Jonathan Naylor
0a8c633ff5 Handle data headers with zero blocks to follow. 2016-03-15 20:28:19 +00:00
Jonathan Naylor
3f61e9a287 Handle group transmissions of Preamble CSBKs. 2016-03-14 21:22:09 +00:00
Jonathan Naylor
2cfb1f458e Improve timing within the protocol engines. 2016-03-14 20:55:15 +00:00
Jonathan Naylor
1d4443eafd Changes to improve DMR data efficiency. 2016-03-14 20:43:04 +00:00
Jonathan Naylor
43fdf57169 Display the contents of all DMR data transmission types. 2016-03-14 20:14:08 +00:00
Jonathan Naylor
0c80931d6f Better logging of CSBK information. 2016-03-14 17:33:05 +00:00
Jonathan Naylor
2298a7b1b3 Only transmit the data header once over RF. 2016-03-11 06:50:06 +00:00
Jonathan Naylor
d633dfa020 Temporarily disable DMR data header regeneration. 2016-03-10 21:52:25 +00:00
Jonathan Naylor
f824f044a3 Revert "Remove rate 1/2 data regeneration."
This reverts commit bd338df210.
2016-03-10 17:18:40 +00:00
Jonathan Naylor
bd338df210 Remove rate 1/2 data regeneration. 2016-03-10 12:27:25 +00:00
Jonathan Naylor
12fb99c00a Add more asserts to catch bugs. 2016-03-07 20:21:55 +00:00
Jonathan Naylor
bfb74d3155 Add extra debughing of the output queues. 2016-03-07 18:08:50 +00:00
Jonathan Naylor
05e720a635 Make the TFT Serial display look reasonable. 2016-03-03 21:27:03 +00:00
Jonathan Naylor
96589f8a7e Only use the AMBE silence frame if it's AMBE data! 2016-03-03 09:18:52 +00:00
Jonathan Naylor
6090f1f8fd Add the Embedded LC to the fill-in audio. 2016-03-01 19:04:04 +00:00
Jonathan Naylor
4b77e3fa96 Add regeneration of Embedded LCs. 2016-02-29 07:27:10 +00:00
Jonathan Naylor
8846123afb Fix the RF count of N. 2016-02-29 06:51:34 +00:00
Jonathan Naylor
2502d6ba78 Remove sync-less data handling. 2016-02-29 06:41:19 +00:00
Jonathan Naylor
bea76da41f Add special data spacer/termination after data transmission. 2016-02-28 18:22:17 +00:00
Jonathan Naylor
b6adf6931d Regularise the sending of headers and timeouts. 2016-02-28 17:40:15 +00:00
Jonathan Naylor
14a30286c7 Final changes for splitting the state machines. 2016-02-28 17:18:13 +00:00
Jonathan Naylor
b3d5bec4ad Regenerate the PI Header. 2016-02-25 19:59:09 +00:00
Jonathan Naylor
ddcde1d8e3 Split RF and network statues for all modes. 2016-02-25 19:54:18 +00:00
Jonathan Naylor
f29f48503e Regenerate the rate 1/2 data payload. 2016-02-24 07:37:58 +00:00
Jonathan Naylor
e0e1844aa5 Small change to DME AMBE FEC. 2016-02-24 07:29:05 +00:00
Jonathan Naylor
1d93f72b52 Handle sync-less data frames. 2016-02-23 21:01:14 +00:00
Jonathan Naylor
6792894c00 Remove unneeded debug statements. 2016-02-23 06:26:54 +00:00
Jonathan Naylor
0881df603d Regenerate the header structures and fix the data header. 2016-02-22 18:12:24 +00:00
Jonathan Naylor
63aa53c705 Fix the CCITT16 checksums for CSBK, DMR Data and D-Star Headers. 2016-02-18 21:56:26 +00:00
Jonathan Naylor
9a3fe18e91 Improve silence fillin messages. 2016-02-18 19:57:11 +00:00
Jonathan Naylor
56935be5e1 Add FEC BER debugging statements. 2016-02-18 18:18:37 +00:00
Jonathan Naylor
360ca91de0 Upgrade the TFT Serial display driver and displayed information. 2016-02-16 18:30:12 +00:00
Jonathan Naylor
1bfa3688c0 Add debugging to the ring buffers. 2016-02-15 20:18:30 +00:00
Jonathan Naylor
5185a0c245 Renamed DMR protocol files. 2016-02-15 18:45:57 +00:00
Jonathan Naylor
656be113f5 Allow half-duplex DMR for use with hotspot hardware. 2016-02-15 18:01:21 +00:00
Jonathan Naylor
fb3d76787a Add RF end of transmission when either RF or network is lost. 2016-02-07 20:12:24 +00:00
Jonathan Naylor
aa1a45394a Simplify mode changes. 2016-02-02 18:17:36 +00:00
Jonathan Naylor
2947888cad Add the status ack to D-Star. 2016-02-01 20:49:52 +00:00
Jonathan Naylor
279a709793 Add duration to the log messages. 2016-02-01 18:07:12 +00:00
Jonathan Naylor
b48d0b9b90 Change the silence infill for DMR and D-Star. 2016-01-28 06:50:54 +00:00
Jonathan Naylor
fd42b2971e Hopefully fix crashes due to divide by zero. 2016-01-27 20:14:02 +00:00
Jonathan Naylor
43731690f4 Calculate the correct BER. 2016-01-27 20:05:28 +00:00