Commit graph

378 commits

Author SHA1 Message Date
Jonathan Naylor
8d9cfb0f46 Add YSF DSQ support. 2017-08-13 10:30:02 +01:00
Jonathan Naylor
194b543b32 Merge pull request #313 from phl0/makeAckTimeAdjustable
Make AckTime adjustable
2017-06-16 08:27:18 +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
phl0
f0fc7c7ec9
Make AckTime adjustable 2017-06-14 12:54:44 +02:00
Jonathan Naylor
043ffe96d9 Make the D-Star ack optional. 2017-06-10 13:18:18 +01:00
g0wfv
bd3d3d68ab Correct grammar in a couple of error messages!
You wouldn't believe English is my first language sometimes!
2017-06-08 11:44:01 +01:00
g0wfv
d51ba994c9 Add SIGINT handling and alter termination signal logging 2017-06-08 10:19:28 +01:00
Jonathan Naylor
c1521ee445 Allow the MMDVM levels to be specified as floating point values. 2017-06-02 16:34:55 +01:00
phl0
ef05fcb62b
Re-add log notification about root privileges 2017-05-04 10:37:45 +02:00
phl0
aeff127015
Restore accidentially? deleted line (See Issue #298) 2017-05-03 23:39:11 +02:00
Jonathan Naylor
e9e8745aa7 Cleaning up indenting. 2017-05-03 14:53:48 +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
0fe100b01c Fix some indentation. 2017-04-11 19:26:44 +01:00
Jonathan Naylor
99d57bf102 Allow for optional seperate (and longer) CW Ids. 2017-04-10 17:55:53 +01:00
Jonathan Naylor
dd2db36409 Remove unused sample dumping code. 2017-04-10 17:54:12 +01:00
Jonathan Naylor
c0571edb0b Modify the P25 UID check slightly. 2017-03-29 20:46:27 +01:00
Ryan Butler
aae96a1caf This adds the ability to override the UID checking in P25 code to force 7 digit IDs.
Jonathan added this code due to a lack of CRC on P25 checking but some parties desire the ability to have any id.

It's understood that on networked connections, the need to use a 7 digit unique ID like the DMR ID is necessary.

This change is affected by adding a new parameter to the [P25 Network] section called OverrideUIDCheck and it defaults to 0.

The logic is, if the network is enabled, or if the network is disabled and the override is disabled, the check is made, otherwise it is not.

This has been field tested for all 4 configuration cases and found to work as described above.
2017-03-29 10:18:54 -05:00
Jonathan Naylor
1a6f282782 Add YSF low deviation mode. 2017-03-23 20:26:17 +00:00
George Smart
9d71de3ae0 Changed to output git ID on --version
Changed from --git to --version option for showing the GitID.
2017-03-13 19:17:16 +00:00
George Smart
e26fdd6030 Added -g and --git options to MMDVMHost binary
Added -g and --git options to MMDVMHost binary, which then enable this to be called by the Dashboard, etc. Since the -v --version flag is parsed already, amending that flag could cause version mismatch issues.
2017-03-13 17:12:15 +00:00
Jonathan Naylor
d7b8170364 Change of DMR timeout behaviour. 2017-03-12 19:06:47 +00:00
Jonathan Naylor
6844085db3 Updated the copyright dates. 2017-03-10 08:41:56 +00:00
George Smart
1cb9db0e4d corrected case 2017-03-10 04:22:33 +00:00
George Smart
d3377e776c Added Git Version number (*NIX only) 2017-03-09 20:55:41 +00:00
Jonathan Naylor
d51b7261cf Remove the OscOffset parameter. 2017-03-07 20:38:06 +00:00
Jonathan Naylor
edd6708930 Don't send a CW Id at the end of a lockout. 2017-03-07 13:39:41 +00:00
Jonathan Naylor
1dbaec9331 Increase TA and GPS to message level, and allow it to be controlled from
the ini file.
2017-02-27 20:17:55 +00:00
Jonathan Naylor
fc477d9abf Add full frame file dumping. 2017-02-20 21:36:35 +00:00
Jonathan Naylor
ac22f0b783 Add an optional error reply for D-Star. 2017-02-16 19:49:58 +00:00
phl0
8ffdb9bd20
Optional non Embedded LC data suppression 2017-01-16 13:10:23 +01:00
Jonathan Naylor
af721f89e2 Add RSSI display for all modes. 2017-01-05 19:15:10 +00:00
Jonathan Naylor
aac48cb58f Use a linear interpolator for the reported RSSI values. 2016-12-21 19:58:46 +00:00
Jonathan Naylor
59080e1bd7 Complete the restructuring of the DMR access control. 2016-12-21 19:06:29 +00:00
Jonathan Naylor
a28508b8b1 Initial removal of TG rewrite code. 2016-12-21 18:06:43 +00:00
Jonathan Naylor
beb9a7d545 Handle failed displays more gracefully. 2016-11-22 07:52:47 +00:00
phl0
8373dc0b8a
Add CD LED functionality to MMDVMHost 2016-11-17 11:48:42 +01:00
Jonathan Naylor
bc5478974f Don't drop priveliges for OLED displays. 2016-11-13 14:45:12 +00:00
Jonathan Naylor
eacc588636 Validate the wake up CSBK correctly. 2016-11-10 18:43:54 +00:00
Jonathan Naylor
b69336dca1 Clean up the OLED configuration. 2016-11-03 21:43:29 +00:00
Jonathan Naylor
34538d8b3f Add the optional DMR network options command. 2016-11-03 19:27:52 +00:00
Jonathan Naylor
015896a299 Add the host support for the UMP. 2016-11-03 19:07:44 +00:00
Tony Corbett G0WFV
44e8f6717a LCDproc: Make dimming the status screen optional
If you run another LCDproc client that doesn't dim the display when it displays its info, the display will effectively flash on and off (or dim/bright depending on your LCDd configuration) as it switches screens between MMDVMHost and the other client(s).

Making the dimming optional and turning it off in the host stops this "annoyance".
2016-10-29 22:07:54 +03:00
Tony Corbett G0WFV
627e4f1dc3 Initial LCDproc support 2016-10-28 13:22:20 +01:00
Jonathan Naylor
36ce3f18f4 Alter CW Id timing behaviour. 2016-10-17 18:01:38 +01:00
Jonathan Naylor
40c086bad8 Load the DMR Id lookup table periodically. 2016-10-10 19:15:30 +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
fd7931310e Remove unneeded RSSI code for non DMR protocols. 2016-09-27 19:55:36 +01:00
Jonathan Naylor
25cfff3ada Merge branch 'master' into P25 2016-09-27 19:47:07 +01:00
Jonathan Naylor
9408367a0f Allow for remote System Fusion gateway operation. 2016-09-26 18:07:06 +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
phl0
a88413014e
Merge remote-tracking branch 'upstream/master' into CW2display 2016-09-16 23:43:57 +02:00
Simon
b6f4842b7f Completed TG Rewrite, added config options. 2016-09-15 20:41:14 +01:00
phl0
28775026d4
Add timer to return from CW Ident 2016-09-15 15:17:51 +02:00
phl0
4e1b002665
Reset display to idle after CW transmission 2016-09-15 14:01:42 +02:00
Jonathan Naylor
9423fb25a6 Add P25 networking, and rename DMR network files. 2016-09-14 07:41:37 +01:00
Jonathan Naylor
34e0d10343 A semi-working P25 repeater without much FEC. 2016-09-12 23:26:05 +01:00
Jonathan Naylor
434cee8ce0 Merge branch 'master' into P25 2016-09-10 14:58:41 +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
e04d76584e Configurable DMR jitter buffer. 2016-09-06 19:42:15 +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
3214cf8504 Add RSSI logging to D-Star and YSF. 2016-08-09 20:05:35 +01:00
Jonathan Naylor
f1f69bb4ee Add independent mode output levels. 2016-08-09 07:08:37 +01:00
Jonathan Naylor
059b960959 Add RSSI reporting for DMR only. 2016-08-08 21:26:18 +01:00
Tony Corbett G0WFV
9820b66a9e Add I2C device address in startup info
If using an LCD connected via I2C, display the configured I2C device address rather than the pins as the host starts up.
2016-07-18 10:20:31 +01:00
Simon
53fe88bf9e Add separate blacklist/whitelist for RF and NET 2016-07-10 21:37:11 +01:00
Jonathan Naylor
25dddc18f4 Remove the level adjustments. 2016-07-07 17:40:41 +01:00
Tony Corbett G0WFV
8801355ace Change incorrect variable type to unsigned int 2016-06-30 20:35:32 +01:00
Tony Corbett G0WFV
ce367f73cb Make I2C address configurable for HD44780 LCD variations
Also add a basic README with some pointers on how to connect and configure the LCDs
2016-06-30 20:10:30 +01:00
Tony Corbett G0WFV
da53f06197 Time/date format by system locale (HD44780 & Nextion) 2016-06-24 16:08:28 +01:00
Jonathan Naylor
6745168688 Make the Nextion idle brightness level configurable. 2016-06-24 10:33:28 +01:00
phl0
6628a613e8
Merge remote-tracking branch 'upstream/master' into DimOnIdle 2016-06-24 10:14:38 +02:00
phl0
7e906f3fdd
Add Config option to dim Nextion display in idle
state
2016-06-24 09:30:46 +02:00
Jonathan Naylor
05e08a232f Keep the SET_CONFIG command unchanged for DVMegas. 2016-06-22 20:42:14 +01:00
Jonathan Naylor
10e3a85691 Add seperate RF and Network mode timeouts. 2016-06-22 18:03:56 +01:00
phl0
0e36abafc3
Transfer date separator settings to HD44780 code 2016-06-22 12:09:56 +02:00
phl0
2bd75c1cff
Add dot as date separator 2016-06-22 11:51:41 +02: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
8af3016583 Add a DMR hang time for locking out disimilar calls. 2016-06-16 21:40:05 +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
139f62f57e Merge remote-tracking branch 'upstream/master' 2016-06-10 09:58:31 +01:00
Simon
c4384bffe1 fixed typo in blacklist/whitelist logging 2016-06-09 22:13:55 +01:00
Jonathan Naylor
5a2c569887 Updates to support the YSF Reflector. 2016-06-07 21:17:57 +01:00
Simon
34f6e7a202 Logging at blacklist and whitelist initiation 2016-06-07 18:09:57 +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
eba4ddeb2a Use the Thread class for delays. 2016-06-06 17:40:27 +01:00
afg
6c805b7a2f solved no CW-ID 2016-06-03 16:28:55 +02:00
Jonathan Naylor
dad34ada69 Add the idle clock to the Nextion display. 2016-06-01 11:55:24 +01:00
Tony Corbett
35c0a83d37 Add a clock to the idle screen 2016-05-28 23:29:30 +03:00
Jonathan Naylor
d474328c58 Modify the 3.5" Nextion display to make it the same as the others. 2016-05-23 18:36:53 +01:00
Jonathan Naylor
9ed2c00b0c First go at System Fusion networking. 2016-05-16 21:57:32 +01:00
Jonathan Naylor
1d5ed691c4 Remove the System Fusion parrot. 2016-05-16 18:28:24 +01:00
Tony Corbett G0WFV
2256b8d025 Add word version to output 2016-05-15 07:06:38 +01:00
Tony Corbett G0WFV
2723e0c842 Capture bad command line arguments 2016-05-15 06:59:09 +01:00
Tony Corbett G0WFV
db8adfcfe0 Clean up tabbing 2016-05-14 23:31:33 +01:00
Tony Corbett G0WFV
4d44936e14 Remove the version from STDERR messages and add -v | --version flag 2016-05-14 23:26:16 +01:00
Tony Corbett G0WFV
d772c76b6e Add VERSION to STDERR and log messages that output the string MMDVMHost
They now output the string MMDVMHost-yyymmdd

a) for completeness 

and;

b) to quickly output the version number by calling the host executable with no arguments so Kim can easily grab it for his dashboard.

I did think about a -v|--version argument, but this was much simpler for the purpose.
2016-05-14 21:31:17 +01:00
Jonathan Naylor
3ebebf7f1c Stop sending the CW Id after a DMR transmission. 2016-05-13 10:32:41 +01:00
Jonathan Naylor
d09b2fa30b Send the CW Id after a DMR transmission. 2016-05-12 18:04:50 +01:00
Jonathan Naylor
62aa7a8103 Reduce the amount of logging a little. 2016-05-10 18:26:52 +01:00
Rudy Hardeman
426a6dcf6b Merge branch 'master' of https://github.com/g4klx/MMDVMHost into SSD1306 2016-05-10 15:33:24 +00:00
Rudy Hardeman
7271ac0766 Initial version
DMR works
2016-05-10 15:08:06 +00:00
Jonathan Naylor
68d58a3de6 Add the CW Id. 2016-05-09 21:55:44 +01:00
Jonathan Naylor
bd5946ccd2 Add a display hang time so quick transmissions aren't missed. 2016-05-09 18:14:27 +01:00
Jonathan Naylor
06825ca502 Fix Linux compile error. 2016-05-05 18:06:05 +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
dd5e86a66d Use the duplex flag to indicate that a DVMega is being used. 2016-05-05 17:08:23 +01:00
Tony Corbett
5735209394 Better usage of display with DVMega 2016-05-05 16:13:06 +01:00
Tony Corbett G0WFV
f31a8815cb Forgot MMDVMHost.cpp! 2016-05-05 14:52:49 +01:00
Simon
2d366a624e Changed all daemon logs to LogWarning() for consistency. 2016-05-05 11:11:44 +01:00
Simon
8195ee9f34 Changed LogMessage() to LogWarning when we can't setuid() in daemon mode 2016-05-05 10:53:19 +01:00
Simon
3617199399 Added check to see if HD44780 is enabled and disable setuid() if it is 2016-05-05 09:47:54 +01:00
Simon
10894179a1 added setuid and setgid code for daemon code, tidied logging for same 2016-05-04 21:20:24 +01:00
g0wfv
131115d6d3 Capitalise default ini file in Linux to match pre-existing file in repo 2016-05-04 21:00:12 +01:00
Simon
25d993b8b3 added setuid and setgid code, tidied up logging 2016-05-04 20:06:15 +01:00
Jonathan Naylor
6df1187bac Handle restarts with SIGHUP. 2016-05-04 06:35:20 +01:00
Jonathan Naylor
91aba16d98 Add daemonisation under Linux and other enhancements (from Simon G7RZU) 2016-05-03 23:01:49 +01:00
Jonathan Naylor
99b71a00b2 Clean up the recent HD44780 changes. 2016-05-03 17:59:21 +01:00
Tony Corbett
414a1df408 HD44780 PWM backlight control 2016-05-01 16:59:43 +01:00
phl0
f47456ae0b
Add inch sign 2016-04-27 21:19:40 +02:00
phl0
94aa27cc4b
Add config option for Nextion display sizes 2016-04-27 20:57:47 +02:00
phl0
a2413f30db
Changed type of callsign variable for TFTSerial 2016-04-21 12:09:54 +02:00
phl0
f6c7ee79c6
Changed type of callsign variable for HD44780 2016-04-21 12:03:55 +02:00
phl0
991065fb0c
Changed variable type for callsign 2016-04-20 21:23:51 +02:00
Jonathan Naylor
8eb564ba37 Translate DMR Id to callsign from a file. 2016-04-12 18:26:13 +01:00
Jonathan Naylor
4329c627db Hopefully fix the missing display of the first transmission in all modes. 2016-04-11 12:21:46 +01:00
Jonathan Naylor
ad1b30341d Add the callsign and DMR Id to the TFT Serial. 2016-04-11 10:55:20 +01:00
phl0
41ffcc4cab Add callsign and DMR id to displays idle screen 2016-04-08 13:47:05 +02:00
Jonathan Naylor
a731703ac9 Add initial support for the Nextion display. 2016-04-06 19:53:25 +01:00
Jonathan Naylor
371684ae03 Add black list functionality for D-Star and DMR. 2016-04-06 18:46:05 +01:00
Jonathan Naylor
3ee457830b Allow for the configuration of the HD44780 pins. 2016-04-06 17:43:20 +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
9d03c83609 Allow for setting of outgoing port number on DMR networking. 2016-04-03 19:11:45 +01:00
Jonathan Naylor
3675153d11 Use an explicit mode change for DMR. 2016-03-29 17:59:15 +01:00
Jonathan Naylor
f7f78115ab Set mode to DMR for simplex hotspots. 2016-03-25 20:54:51 +00: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
efa9ec1977 Add DMR slot delay parameter. 2016-03-17 18:12:14 +00:00
Jonathan Naylor
bf92e1013c Change HD44780 define from RASPBERRY_PI to HD44780. 2016-03-15 07:53:38 +00:00
Jonathan Naylor
070bf2bff4 Add the HD4470 type display to Raspberry Pis. 2016-03-14 22:58:09 +00:00
Jonathan Naylor
2cfb1f458e Improve timing within the protocol engines. 2016-03-14 20:55:15 +00:00
Jonathan Naylor
a2d456b98f Changes for DVMega via the host. 2016-03-08 17:26:51 +00:00
Jonathan Naylor
14c6208ae5 Allow ordainary data to activate DMR when in simplex. 2016-03-07 19:45:19 +00:00
Jonathan Naylor
8559f97efb Modify the logging system greatly. 2016-03-07 18:42:05 +00:00
Jonathan Naylor
ae40ad3089 More tweaks for lockout operation. 2016-03-03 21:45:20 +00:00
Jonathan Naylor
560433e7ef Add lockout mode. 2016-03-03 18:01:01 +00:00
Jonathan Naylor
48bd5e08f9 Swap a %s for a %u. 2016-03-01 06:32:02 +00:00
Jonathan Naylor
e2c7a28fb9 Add the optional System Fusion Parrot. 2016-02-22 21:13:48 +00:00
Jonathan Naylor
ac82c4f6bc Small updates and a timing improvement. 2016-02-19 06:21:40 +00:00
Jonathan Naylor
9125f7428c Add frequency setting to the MMDVM modem protocol. 2016-02-18 17:37:23 +00:00
Jonathan Naylor
360ca91de0 Upgrade the TFT Serial display driver and displayed information. 2016-02-16 18:30:12 +00:00
Jonathan Naylor
647c5d652b Simple System Fusion bent pipe. 2016-02-16 07:27:13 +00:00
Jonathan Naylor
945d79a3ca Allow for the disabling of individual slots from the network. 2016-02-15 20:36:05 +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
87322b631b Clean up DMR roaming beacon handling. 2016-02-04 18:11:29 +00:00
Jonathan Naylor
9259421147 Small mode changes. 2016-02-03 11:38:53 +00:00
Jonathan Naylor
caa29894cd Add extra warnings to the mode changes. 2016-02-03 09:55:08 +00:00
Jonathan Naylor
aa1a45394a Simplify mode changes. 2016-02-02 18:17:36 +00:00
Jonathan Naylor
2e43624ea2 Received data doesn't change the mode. 2016-02-02 08:00:04 +00:00
Jonathan Naylor
fc3a688196 First cut of the D-Star repeater control. 2016-01-27 20:01:50 +00:00
Jonathan Naylor
72fcd64942 Network clock changes. 2016-01-26 19:56:10 +00:00
Jonathan Naylor
024bb30498 Switch off the D-Star network when not in D-Star mode. 2016-01-26 17:19:41 +00:00
Jonathan Naylor
c92434e474 Move the D-Star poll message to be run from the network class. 2016-01-25 23:08:34 +00:00
Jonathan Naylor
bdb41fb64e Add the D-Star networking. 2016-01-25 21:00:19 +00:00
Jonathan Naylor
2f8c8fbba3 Get the mode switching right. 2016-01-25 19:59:37 +00:00
Jonathan Naylor
810c167a20 Add the enable method for network functions. 2016-01-25 18:11:44 +00:00
Jonathan Naylor
1532e3c90c Alter the copyright message. 2016-01-23 17:54:23 +00:00
Jonathan Naylor
73375fb41e Change the network late entry and be less aggressive at filling silence. 2016-01-22 06:43:08 +00:00
Jonathan Naylor
69abf1e897 Allow proper enabling and disabling of protocols and networks. 2016-01-18 21:24:41 +00:00
Jonathan Naylor
f165b3ca89 DMR beacon handling. 2016-01-14 19:58:16 +00:00
Jonathan Naylor
d34d85c04b Initial commit 2016-01-14 18:45:04 +00:00