Commit graph

180 commits

Author SHA1 Message Date
m0vse 9796b400c8 Add enable/disable commands to RemoteCommand 2020-05-02 21:40:55 +01:00
Jonathan Naylor 4a923fb27e Rename RXBoost to RFAudioBoost. 2020-04-28 14:39:14 +01:00
Jonathan Naylor 70ca7c06dd Pass the RX level to the FM controller. 2020-04-26 21:50:03 +01:00
Jonathan Naylor 56746e1320 Add the maximum deviation level. 2020-04-25 22:43:14 +01:00
Jonathan Naylor 3d1602e50e Add two more FM parameters. 2020-04-25 15:15:56 +01:00
Jonathan Naylor fbdee0edf1 Remove the FM RX level. 2020-04-24 12:59:33 +01:00
Jonathan Naylor 0d956b16fa Add a second callsign level setting. 2020-04-22 21:51:43 +01:00
Jonathan Naylor 93effcad3d Convert the CTCSS threshold to a raw value. 2020-04-20 13:21:56 +01:00
Jonathan Naylor cb732c9a62 Only allow FM mode in full duplex. 2020-04-19 16:11:55 +01:00
Jonathan Naylor c359d874b5 Regularise the FM configuration. 2020-04-18 14:59:19 +01:00
Jonathan Naylor 11cd5679a7 Simplify the FM configuration. 2020-04-18 13:43:36 +01:00
Jonathan Naylor 960a60f382 Pass the net ack text to the modem. 2020-04-14 12:22:23 +01:00
Jonathan Naylor 1f17aec1f1 Add the minimum time for a 'K' parameter. 2020-04-13 15:53:18 +01:00
Jonathan Naylor 211e96a86d Convert to percentages. 2020-04-12 16:01:28 +01:00
Jonathan Naylor 927f31cdfa Move the levels to the overall MMDVM control message. 2020-04-12 15:10:51 +01:00
Jonathan Naylor dcdfca39d7 Add FM mode display. 2020-04-11 20:42:05 +01:00
Jonathan Naylor 8cd75ce787 Add the FM repeater modem parameter writes. 2020-04-09 22:55:20 +01:00
Daniel Caujolle-Bert 5686942519
Identify OpenGD77 hotspot. 2020-01-08 10:58:41 +01:00
Andy CA6JAU 0b9c1b1362 Support for D2RG MMDVM_HS 2019-05-29 21:22:53 -04:00
Andy CA6JAU 5de3beef61 Merge branch 'master' of https://github.com/g4klx/MMDVMHost 2018-12-10 14:23:03 -03:00
Andy CA6JAU e1f3567d08 Set POCSAG frequency when POCSAG is enabled 2018-12-10 14:22:44 -03:00
Shawn Chain fba77bb95e Add NullModem support 2018-12-07 17:36:11 +08:00
Jonathan Naylor 4bf15438d5 Integrate the new messages into the OLED display driver. 2018-10-31 16:54:57 +00:00
Jonathan Naylor 1a971e3986 Add the new DVMEGA-Cast messages to the Modem. 2018-10-31 15:38:56 +00:00
root 574343c439 Process data from display to MMDVMHost (serial pass-through & transparent data)
also taking into account the sendFrameType parameter
Do not control Nextion backlight when active brightness is zero
2018-09-13 20:35:12 +02:00
Andy CA6JAU 713d12e5a4 Fix modem re-connect crash 2018-08-20 00:12:38 -03:00
root 86fb3b6944 New option SendFrameType so one can send transparent data also to the modem serial port.
If set, one then has to specify the frame type (0x80 for modem serial of 0x90 for transparent data) as first byte af the message.
2018-08-13 20:39:16 +02:00
Jonathan Naylor 9cb7790bf9 Clean up the code for Windows and style. 2018-07-30 18:19:46 +01:00
Shawn Chain d715470b1c Extract I2C logic from SerialController to separate class 2018-07-30 21:58:35 +08:00
Jonathan Naylor 03682b000a Clean up the I2C code. 2018-07-19 18:42:23 +01:00
Hootie81 40db88d5f8 modified: Conf.cpp
modified:   Conf.h
	modified:   MMDVMHost.cpp
	modified:   Modem.cpp
	modified:   Modem.h
	modified:   SerialController.cpp
	modified:   SerialController.h
2018-07-19 13:09:00 +00:00
Jonathan Naylor 177a69f547 Allow for older firmwares to report their statuses. 2018-07-06 06:48:50 +01:00
Jonathan Naylor ca15dca23d Check the size of the getStatus return message. 2018-06-26 18:28:50 +01:00
Jonathan Naylor 413a44e088 Add the POCSAG frequency to the modem protocol (for hotspots). 2018-06-12 19:40:49 +01:00
Jonathan Naylor 84dd3bf887 POCSAG bug fixing. 2018-06-12 19:14:22 +01:00
Jonathan Naylor 2a0364a6d4 nitial commit of POCSAG files. 2018-06-07 18:46:03 +01:00
Jonathan Naylor 31beeee604 Add the YSF TX hang parameter. 2018-05-21 21:32:33 +01:00
Andy CA6JAU 8a4faf05ab Support for Nano DV board 2018-05-05 10:42:01 -03:00
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