mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-15 01:57:39 -05:00
#2074 DMR CapMax LRRP GPS positions sent to map now contain channel identifiers (alias list and system name). (#2075)
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -526,10 +526,11 @@ public class DMRDecoderState extends TimeslotDecoderState
|
|||||||
|
|
||||||
GeoPosition geoPosition = PacketUtil.extractGeoPosition(packet.getPacket());
|
GeoPosition geoPosition = PacketUtil.extractGeoPosition(packet.getPacket());
|
||||||
|
|
||||||
if (geoPosition != null) {
|
if (geoPosition != null)
|
||||||
|
{
|
||||||
PlottableDecodeEvent plottableDecodeEvent = PlottableDecodeEvent.plottableBuilder(DecodeEventType.GPS, packet.getTimestamp())
|
PlottableDecodeEvent plottableDecodeEvent = PlottableDecodeEvent.plottableBuilder(DecodeEventType.GPS, packet.getTimestamp())
|
||||||
.channel(getCurrentChannel())
|
.channel(getCurrentChannel())
|
||||||
.identifiers(new IdentifierCollection(packet.getIdentifiers()))
|
.identifiers(getMergedIdentifierCollection(packet.getIdentifiers()))
|
||||||
.protocol(Protocol.LRRP)
|
.protocol(Protocol.LRRP)
|
||||||
.location(geoPosition)
|
.location(geoPosition)
|
||||||
.build();
|
.build();
|
||||||
|
|||||||
Reference in New Issue
Block a user