Commit Graph

49 Commits

Author SHA1 Message Date
Daniel Caujolle-Bert bd98561201 Change negation checking coding style. 2022-01-25 18:44:37 +00:00
Daniel Caujolle-Bert 012456a340 Fix Static on startup.
If a static talkgroup is set in the configuration file is set, some 3 poll frames are sent, but replies are ignored, hence the connection status stays disconnected, and localnetwork won't get any data also.
2022-01-25 04:12:42 +00:00
Daniel Caujolle-Bert baa0271237 Add new remote command:
- status: displays network connection status (n/a, conn, disc), just like DMRGateway/MMDVMHost.
 - host: display connected host, or NONE if disconnected (surrounded with double quotes).
2022-01-23 18:07:55 +00:00
Daniel Caujolle-Bert ccc744ec01
Expect a space between Talkgroup and its number. 2022-01-20 12:55:53 +01:00
Jonathan Naylor 14da695e8e Simplify the networking code a little. 2020-11-04 12:14:31 +00:00
Jonathan Naylor bfbdfea30b Rewrite the networking for dual IPv4 and IPv6. 2020-11-04 11:50:57 +00:00
Jonathan Naylor 0f63c0a5ac Fix current TG display. 2020-11-02 11:36:38 +00:00
Jonathan Naylor 83a929c2b4 Add optional log rotation and fix a UDP bug. 2020-11-01 12:54:51 +00:00
Jonathan Naylor 45ad634e69 Reinstate the remote command handler. 2020-10-27 11:34:08 +00:00
Jonathan Naylor 4fc0085b8c Fix bugs. 2020-10-27 10:59:29 +00:00
Jonathan Naylor adb4ab511d Allow for static and dynamic TGs. 2020-10-26 17:12:28 +00:00
Jonathan Naylor ef10fbecfe Merge branch 'master' into IPv6 2020-10-08 11:30:25 +01:00
Jonathan Naylor ab16818931
Merge pull request #142 from DVSwitch/master
Fix remote command speech responses
2020-10-08 11:29:02 +01:00
Jonathan Naylor f07dae7ee4 Merge branch 'master' into IPv6 2020-10-05 13:16:51 +01:00
Jonathan Naylor 8f3474d878 Updates for NetBSD. 2020-10-05 13:16:21 +01:00
Steve N4IRS a277a82b17 Fix remote command speech responses 2020-09-28 23:28:27 +00:00
Jonathan Naylor e57360c969 Make Windows work. 2020-09-20 21:49:25 +01:00
Jonathan Naylor f68d1adb1b Fix Windows compilation. 2020-09-20 15:47:58 +01:00
Jonathan Naylor 27501ccdb3 IPv6 cleanups. 2020-09-06 13:59:52 +01:00
Jonathan Naylor 59dd67a952 Conversion to IPv6 2020-09-03 14:00:48 +01:00
Jonathan Naylor 9992e7125f Allow the logging levels to be configurable in the gateway. 2020-08-24 10:16:02 +01:00
Doug McLain 79e3270560 When startup id == 20 (P252DMR), then do not change P25 reflectors 2020-06-19 14:02:00 -04:00
Doug McLain 36f090b29f Add P252DMR Reflector option to P25Gateway 2020-06-18 00:56:34 -04:00
Jonathan Naylor 9c6b9bdb61 Code cleanups. 2020-05-03 18:20:29 +01:00
Jonathan Naylor 76d068019b Add remote commands. 2020-04-03 21:28:45 +01:00
Jonathan Naylor ca9b4d0e8b Fix compile issues. 2019-02-05 20:03:36 +00:00
Jonathan Naylor c9e2f13058 Further voice work. 2019-02-04 14:57:20 +00:00
Jonathan Naylor 12c9336374 Close the fds after log initialisation. 2018-07-26 20:23:42 +01:00
Jonathan Naylor 950a9c06ba Move position of LogInitialise. 2018-06-18 19:04:37 +01:00
Jonathan Naylor 7e0cd5a9d4 Change relinking logic. 2018-04-09 19:31:24 +01:00
Corrosive 5a6e19bde8
Revert to startup TG after timeout
Quick change to revert users to their start-up reflector after an inactivity timeout instead of disconnecting them from all reflectors.
2018-03-29 15:30:05 -04:00
Jonathan Naylor fd54404691 Allow for more than one P25 hosts file. 2018-01-03 20:54:06 +00:00
Jonathan Naylor 8095a22972 Convert minutes to seconds in the timeout. 2017-03-18 07:32:53 +00:00
Jonathan Naylor 052c3f76c1 Add missing inactivty stops and starts. 2017-03-18 07:16:07 +00:00
Jonathan Naylor 1225e0bc87 Add an inactivity timer to the gateway. 2017-03-18 07:13:14 +00:00
Jonathan Naylor 411173efdc Modify the protocol and simplify the speech generation. 2016-11-01 19:09:31 +00:00
Jonathan Naylor 6bb5c177f5 Clean-up silly unlinking message. 2016-10-18 18:06:03 +01:00
Jonathan Naylor 80f79122ba Remove silly unlinking message. 2016-10-18 17:52:29 +01:00
Jonathan Naylor fb051e3866 Allow the unlink voice to be heard. 2016-10-18 10:35:28 +01:00
Jonathan Naylor f58bf29080 Code cleanups. 2016-10-18 07:47:37 +01:00
Jonathan Naylor 5b40a2dcf5 Add speech prompts. 2016-10-17 23:44:45 +01:00
Jonathan Naylor 728c87a8e7 Clean up the gateway configuration. 2016-10-17 17:33:49 +01:00
Jonathan Naylor 5e71e9c0d9 Another silly bug. 2016-10-13 21:18:48 +01:00
Jonathan Naylor 2381a1dc77 Increase polling to every five seconds. 2016-10-13 18:39:50 +01:00
Jonathan Naylor ce94d72fc6 Handle relinking cleanly. 2016-10-11 22:46:28 +01:00
Jonathan Naylor 820fd5471a Link at startup properly. 2016-10-11 18:18:14 +01:00
Jonathan Naylor e24909926d Add extra reflector control data to the gateway. 2016-10-11 17:43:37 +01:00
Jonathan Naylor b70dbaa513 Add TG 9999 for unlinking and improve logging in the gateway. 2016-10-11 07:45:50 +01:00
Jonathan Naylor 3065c98f29 First commit of the simple P25 gateway. 2016-10-10 21:59:30 +01:00