build_aprs_position_report

Function build_aprs_position_report 

Source
pub fn build_aprs_position_report(
    source: &Ax25Address,
    latitude: f64,
    longitude: f64,
    symbol_table: char,
    symbol_code: char,
    comment: &str,
    path: &[Ax25Address],
) -> Vec<u8> 
Expand description

Build a KISS-encoded APRS uncompressed position report.

Composes an AX.25 UI frame with:

  • Destination: APK005-0 (Kenwood TH-D75 tocall)
  • Digipeater path: WIDE1-1, WIDE2-1
  • Info field: !DDMM.HHN/DDDMM.HHEscomment

Returns wire-ready bytes (FEND-delimited KISS frame) suitable for direct transport write.

§Parameters

  • source: The sender’s callsign and SSID.
  • latitude: Decimal degrees, positive = North, negative = South.
  • longitude: Decimal degrees, positive = East, negative = West.
  • symbol_table: APRS symbol table character (/ for primary, \\ for alternate).
  • symbol_code: APRS symbol code character (e.g., > for car, - for house).
  • comment: Free-form comment text appended after the position.
  • path: Digipeater path. Supply an empty slice for direct transmission with no digipeating.