Current section

Files

Jump to
aprs lib aprs_parser phg.ex
Raw

lib/aprs_parser/phg.ex

defmodule AprsParser.PHG do
@moduledoc """
PHG/DFS parsing for APRS packets.
"""
alias AprsParser.Types.ParseError
@doc """
Parse a PHG/DFS string. Returns a struct or ParseError.
"""
@spec parse(String.t()) :: map() | ParseError.t()
def parse(_phg_str) do
# Stub: actual logic to be implemented
%ParseError{
error_code: :not_implemented,
error_message: "PHG/DFS parsing not yet implemented",
raw_data: nil
}
end
end