Commit graph

2184 commits

Author SHA1 Message Date
Andy Taylor ff492a518f
Update MMDVMHost.cpp 2020-05-05 19:30:56 +01:00
Andy Taylor d3f4b1f90c
Update RemoteControl.h 2020-05-05 19:27:12 +01:00
Andy Taylor 8b2b3d344a
Update RemoteControl.cpp 2020-05-05 19:26:12 +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
Jonathan Naylor 6d6cee119d Merge branch 'master' into FM 2020-05-03 19:06:05 +01:00
Jonathan Naylor 97327be963
Merge pull request #577 from AndyTaylorTweet/master
Update HD44780.cpp
2020-05-03 19:03:35 +01:00
Andy Taylor 7e145d288a
Update HD44780.cpp
The section at line 402 is mostly the same as the section at line 294, I suspect the new section should be setFMInt() instead....
2020-05-03 18:33:22 +01:00
Jonathan Naylor 5fe70ee654
Merge pull request #575 from m0vse/FM
Add enable/disable commands to RemoteCommand
2020-05-02 21:56:30 +01:00
m0vse 9796b400c8 Add enable/disable commands to RemoteCommand 2020-05-02 21:40:55 +01:00
Jonathan Naylor 3687eb71a8 Add FM to the OLED display. 2020-05-02 20:42:54 +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 463bda2688 Bump the version date. 2020-04-26 13:23:26 +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 ac344cec69 Allow for a global callsign. 2020-04-24 15:37:26 +01:00
Jonathan Naylor a73c0dbd72 Rescale some of the levels. 2020-04-24 13:16:21 +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 6df6094ebf Change the levels for FM. 2020-04-21 21:46:39 +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 a450c2b2ad
Merge pull request #567 from F4FXL/FM
Fix Set FM params after creating modem, not before
2020-04-19 16:07:32 +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 c381f2ceac Convert the callsign and ack to upper case. 2020-04-10 13:52:49 +01: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 88bbb0cd0f use getaddrinfo() AI_PASSIVE flag, to remove "::" and "0.0.0.0" 2020-04-06 18:35:12 +09:00
SASANO Takayoshi 15b5011ebf rewrite with getaddrinfo() API to support IPv6
Currently LCDproc seems to be IPv6 unsupported, but this code is
modified for the future IPv6-supported LCDproc.
2020-04-06 18:35:12 +09: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 4c4ea170b6 Add correct copyright. 2020-04-03 17:09:17 +01:00
Jonathan Naylor 63ee2eb98c
Merge pull request #564 from f1rmb/silence_DMRTA_warning
Remove warning
2020-03-30 20:04:21 +01:00
Daniel Caujolle-Bert e780e8bd30
Remove warning 2020-03-30 20:30:43 +02:00
SASANO Takayoshi 5dccd5c5ce add match(), isnone() utility function
match() checks address family, IP address and port between
two sockaddr_storages.

isnone() checks sockaddr_storage has INADDR_NONE IPv4 address.
(sockaddr_storage has this address when lookup() failed)
2020-03-28 04:37:51 +09:00
SASANO Takayoshi 022d1a768b add IPv6 support (code from DAPNETGateway-IPv6) 2020-03-27 06:25:54 +09:00
Jonathan Naylor 90c5b24e9f
Merge pull request #562 from jg1uaa/master
Simplify termios setting for serial port
2020-03-25 07:36:30 +00:00
SASANO Takayoshi ac50244de3 Simplify termios setting for serial port
Testing MMDVMCal on OpenBSD/armv7 + BananaPi BPI-P2 requires CLOCAL flag.
Flags for termios should be same between OSX and other OSes
so unified them (except VMIN and VTIME setting).
2020-03-25 14:32:27 +09:00
Jonathan Naylor 6d27b8d957
Merge pull request #561 from jg1uaa/userdb
UserDB support (NXDN/DMR)
2020-03-24 22:19:04 +00:00