master
sh123 2023-07-01 15:40:25 +03:00
rodzic 19d5d8adbd
commit 45af1ff8c3
2 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -140,6 +140,12 @@ public class AprsIs implements Protocol, Runnable {
if (aprsIsData != null) {
_parentProtocolCallback.onReceiveData(aprsIsData.src, aprsIsData.dst, aprsIsData.rawDigipath, aprsIsData.data.getBytes());
AprsCallsign aprsCallsign = new AprsCallsign(aprsIsData.src);
/* rules:
1. RX gate must be heard on rf within digi hops or range
2. RX gate has not been heard on internet within given period of time or in third party packets
3. sender must not be heard within given period of time on RF
4. sender must not have TCPXX, NOGATE, RFONLY
*/
if (_isTxGateEnabled && aprsCallsign.isValid && !_isLoopbackTransport && aprsIsData.isEligibleForTxGate()) {
// wrap into third party, https://aprs-is.net/IGateDetails.aspx
aprsIsData.digipath = "TCPIP," + _callsign + "*";

Wyświetl plik

@ -0,0 +1,4 @@
package com.radio.codec2talkie.protocol.aprs.tools;
public class AprsHeardList {
}