Skip to content

Commit

Permalink
#2074 DMR CapMax LRRP GPS positions sent to map now contain channel i…
Browse files Browse the repository at this point in the history
…dentifiers (alias list and system name).
  • Loading branch information
Dennis Sheirer committed Nov 2, 2024
1 parent 912af4e commit b1655bb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,11 @@ else if(packet.getPacket() instanceof XCMPPacket xcmp)

GeoPosition geoPosition = PacketUtil.extractGeoPosition(packet.getPacket());

if (geoPosition != null) {
if (geoPosition != null)
{
PlottableDecodeEvent plottableDecodeEvent = PlottableDecodeEvent.plottableBuilder(DecodeEventType.GPS, packet.getTimestamp())
.channel(getCurrentChannel())
.identifiers(new IdentifierCollection(packet.getIdentifiers()))
.identifiers(getMergedIdentifierCollection(packet.getIdentifiers()))
.protocol(Protocol.LRRP)
.location(geoPosition)
.build();
Expand Down

0 comments on commit b1655bb

Please sign in to comment.