pub fn parse_aprs_position(info: &[u8]) -> Result<AprsPosition, AprsError>Expand description
Parse an APRS position report from an AX.25 information field.
Supports three APRS position formats (per APRS101.PDF chapters 8-9):
- Uncompressed:
!/=///@with ASCII lat/lon (DDMM.HH) - Compressed:
!/=///@with base-91 encoded lat/lon (13 bytes)
For Mic-E positions (`/'), use
crate::mic_e::parse_mice_position which also requires the AX.25
destination address.
ยงErrors
Returns AprsError if the format is unrecognized or coordinates are invalid.