Aprs.DeviceParser (aprs v2.0.0)

View Source

Extracts device identifiers from APRS packet destinations and Mic-E comments.

Summary

Functions

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

Functions

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.

Standard packets use the first six destination characters. Mic-E packets identify their device from the DTI and the comment prefix or suffix.