Commit graph

112 commits

Author SHA1 Message Date
Jonathan Naylor
f89145b772 Remove support for the UMP (sob). 2020-11-10 09:58:10 +00:00
Jonathan Naylor
a57397e274 Merge branch 'AX25_FM' into M17_AX25_FM 2020-11-06 15:43:12 +00:00
Jonathan Naylor
551556b65d Update the Makefiles. 2020-10-18 23:24:46 +01:00
Jonathan Naylor
5a3c61644c Fix compilation. 2020-09-06 14:49:52 +01:00
Jonathan Naylor
98b1e6478b Merge branch 'SimpleDMR' into AX25_FM 2020-09-06 14:27:55 +01:00
Jonathan Naylor
e45f0edec4 Merge branch 'ipv6' into SimpleDMR 2020-09-06 11:57:11 +01:00
SASANO Takayoshi
457be810a3 UDPSocket renewal
Currently there is six variations of (IPv4) UDPSocket.cpp.

- FMClients, NXDNClients, P25Clients, YSFClients(YSFParrot)
	use ::fprintf() for logging

- YSFClients(YSFReflector)
	use LogError() and LogInfo() for logging
	special open(string &bindaddr) function

- YSFClients(YSFGateway), DAPNETGateway
	use LogError() and LogInfo() for logging

- P25Clients, DMRGateway
	use LogError() for logging
	no LogInfo("Opening UDP port on") message

- NXDNClients
	use LogError() for logging
	no LogInfo("Opening UDP port on") message
	add #include <ifaddrs.h>

- MMDVMHost
	use LogError() for logging
	no LogInfo("Opening UDP port on") message
	no assert(!address.empty()) at constructor

to avoid explosion, commonized them.

	switch ::fprintf()/LogError by #define HAVE_LOG_H
	always display LogInfo("Opening UDP port on") message
	delete #include <ifaddrs.h>, this is not needed
	no assert(!address.empty()) at constructor

and to support YSFReflector, add multiple socket support.
default is #define UDP_SOCKET_MAX 1 so normally this feature is disabled.

added these functions.

	CUDPSocket()	(constructor without any parameters)
	open(index, af, addr, port)
	close(index)

CUDPSocket() means CUDPSocket(address = "", port = 0)
index selects socket, address and port is defined at open.

to have compatibility for old codes, these function works as

	CUDPSocket(addr, port)	store addr and port to index #0
	CUDPSocket(port)	store addr = "" and port to index #0
	open()		open with addr and port of index #0, AF_UNSPEC
	open(af)	open with addr and port of index #0, specified af
	close()		close *all* sockets

read/write operation is for all opened sockets.
2020-09-06 12:09:37 +09:00
Jonathan Naylor
2502ee94d7 Merge branch 'SimpleDMR' into AX25_FM 2020-09-03 12:10:01 +01:00
Jonathan Naylor
01da0ded7f Remove the unused SHA256 functions. 2020-08-27 09:00:49 +01:00
Jonathan Naylor
66a17f4849 Simplify the Host to DMR Gateway protocol. 2020-08-26 09:29:11 +01:00
Geoffrey Merck
f64371b4c8 delete unit file on uninstall 2020-07-27 14:53:36 +02:00
Geoffrey Merck
d4e6f2cb5e add install targets 2020-07-27 14:53:36 +02:00
Jonathan Naylor
15c21de416 Fix complilation on Linux. 2020-07-27 10:58:32 +01:00
Jonathan Naylor
aa8b78a311 Refactor the Modem class hierarchy. 2020-06-30 12:35:03 +01:00
Jonathan Naylor
14413963d9 Merge branch 'AX25' into AX25_FM 2020-06-30 11:45:58 +01:00
Jonathan Naylor
e339de8fee Merge branch 'master' into AX25 2020-06-30 11:40:55 +01:00
Jonathan Naylor
df47466aa2 Use USE_GPSD instead of USE_GPS. 2020-06-30 11:38:25 +01:00
Jonathan Naylor
8383c7d320 Clean up the Makefiles. 2020-06-29 12:11:01 +01:00
Jonathan Naylor
8291470698 Merge branch 'AX25' into AX25_FM 2020-06-29 11:44:14 +01:00
Jonathan Naylor
35a283d7b4 Merge branch 'master' into AX25 2020-06-29 11:26:17 +01:00
Jonathan Naylor
edce667018 Replace MobileGPS with gpsd. 2020-06-29 11:25:10 +01:00
Geoffrey Merck
f151ca6c1a Make pty work 2020-06-26 21:17:14 +02:00
Jonathan Naylor
cb51a14575 Create a pseudo TTY for the AX25 Network. 2020-06-25 21:17:38 +01:00
Geoffrey Merck
aec1ae74f7 add missing files in makefile 2020-06-25 20:40:13 +02:00
Jonathan Naylor
2953ce85a0 Merge branch 'FM_Ext' into AX25_FM 2020-06-25 13:41:19 +01:00
Jonathan Naylor
28d64e7c3d Merge branch 'master' into AX25 2020-06-25 09:44:55 +01:00
Kimi Jin
325b30d30b Add install rules into Makefile. This will insatll MMDVMHost and RemoteCommand to /usr/local/bin/ path, so need exec with command 'sudo make install'. 2020-06-24 13:33:23 +08:00
Jonathan Naylor
b3398710bc Merge branch 'master' into AX25 2020-06-17 15:48:20 +01:00
Jonathan Naylor
dbe04c3c2f Initial code for AX.25 support. 2020-06-08 16:33:20 +01:00
Jonathan Naylor
7bfe2f2b2f Fix Linux compile. 2020-05-27 12:52:15 +01:00
Jonathan Naylor
45eafe3672 Start adding the Kenwood protocol as an option. 2020-05-27 11:38:46 +01:00
Geoffrey Merck
e28dfe79dd Fix typo in file name 2020-05-08 21:23:32 +02:00
Jonathan Naylor
b3d287965f Create a dummy FM Control class. 2020-05-07 21:49:18 +01:00
SASANO Takayoshi
8ff3913729 add user database storage
simply added UserDB* source code and modified Makefile.
others are untouched.
2020-03-05 06:35:14 +09:00
SASANO Takayoshi
f3844ceae8 Add Surenoo UART-TFT panel (1.8inch, 128x160) support.
HobbyTronics TFT Shield has discontinued, here is a replacement TFT module
that can be controlled from UART.

Different from TFT Shield, it cannot display figures that stored in
micro SD card. So appearance is simplified like OLED.

Surenoo module sometimes ignores display commands (in busy stuation?),
this driver buffers display status and refresh at clockInt().
2019-12-01 16:33:19 +09:00
GuusvanDooren
847652f8ce Update make files. 2019-05-10 22:54:14 +02:00
SASANO Takayoshi
7cf1e602e6 Use system default compiler. At least there is no difference under Linux.
OpenBSD's gcc is old (4.2) so we have to use clang-6.0.0 compiler.
2019-03-13 20:33:02 +09:00
phl0
3cc09a70d4
Fix some bugs 2019-01-08 15:13:18 +01:00
Jonathan Naylor
1c96afc093 Update the makefiles for RemoteCommand. 2019-01-08 08:46:43 +00:00
Jonathan Naylor
42a48209d4 Add remote control interface. 2019-01-07 11:03:37 +00:00
Shawn Chain
50c2500f82 Extract the DMR talker alias decode logic from Display.cpp 2018-12-08 22:09:59 +08:00
phl0
570eaab40e
Fix Makefile (ref. 833e3a5) 2018-12-08 07:41:37 +01:00
Jonathan Naylor
833e3a5cbb Add VS2017 and other targets. 2018-12-07 14:57:00 +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
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
2a0364a6d4 nitial commit of POCSAG files. 2018-06-07 18:46:03 +01:00
Jonathan Naylor
22f2d7e540 Start on the NXDN Icom network audio handling. 2018-02-19 19:09:01 +00:00
Jonathan Naylor
635a774c83 Merge branch 'master' into nxdn 2018-02-08 20:50:18 +00:00