build_aprs_object

Function build_aprs_object 

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

Build a KISS-encoded APRS object report.

Composes an AX.25 UI frame with the APRS object format: ;name_____*DDHHMMzDDMM.HHN/DDDMM.HHEscomment

The object name is padded to exactly 9 characters per the APRS spec. The timestamp uses the current UTC time in DHM zulu format.

Returns wire-ready bytes (FEND-delimited KISS frame).

§Parameters

  • source: The sender’s callsign and SSID.
  • name: Object name (up to 9 characters).
  • live: true for a live object (*), false for killed (_).
  • latitude: Decimal degrees, positive = North.
  • longitude: Decimal degrees, positive = East.
  • symbol_table: APRS symbol table character.
  • symbol_code: APRS symbol code character.
  • comment: Free-form comment text.
  • path: Digipeater path.