Commit graph

374 commits

Author SHA1 Message Date
Jonathan Naylor
b3398710bc Merge branch 'master' into AX25 2020-06-17 15:48:20 +01:00
Jonathan Naylor
1ab09e21fe Merge branch 'master' into Kenwood 2020-06-13 17:48:03 +01:00
SASANO Takayoshi
816f8ea0a1 Merge remote-tracking branch 'origin' into ipv6 2020-06-12 20:24:17 +09:00
Jonathan Naylor
d409700a31 X25 cleanups. 2020-06-09 14:32:05 +01:00
Jonathan Naylor
dbe04c3c2f Initial code for AX.25 support. 2020-06-08 16:33:20 +01:00
Jonathan Naylor
933b9ef014 Fix crash with POCSAG and no network. 2020-06-08 14:34:29 +01:00
Jonathan Naylor
924baeacd1 More work on integrating the Kenwood NXDN protocol. 2020-05-27 12:07:21 +01:00
m0vse
26243c0247 Update RemoteCommand to disable/enable network modes 2020-05-25 20:29:49 +01:00
Jonathan Naylor
0b185a0900 Clean up the I2C controller code. 2020-05-23 16:49:21 +01:00
Jonathan Naylor
303a0163d3 Make the modem speed dynamic with a default of 115200. 2020-05-23 13:03:55 +01:00
Jonathan Naylor
4eb534aab6 Remove extraneous logging message. 2020-05-18 11:20:44 +01:00
Jonathan Naylor
9e52db3ef3 Merge branch 'FM' into FM_Ext 2020-05-13 12:06:35 +01:00
Jonathan Naylor
dc5438e3aa Merge branch 'master' into FM 2020-05-13 12:06:16 +01:00
Jonathan Naylor
083cc1155b Merge branch 'master' into TXHang 2020-05-13 12:05:39 +01:00
Jonathan Naylor
8ac6a1b208 Merge branch 'FM' into FM_Ext 2020-05-12 16:24:42 +01:00
Jonathan Naylor
ce121c59da Add the low CTCSS threshold value. 2020-05-12 13:43:43 +01:00
Jonathan Naylor
039ef44a63 Fix the setMode(MODE_FM) command. 2020-05-11 15:32:39 +01:00
Jonathan Naylor
29b36a66f8 Use more conventional handling of FM mode timing. 2020-05-11 12:59:28 +01:00
Jonathan Naylor
ab437c0866 Merge branch 'FM' into FM_Ext 2020-05-09 12:48:08 +01:00
Jonathan Naylor
2ae966b7fb Fix for Windows compilation. 2020-05-09 12:47:26 +01:00
Jonathan Naylor
2a8e1ce9f4 Merge branch 'FM' into FM_Ext 2020-05-09 12:36:44 +01:00
Daniel Caujolle-Bert
c3efabf56c
Redirect stderr messages to the log file, as in daemon mode assert() failure are silent and make wrong INI file hard to fix. 2020-05-09 12:11:08 +02:00
Jonathan Naylor
7ae77a01a9 Add the data packing and unpacking code. 2020-05-08 13:12:37 +01:00
Jonathan Naylor
b3d287965f Create a dummy FM Control class. 2020-05-07 21:49:18 +01:00
Jonathan Naylor
bc791577e7 Beginnings of FM networking. 2020-05-07 16:08:58 +01:00
Jonathan Naylor
d6b367b8b5 Add the P25 and NXDN transmit hang timer settings. 2020-05-06 17:10:23 +01:00
Jonathan Naylor
5410ca3ce8 Add the COSInvert parameter. 2020-05-06 11:26:54 +01:00
Jonathan Naylor
da0f1a6a76 Merge branch 'master' into FM 2020-05-05 20:53:40 +01:00
Andy Taylor
ff492a518f
Update MMDVMHost.cpp 2020-05-05 19:30:56 +01:00
Andy Taylor
dd2f5fbe26
Update MMDVMHost.cpp 2020-05-05 19:24:29 +01:00
Jonathan Naylor
1a142e36cb Host support for the CallsignAtLatch option. 2020-05-04 22:30:16 +01:00
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
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
Geoffrey Merck
9acd523bc3 Fix Set FM params after creating modem, not before 2020-04-19 16:36:29 +02: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
f8bce3823a Allow for a seperate FM timeout value. 2020-04-15 14:14:38 +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
58aff1ab77 Split the RF and Network acks. 2020-04-13 13:36:16 +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
SASANO Takayoshi
5df1fe551f add IPv6 support for RemoteControl
To specify IP(v4/v6) address for RemoteControl port,
add Address parameter in [RemoteControl] section to MMDVM.ini.

Different from other Address(es), the default IP address of RemoteControl
is 127.0.0.1 for security.
2020-04-11 13:12:19 +09:00
Jonathan Naylor
8cd75ce787 Add the FM repeater modem parameter writes. 2020-04-09 22:55:20 +01:00
Jonathan Naylor
535ddba1a0 Beginnings of FM support. 2020-04-09 22:02:47 +01:00
SASANO Takayoshi
dad47317e6 set INADDR_ANY/IN6ADDR_ANY_INIT address string to m_socket
when CUDPSocket::open() is called with m_address (in CUDPSocket) is nothing,
IPv4 socket is created by "0.0.0.0" (INADDR_ANY) address.

This causes a problem that DMRGateway cannot connect to reflector on IPv6.
To choose default INADDR_ANY/IN6ADDR_ANY_INIT address, added
open(address_family) in UDPSocket.cpp.

Following code sets address string at construction, not modified.
	NXDNNetwork.cpp
	POCSAGNetwork.cpp
	YSFNetwork.cpp

Other codes does not set, modified open() -> open(address_family)
	DMRNetwork.cpp
	DStarNetwork.cpp
	MMDVMHost.cpp
	MobileGPS.cpp
	P25Network.cpp
	RemoteCommand.cpp
	RemoteControl.cpp

I think there is more clever method, but I have no other idea.

Maybe IPv6 support for digital radio works, but RemoteControl can work
IPv4 only.
2020-04-06 18:35:12 +09:00
SASANO Takayoshi
c92039d83b modified for IPv6 supported CUDPSocket 2020-04-06 18:34:54 +09:00
Jonathan Naylor
4450caeddc Update the copyright date. 2020-02-16 15:56:31 +00:00
Shawn Chain
88d91e420a use enum DMR_OVCM_TYPES 2019-11-17 10:57:58 +08:00
Shawn Chain
2f9595949a Change ovcm config to int value 2019-11-16 23:06:26 +08:00
Jonathan Naylor
aa7ae2371c
Merge pull request #533 from maierp/maier_p_ovcm_rx
Config setting for sending OVCM to network (RX)
2019-11-15 11:58:02 +00:00
Patrick Maier
7cdbbdecb0 fix missing changes of ovcmRX in MMDVMHost.cpp 2019-11-09 20:50:03 +01:00
Jonathan Naylor
f4f745d58c Fix variable scope bug. 2019-11-05 12:44:56 +00:00
Jonathan Naylor
98e0869257 Re-introduce optional network DMR beacons. 2019-11-05 08:42:21 +00:00
Jonathan Naylor
6bababeb96 Add OVCM support. 2019-10-11 18:24:25 +01:00
sp5lg
bb0bd4bb46 DStar SelfOnly with WhiteList (beautyfied) 2019-10-06 16:29:57 +02:00
sp5lg
ed79a7176a DStar SelfOnly with WhiteList 2019-10-06 16:15:25 +02:00
Christopher Hewitt
839a8c83ea Increase data buffer size to avoid buffer overflow for P25. 2019-09-03 15:22:24 -04:00
Jonathan Naylor
72fe13780f Remove the old System Fusion SQL config option and processing. 2019-02-12 11:29:05 +00:00
Jonathan Naylor
fe2a01e1b1 Fix DMR beacon bug spotted by Shawnchain. 2019-01-26 12:56:24 +00:00
phl0
79805f0fa8
Fix typo 2019-01-23 10:09:34 +01:00
Jonathan Naylor
9b2352c877 Beginnings of allowing for local POCSAG message transmissions. 2019-01-22 21:33:49 +00:00
Jonathan Naylor
ec986d97ee Fixed silly bug. 2019-01-22 14:56:15 +00:00
Jonathan Naylor
b2050e673b Allow for optional fixed modes. Inspired by Adrian VK4TUX. 2019-01-22 14:38:38 +00:00
Jonathan Naylor
b57d42327a Make the remote command handler more flexible and add an optional
timeout to the new mode.
2019-01-22 13:40:02 +00:00
Jonathan Naylor
8ae8894d6f Remove the concept of fixed modes. 2019-01-21 08:42:32 +00:00
Jonathan Naylor
393b53f8a1 Enable the modes in Idle mode and when enabled (obviously). 2019-01-19 21:28:58 +00:00
Jonathan Naylor
ae9e6ea6ab Reset the mode's state machines when going to the disabled state. 2019-01-19 17:15:24 +00:00
Jonathan Naylor
b16aaa653c Add the concept of fixed modes. 2019-01-18 15:57:05 +00:00
Jonathan Naylor
76badb28f1 Add more intelligence to the remote control. 2019-01-15 21:45:29 +00:00
Jonathan Naylor
455755328a Fix silly bug in remote control. 2019-01-11 13:02:33 +00:00
Jonathan Naylor
8366868382 Fix compile issue. 2019-01-10 21:50:57 +00:00
Jonathan Naylor
e52d0e619f Move POCSAG to match the other modes. 2019-01-10 14:03:23 +00:00
Jonathan Naylor
335b56f4bd Add busy lockout to remote mode handling. 2019-01-10 09:05:15 +00:00
Jonathan Naylor
8aa2f00c1b Fixes for Windows. 2019-01-09 19:47:59 +00:00
Jonathan Naylor
b43a354343 Expand range of commands. 2019-01-07 13:54:52 +00:00
Jonathan Naylor
42a48209d4 Add remote control interface. 2019-01-07 11:03:37 +00:00
Shawn Chain
fba77bb95e Add NullModem support 2018-12-07 17:36:11 +08:00
Jonathan Naylor
e847711d17 Add MobileGPS support for DMR. 2018-11-06 12:14:57 +00:00
Jonathan Naylor
d2e0d82d56 Fix and clean up the new lock file code. 2018-10-11 07:50:30 +01:00
Jonathan Naylor
edaf37101a Add MMDVM lock file based on an idea by DB1OFH. 2018-10-10 20:05:24 +01:00
Luca Marchesano
f978a91519
Add select ack message dstar
AckMessage = 0 set BER status
AckMessage = 1 set RSSI status
2018-09-14 12:30:48 +02: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
root
64e3ae6d30 Better way to send to display that MMDVMHost is quitting 2018-08-15 18:17:42 +02: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
Shawn Chain
464d0fdc6f Move display creation from main class to static CDisplay::create() 2018-07-31 11:36:37 +08:00
Shawn Chain
d715470b1c Extract I2C logic from SerialController to separate class 2018-07-30 21:58:35 +08:00
Jonathan Naylor
f4718ebb9c Fix Windows compile error. 2018-07-26 18:43:57 +01:00
Andy CA6JAU
e97006d7c9 Fix stderr messages in daemon mode 2018-07-24 00:29:05 -04: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
d49c679b46 Merge branch 'master' into pocsag 2018-07-04 19:01:24 +01:00
Jonathan Naylor
bb9db2ce93 Clean up the merged code. 2018-07-04 19:00:51 +01:00
Shawn Chain
1ab0610543 patch stdlib header 2018-07-03 10:04:44 +08:00