Aprs.DeviceParser (aprs v0.1.5)

View Source

Extracts device identifier (TOCALL or Mic-E) from APRS packets, matching FAP logic.

Summary

Functions

Decode a Mic-E destination to its corresponding TOCALL (matches FAP/APRS spec).

Extract the device identifier from a packet map or raw packet string.

Functions

decode_mic_e_tocall(dest)

@spec decode_mic_e_tocall(String.t()) :: String.t()

Decode a Mic-E destination to its corresponding TOCALL (matches FAP/APRS spec).

extract_device_identifier(packet)

@spec extract_device_identifier(map() | String.t()) :: String.t() | nil

Extract the device identifier from a packet map or raw packet string.