#1924 Resolves issue with talker GPS positions showing up in map panel as user identifiers. (#1925)

Co-authored-by: sheirerd <sheirerd@ainfosec.com>
This commit is contained in:
Denny Sheirer
2024-05-26 06:29:07 -04:00
committed by GitHub
parent dddda052fa
commit 03792b0245
4 changed files with 42 additions and 9 deletions

View File

@@ -40,6 +40,7 @@ import io.github.dsheirer.identifier.patch.PatchGroupPreLoadDataContent;
import io.github.dsheirer.log.LoggingSuppressor;
import io.github.dsheirer.message.IMessage;
import io.github.dsheirer.module.decode.DecoderType;
import io.github.dsheirer.module.decode.event.DecodeEvent;
import io.github.dsheirer.module.decode.event.DecodeEventType;
import io.github.dsheirer.module.decode.event.PlottableDecodeEvent;
import io.github.dsheirer.module.decode.p25.IServiceOptionsProvider;
@@ -1523,13 +1524,14 @@ public class P25P2DecoderState extends TimeslotDecoderState implements Identifie
collection.update(fromRadio);
}
broadcast(PlottableDecodeEvent.plottableBuilder(DecodeEventType.GPS, message.getTimestamp())
DecodeEvent decodeEvent = PlottableDecodeEvent.plottableBuilder(DecodeEventType.GPS, message.getTimestamp())
.protocol(Protocol.APCO25)
.location(gps.getGeoPosition()).channel(getCurrentChannel()).details("LOCATION: " +
gps.getLocation().toString())
.identifiers(collection)
.build());
.build();
broadcast(decodeEvent);
mTrafficChannelManager.broadcast(decodeEvent);
mTrafficChannelManager.processP2CurrentUser(getCurrentFrequency(), getTimeslot(), gps.getLocation(),
message.getTimestamp());
}