Packet.Aprs 0.24.0

dotnet add package Packet.Aprs --version 0.24.0
                    
NuGet\Install-Package Packet.Aprs -Version 0.24.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Packet.Aprs" Version="0.24.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Packet.Aprs" Version="0.24.0" />
                    
Directory.Packages.props
<PackageReference Include="Packet.Aprs" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Packet.Aprs --version 0.24.0
                    
#r "nuget: Packet.Aprs, 0.24.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Packet.Aprs@0.24.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Packet.Aprs&version=0.24.0
                    
Install as a Cake Addin
#tool nuget:?package=Packet.Aprs&version=0.24.0
                    
Install as a Cake Tool

Packet.Aprs

Decode-focused APRS payload codec — position, Mic-E, message, object, item, status, telemetry.

Parses Automatic Packet Reporting System (APRS) information-field payloads per the APRS spec, with named strict-vs-pragmatic parse options for the quirks seen on the live APRS-IS firehose. Part of Packet.NET, a .NET amateur-radio / AX.25 packet stack — this package sits above Packet.Ax25 and decodes the bytes carried inside an AX.25 UI frame's info field.

Install

dotnet add package Packet.Aprs

Quick start

Each report type has a static TryDecode that takes the info-field bytes (with or without the leading data-type identifier) and yields a readonly record struct:

using Packet.Aprs;

// An uncompressed position report's info field (DTI '!' kept; it's stripped for you).
ReadOnlySpan<byte> info = "!4725.22N/00810.83E_WX-station"u8;

if (AprsPositionDecoder.TryDecode(info, out AprsPosition pos))
{
    Console.WriteLine($"{pos.Latitude:F5}, {pos.Longitude:F5}");  // 47.42033, 8.18050
    Console.WriteLine($"symbol {pos.SymbolTable}{pos.SymbolCode}, {pos.Format}");
    Console.WriteLine(pos.Comment);                                // WX-station
}

The decoder is strict on the fixed-position fields (digit ranges, hemisphere indicators, base-91 range) and returns false for any structural defect rather than throwing. For the payload types where real-world senders diverge from the spec (status text, telemetry, legacy Mic-E DTIs), pass an AprsParseOptions preset:

// Reject anything the spec forbids:
AprsTelemetryDecoder.TryDecode(info, AprsParseOptions.Strict, out var telemetry);

// Accept the firehose's quirks (this is also the parameterless default):
AprsStatusDecoder.TryDecode(info, AprsParseOptions.Lenient, out var status);

Mic-E is the exception: it splits data across the AX.25 destination address and the info field, so its decoder also needs the 6-character destination base:

AprsMicEDecoder.TryDecode("Q0PDN0", info, out AprsMicE micE);

Key types

  • AprsPositionDecoder — uncompressed (DDMM.mmN) and base-91 compressed position reports; TryDecode strips DTI + timestamp, TryDecodePayload for embedded position payloads.
  • AprsMicEDecoder / AprsMicE — Mic-E reports, decoded from the destination base + info field (MicEMessageType carries the standard/custom/emergency bits).
  • AprsMessageDecoder / AprsMessage — text messages (DTI :) with addressee and optional message ID.
  • AprsObjectDecoder / AprsItemDecoder — object (DTI ;) and item (DTI )) reports, with an embedded position.
  • AprsStatusDecoder / AprsTelemetryDecoder — status text (DTI >) and telemetry (DTI T) reports.
  • AprsParseOptions — strict-vs-pragmatic parse knobs with Strict / Lenient / Direwolf / AprsIs presets; each accommodation is a named, individually-toggleable flag.
  • AprsCallsign — permissive monitor-layer callsign that round-trips APRS-IS spellings (letter SSIDs, lowercase, long bases) that strict Packet.Core.Callsign rejects, with coercion helpers.

See also


AGPL-3.0-licensed. Part of the Packet.NET stack.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.24.0 41 7/20/2026
0.23.0 75 7/14/2026
0.22.0 84 7/14/2026
0.21.0 88 7/9/2026
0.20.0 94 7/5/2026
0.19.0 101 7/5/2026
0.18.0 113 7/5/2026
0.17.0 108 6/23/2026
0.16.0 108 6/23/2026
0.15.0 107 6/23/2026