Commit graph

142 commits

Author SHA1 Message Date
phl0
c7d2666f33
Merge remote-tracking branch 'upstream/master' into mmdvmHsDualHat 2018-03-22 16:27:58 +01:00
Jonathan Naylor
52ec2f205c Add modem transparent modem data mode. Not used on the MMDVM currently. 2018-03-22 07:13:13 +00:00
phl0
150dfca7a2
Add support for MMDVM_HS_Dual_Hat 2018-03-05 22:04:01 +01:00
Andy CA6JAU
cc23ac9708 Merge branch 'master' into nxdn 2018-02-14 12:19:43 -03:00
Andy CA6JAU
084a26c961 DMR string identification suport for BI7JTA hotspot 2018-02-14 12:18:34 -03:00
Jonathan Naylor
b2586654a2 Initial commit of NXDN scaffolding. 2018-01-11 19:35:33 +00:00
Andy CA6JAU
1c77275bf4 Fix setFrequency() length for DVMega 2018-01-01 23:19:27 -03:00
Andy CA6JAU
1805a98f72 RF power level control for MMDVM_HS compatible devices 2017-12-30 12:05:11 -03:00
Andy CA6JAU
e425bdcbc0 Adding support for new MMDVM_HS hardware description strings 2017-12-26 18:10:47 -03:00
CT2JAY
a0392b1221 Change variables names - MMDVM_HS wines! 2017-11-16 19:57:11 +00:00
CT2JAY
ee6b54fda2 Fix "Unknown \(MMDVM\)" to appear as "MMDVM_HSHat \(MMDVM\)" with ZumSZUMspot\/MMDVM_HS 2017-11-16 19:39:20 +00:00
Jonathan Naylor
6860aed85b Fixes for OSX serial writing. 2017-11-15 11:10:12 +00:00
Jonathan Naylor
066e5f0270 Add the optional RX DC Offset parameter. 2017-10-28 12:37:32 +01:00
Jonathan Naylor
0efaf55102 Update the length parameter. 2017-08-20 12:49:32 +01:00
Jonathan Naylor
9a7828566d Add an optional transmi DC offset value. 2017-08-20 12:07:57 +01:00
g0wfv
5e91c1159f Add Tx and Rx frequency offsets
Enables specification of independant Tx and Rx offsets in Hz for Tx and Rx frequencies on DVMega and MMDVM_HS hardware.

Tx and Rx frequencies no longer have to be offset for frequency errors in ADF7021 devices and dashboards (BM/DMR+) will now display intended frequencies.
2017-06-14 16:46:00 +01:00
Jonathan Naylor
c1521ee445 Allow the MMDVM levels to be specified as floating point values. 2017-06-02 16:34:55 +01:00
Jonathan Naylor
6c5ab7e49e Increase delay between modem tries. 2017-05-19 08:12:11 +01:00
Jonathan Naylor
9ac4919a4c Move modem tracing to Trace and add a new modem Debug function. 2017-04-14 14:05:30 +01:00
Jonathan Naylor
dd2db36409 Remove unused sample dumping code. 2017-04-10 17:54:12 +01:00
Jonathan Naylor
1a6f282782 Add YSF low deviation mode. 2017-03-23 20:26:17 +00:00
Jonathan Naylor
29d0fecbb8 Fix OscOffset removal bug. 2017-03-09 07:54:32 +00:00
Jonathan Naylor
d51b7261cf Remove the OscOffset parameter. 2017-03-07 20:38:06 +00:00
Jonathan Naylor
36eeb6c224 Fix data dumping length bug. 2017-02-28 08:25:23 +00:00
Jonathan Naylor
e5228109d0 Remove sync sample dumping. 2017-02-21 17:47:05 +00:00
Jonathan Naylor
fc477d9abf Add full frame file dumping. 2017-02-20 21:36:35 +00:00
phl0
980dde5da6
Fix label 2017-02-13 12:49:25 +01:00
Jonathan Naylor
35ab182c9b Fix formatting. 2017-02-13 08:53:33 +00:00
Jonathan Naylor
f0387d25dd Add BER display to the Nextion and reduce Talker Id logging. 2017-02-12 18:37:00 +00:00
Jonathan Naylor
11d679e088 Fix bug in samples dumping code. 2017-02-02 20:07:43 +00:00
Jonathan Naylor
144b743401 Add sample dumping. 2017-01-31 20:07:35 +00:00
Andy CA6JAU
b71c2ad39f Fix ADC overflow message 2016-11-19 10:53:49 -03:00
Andy CA6JAU
2aa7018e1d Fix ADC overflow message 2016-11-19 10:18:03 -03:00
Jonathan Naylor
6228f1ff2d Change decode to be a bit. 2016-11-17 16:04:32 +00:00
phl0
8373dc0b8a
Add CD LED functionality to MMDVMHost 2016-11-17 11:48:42 +01:00
Jonathan Naylor
878b4d6d73 Add controls for the CW Id level. 2016-10-10 17:46:37 +01:00
Jonathan Naylor
178e104d44 Allow the modem to host a serial display. 2016-10-06 18:38:16 +01:00
Jonathan Naylor
018b6e4dec Cleanups to the Modem and Reed-Solomon code. 2016-09-27 07:56:00 +01:00
Jonathan Naylor
55a34bc995 Remove the P25 debugging code. 2016-09-22 19:43:55 +01:00
Jonathan Naylor
30467a749c Fix wrong positions of the status bits. 2016-09-13 06:24:06 +01:00
Jonathan Naylor
34e0d10343 A semi-working P25 repeater without much FEC. 2016-09-12 23:26:05 +01:00
Jonathan Naylor
22d2d074c4 Start adding P25 frame (dis)assembly and repeater logic. 2016-09-08 21:27:21 +01:00
Jonathan Naylor
dc2028dd6a Start full host support got P25. 2016-09-08 18:38:59 +01:00
Jonathan Naylor
694fe6b7af Fix length overflow for P25 LDU packets. 2016-09-07 06:54:54 +01:00
Jonathan Naylor
5dec3b5a6d Initial P25 test support. 2016-09-06 19:09:46 +01:00
Jonathan Naylor
d84b3cbd7d Identify an MMDVM in DMO mode for DMR network reporting. 2016-09-05 17:40:43 +01:00
Jonathan Naylor
d6466f6e94 Restore the simplex flag setting. 2016-08-25 17:23:45 +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
dd45dae63d Add the duplex flag. 2016-08-23 07:30:55 +01:00
Jonathan Naylor
f1f69bb4ee Add independent mode output levels. 2016-08-09 07:08:37 +01:00
Jonathan Naylor
c82ce29586 Fix D-Star space calculations. 2016-07-20 07:27:38 +01:00
Jonathan Naylor
c63ce4897e Improve D-Star modem overflow logging. 2016-07-18 17:54:02 +01:00
Jonathan Naylor
33d78bc3bd Add extra debugging to D-Star transmissions. 2016-07-13 07:19:08 +01:00
Jonathan Naylor
25dddc18f4 Remove the level adjustments. 2016-07-07 17:40:41 +01:00
Jonathan Naylor
05e08a232f Keep the SET_CONFIG command unchanged for DVMegas. 2016-06-22 20:42:14 +01:00
Jonathan Naylor
768e3efcad Add fine adjustments to DMR/YSF thresholds. 2016-06-21 07:26:11 +01:00
Jonathan Naylor
9240550de6 Allow for the fine adjustment of levels. 2016-06-20 22:04:44 +01:00
Jonathan Naylor
c1fcc2f2f4 Flush the queues if new data comes in. 2016-06-17 07:37:49 +01:00
Jonathan Naylor
89fa0a0c8d Detect DAC overflows. 2016-06-09 19:51:23 +01:00
Jonathan Naylor
eba4ddeb2a Use the Thread class for delays. 2016-06-06 17:40:27 +01:00
Tony Corbett G0WFV
0db3cf10e8 Attempt to solve one cause of "No reply from modem" loop
"err 101" (network unreachable - effectively cant get to the master because we've lost the network)

This needs trapping and handling properly to smooth the way it currently tries to send from the socket as quickly as it can (effectively every millisecond) until the network is restored,  then does the same for "Opening IPSC" every millisecond or less until the login either times out (in which case I've edited the code to tell it to retry!) or logs into the master successfully.

This error also causes the "no reply from modem loop, however this is now trapped in all cases if the firmware is read successfully by stopping the inactivity timer, allowing the software to continue reading the modem.

It works for this particular error, but others may need to test!
2016-05-14 11:39:56 +01:00
Jonathan Naylor
35632e0255 Remove a compiler warning. 2016-05-10 06:34:53 +01:00
Jonathan Naylor
68d58a3de6 Add the CW Id. 2016-05-09 21:55:44 +01:00
Jonathan Naylor
ed6586fa58 Split the DMR TX hang time from the mode hang time. 2016-05-05 17:56:18 +01:00
Jonathan Naylor
d94324899a Improve the start of the modem. 2016-04-14 19:03:51 +01:00
Jonathan Naylor
7c1fc0fbd0 Read the status early to avoid timeouts. 2016-04-13 08:14:30 +01:00
Jonathan Naylor
3a5b6c2798 Increase the modem inactivity timeout a little. 2016-04-13 07:51:43 +01:00
Jonathan Naylor
8f836716b8 COnvert to handling new style YSF data from the modem. 2016-04-12 21:33:16 +01:00
Jonathan Naylor
582775aeed Add a playout timer to avoid flooding the modem with data. 2016-03-31 11:42:12 +01:00
Jonathan Naylor
d3f8e65dd8 Slow down the modem status polling. 2016-03-29 17:56:30 +01:00
Jonathan Naylor
b19c46ff2c Add an error display. 2016-03-21 22:47:58 +00:00
Jonathan Naylor
a3c25766c0 Handle any frequency offset in the oscillator. 2016-03-21 21:50:45 +00:00
Jonathan Naylor
dc08c18db7 Handle the slow delivery of serial data from the modem better. 2016-03-21 18:16:58 +00:00
Jonathan Naylor
471b8165c9 Rationalisation of debugging messages. 2016-03-17 22:46:37 +00:00
Jonathan Naylor
efa9ec1977 Add DMR slot delay parameter. 2016-03-17 18:12:14 +00:00
Jonathan Naylor
337ec7dc97 More warning messages for pathological modems. 2016-03-17 17:54:37 +00:00
Jonathan Naylor
40def7dd70 Drain the serial queue of invalid data. 2016-03-16 08:08:28 +00:00
Jonathan Naylor
702ea80edf More intelligent handling of badly formed modem messages. 2016-03-16 07:56:27 +00:00
Jonathan Naylor
91c8cf6313 Change timing for Due reset in case of error. 2016-03-14 17:35:24 +00:00
Jonathan Naylor
12fb99c00a Add more asserts to catch bugs. 2016-03-07 20:21:55 +00:00
Jonathan Naylor
560433e7ef Add lockout mode. 2016-03-03 18:01:01 +00:00
Jonathan Naylor
0881df603d Regenerate the header structures and fix the data header. 2016-02-22 18:12:24 +00:00
Jonathan Naylor
6c0c553a47 Debugging the set frequency command. 2016-02-18 19:29:28 +00:00
Jonathan Naylor
9125f7428c Add frequency setting to the MMDVM modem protocol. 2016-02-18 17:37:23 +00:00
Jonathan Naylor
07d07a5397 Put in modem inactivity timer and resetting code. 2016-02-16 17:31:28 +00:00
Jonathan Naylor
1bfa3688c0 Add debugging to the ring buffers. 2016-02-15 20:18:30 +00:00
Jonathan Naylor
9ccc86050a Debugging D-Star. 2016-02-01 21:44:40 +00:00
Jonathan Naylor
2cef149785 More intelligent D-Star space checking in the MMDVM driver. 2016-01-18 19:37:08 +00:00
Jonathan Naylor
636dd5a112 Use C++11 <cstdint> on Windows. 2016-01-14 23:25:52 +00:00
Jonathan Naylor
bab0c3492a Log buffer overflows from the modem and handle master reboots cleanly. 2016-01-14 19:26:06 +00:00
Jonathan Naylor
d34d85c04b Initial commit 2016-01-14 18:45:04 +00:00