P25Clients/P25Gateway
Chipster 61e59da2fc
Publish the "failed" link event for talkgroups that don't resolve
schema.json's link action enum already listed "failed", but no code
path ever published it. Unlike DMR (password auth) or YSF (poll-timeout
watchdog), P25Gateway has no connection handshake or keepalive
mechanism at all -- its real-world failure mode is a talkgroup ID that
doesn't resolve against the configured reflector list. Found three
places this already happens, silently:
  - A mistyped Static= entry in P25Gateway.ini at startup (previously
    logged a bare LogWarning, nothing on MQTT).
  - An operator selecting an unconfigured TG on their radio (RF
    activity) -- completely silent before this patch, not even logged.
  - A bad remote-command TG -- also completely silent.

All three reset m_currentTG to empty either way; this just makes that
outcome visible, with the requested (invalid) talkgroup number attached
so it's actually diagnosable, using the same reason values ("startup"/
"user"/"remote") writeJSONLinking already uses for the successful path.
2026-08-10 17:04:34 -05:00
..
Audio Rescale the audio files. 2019-02-24 21:09:26 +00:00
Conf.cpp Add MQTT authentication. 2025-03-26 14:38:39 +00:00
Conf.h Add MQTT authentication. 2025-03-26 14:38:39 +00:00
DMRIds.dat Update the P25 (aka DMR) Ids. 2018-10-03 07:56:24 +01:00
DMRLookup.cpp Update the C++ version. 2025-03-19 12:32:45 +00:00
DMRLookup.h First commit of the simple P25 gateway. 2016-10-10 21:59:30 +01:00
Log.cpp Add MQTT retain to the JSON messages. 2026-03-23 17:04:23 +00:00
Log.h Add MQTT retain to the JSON messages. 2026-03-23 17:04:23 +00:00
Makefile Improve the build process. 2026-03-11 18:19:21 +00:00
MQTTConnection.cpp Add MQTT retain to the JSON messages. 2026-03-23 17:04:23 +00:00
MQTTConnection.h Add MQTT retain to the JSON messages. 2026-03-23 17:04:23 +00:00
Mutex.cpp Update the C++ version. 2025-03-19 12:32:45 +00:00
Mutex.h First commit of the simple P25 gateway. 2016-10-10 21:59:30 +01:00
P25Gateway.cpp Publish the "failed" link event for talkgroups that don't resolve 2026-08-10 17:04:34 -05:00
P25Gateway.h Publish the "failed" link event for talkgroups that don't resolve 2026-08-10 17:04:34 -05:00
P25Gateway.ini Merge branch 'mqtt' into json_hosts 2026-02-17 13:55:37 +00:00
P25Gateway.vcxproj Merge branch 'master' into mqtt 2026-02-17 12:53:00 +00:00
P25Gateway.vcxproj.filters Merge branch 'master' into mqtt 2025-03-19 13:17:25 +00:00
P25HostsUpdate.sh Fixed path variable typo 2026-06-08 12:25:48 -05:00
P25Network.cpp Clean up the code. 2025-04-25 16:15:46 +01:00
P25Network.h Allow the gateway to handle IPv6 and IPv4, in that order of preference. 2025-04-24 18:38:16 +01:00
prebuild.cmd Fix small bugs. 2024-07-08 17:01:50 +01:00
Reflectors.cpp Allow for the use of a host file for the private hosts file. 2025-05-06 15:02:22 +01:00
Reflectors.h Allow for the use of a host file for the private hosts file. 2025-05-06 15:02:22 +01:00
RptNetwork.cpp Update the C++ version. 2025-03-19 12:32:45 +00:00
RptNetwork.h Fix network ports datatype (unsigned int -> unsigned short). UDPSocket: fix old bug using m_port instead of m_port[x]. 2021-04-25 07:51:01 +02:00
schema.json Add JSON logging. 2023-07-11 16:59:32 +01:00
StopWatch.cpp Update the C++ version. 2025-03-19 12:32:45 +00:00
StopWatch.h Fix Windows compilation. 2020-09-20 15:47:58 +01:00
Thread.cpp Update the C++ version. 2025-03-19 12:32:45 +00:00
Thread.h Fix Windows compilation. 2020-09-20 15:47:58 +01:00
Timer.cpp First commit of the simple P25 gateway. 2016-10-10 21:59:30 +01:00
Timer.h First commit of the simple P25 gateway. 2016-10-10 21:59:30 +01:00
UDPSocket.cpp Merge branch 'mqtt' into json_hosts 2026-02-17 13:55:37 +00:00
UDPSocket.h Allow the gateway to handle IPv6 and IPv4, in that order of preference. 2025-04-24 18:38:16 +01:00
Utils.cpp create timestamps in rfc3339 format 2026-03-23 12:57:25 +00:00
Utils.h Add JSON logging. 2023-07-11 16:59:32 +01:00
Version.h Add MQTT retain to the JSON messages. 2026-03-23 17:04:23 +00:00
Voice.cpp Update the C++ version. 2025-03-19 12:32:45 +00:00
Voice.h Update the C++ version. 2025-03-19 12:32:45 +00:00