Commit graph

63 commits

Author SHA1 Message Date
Jonathan Naylor
7d3e899104 Clean ups for IPv6. 2020-09-06 12:54:08 +01:00
Jonathan Naylor
e45f0edec4 Merge branch 'ipv6' into SimpleDMR 2020-09-06 11:57:11 +01:00
SASANO Takayoshi
9856025923 rewrite for UDPSocket renewal 2020-09-06 15:52:46 +09:00
Jonathan Naylor
3de54f6dd8 Merge branch 'ipv6' into SimpleDMR 2020-09-03 11:43:42 +01:00
Jonathan Naylor
132fb62d56 Small cleanups. 2020-08-30 14:54:51 +01:00
Jonathan Naylor
2349520964 Remove the location information from the new config message. 2020-08-27 10:13:02 +01:00
Jonathan Naylor
98879b5c14 Reinstated the location field. 2020-08-26 12:13:34 +01:00
Jonathan Naylor
a9c9ff6011 Changes for the simplified protocol. 2020-08-26 10:18:57 +01:00
Jonathan Naylor
66a17f4849 Simplify the Host to DMR Gateway protocol. 2020-08-26 09:29:11 +01:00
SASANO Takayoshi
74adbd4895 Merge remote-tracking branch 'upstream/master' into ipv6
simply merged upstream code.

following files are conflicted, all fixed
GPSD.h, MobileGPS.cpp, NXDNNetwork.cpp, NXDNNetwork.h, UDPSocket.h

NXDNIcomNetwork and NXDNKenwoodNetwork is still original code,
not support IPv6-UDPSocket yet.
2020-07-03 04:17:14 +09:00
SASANO Takayoshi
dfaedb450b replace rand() -> MT19937 random number generator
sometimes rand() makes problem so replace it to MT19937 in C++11 <random>.
2020-07-02 06:40:26 +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
Daniel Caujolle-Bert
5686942519
Identify OpenGD77 hotspot. 2020-01-08 10:58:41 +01:00
Jonathan Naylor
a0ec58539a Remove duplication of frames. 2019-12-15 22:22:47 +00:00
Andy CA6JAU
0b9c1b1362 Support for D2RG MMDVM_HS 2019-05-29 21:22:53 -04:00
Jonathan Naylor
76badb28f1 Add more intelligence to the remote control. 2019-01-15 21:45:29 +00:00
Jonathan Naylor
66a37d7d25 Add the beginnings of mobile hotspot location. 2018-10-30 07:53:11 +00:00
Jonathan Naylor
bb9db2ce93 Clean up the merged code. 2018-07-04 19:00:51 +01:00
Shawn Chain
1b7abded67 FIX DMRNewtork infinite failure on domain name resolve 2018-07-03 11:35:55 +08:00
Shawn Chain
1ab0610543 patch stdlib header 2018-07-03 10:04:44 +08:00
es2ast
0e850af798
Nano_hotSPOT duplex version
BI7JTA duplex board with Nano_hotSPOT dual ADF7021 FW by CA6JAU
2018-05-06 20:51:30 +03:00
Andy CA6JAU
8a4faf05ab Support for Nano DV board 2018-05-05 10:42:01 -03:00
phl0
80298cb133
Dual_Hat can also be duplex 2018-03-05 23:46:01 +01:00
phl0
150dfca7a2
Add support for MMDVM_HS_Dual_Hat 2018-03-05 22:04:01 +01:00
Andy CA6JAU
084a26c961 DMR string identification suport for BI7JTA hotspot 2018-02-14 12:18:34 -03:00
Jonathan Naylor
bf1773ebcc Final jitter buffer rollback cleanups. 2018-02-08 20:34:18 +00:00
Jonathan Naylor
e6ed2e17a1 Roll back the jitter buffer changes. 2018-02-08 20:25:03 +00:00
Andy CA6JAU
eed32c8cbe Fix crash of DelayBuffer 2018-02-05 23:29:57 -03:00
Jonathan Naylor
4323c02a0a Add a proper bypass for the jitter buffer if wanted. 2018-02-05 19:46:27 +00:00
Jonathan Naylor
43fdb770a9 Make the jitter buffer switchable. 2018-02-01 06:59:11 +00:00
Jonathan Naylor
63a2ea330d Disable the jitter buffer. 2018-01-31 18:16:31 +00:00
Jonathan Naylor
cae6bed370 Bypass sequence numbers for DMR data frames with the jitter buffer. 2018-01-15 19:58:13 +00:00
Jonathan Naylor
22ed285857 Only reset the stream id at the end, not the beginning. 2018-01-12 07:06:38 +00:00
Jonathan Naylor
526e2c436d Add the jitter buffer for DMR. 2018-01-10 19:05:59 +00:00
Andy CA6JAU
e425bdcbc0 Adding support for new MMDVM_HS hardware description strings 2017-12-26 18:10:47 -03:00
Jonathan Naylor
71bd38f9e9 Revert "Revert "Simplify the logic by removing the ring buffer.""
This reverts commit d4d26fc05f.
2017-11-28 10:19:13 +00:00
Jonathan Naylor
220cd0a0f9 Revert "Full integration of the jitter buffer into DMR."
This reverts commit e1800c0fe0.
2017-11-28 10:09:29 +00:00
Jonathan Naylor
7df5da83b7 Revert "Make jitter buffer message follow the same rules as the networking ones."
This reverts commit ccb3f37d5d.
2017-11-28 10:05:02 +00:00
Jonathan Naylor
8f424bbbfc Revert "Add extra jitter buffer debugging messages."
This reverts commit a6ff1f051a.
2017-11-28 10:04:25 +00:00
Jonathan Naylor
a6ff1f051a Add extra jitter buffer debugging messages. 2017-11-27 11:43:21 +00:00
Jonathan Naylor
ccb3f37d5d Make jitter buffer message follow the same rules as the networking ones. 2017-11-26 18:00:21 +00:00
Jonathan Naylor
d4d26fc05f Revert "Simplify the logic by removing the ring buffer."
This reverts commit baef6c962e.
2017-11-24 16:20:01 +00:00
Jonathan Naylor
baef6c962e Simplify the logic by removing the ring buffer. 2017-11-24 09:02:32 +00:00
Jonathan Naylor
e1800c0fe0 Full integration of the jitter buffer into DMR. 2017-11-23 13:18:37 +00:00
Jonathan Naylor
ce891019d3 Basic jitter buffer for DMR, unfinished work. 2017-11-23 11:54:45 +00: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
g0wfv
9868621023 Alter MSTNAK responses to differentiate stages of retry 2017-06-08 10:39:46 +01:00
Jonathan Naylor
f9e20cd737 Add new GPS and TA DMR network messages. 2017-05-17 18:16:08 +01:00