build_aprs_weather

Function build_aprs_weather 

Source
pub fn build_aprs_weather(
    source: &Ax25Address,
    weather: &AprsWeather,
    path: &[Ax25Address],
) -> Vec<u8> 
Expand description

Build a KISS-encoded positionless APRS weather report.

Composes an AX.25 UI frame with the APRS positionless weather format: _MMDDHHMMcSSSsSSS gSSS tTTT rRRR pRRR PRRR hHH bBBBBB

Uses a placeholder timestamp (00000000). Callers needing a real timestamp should build the info field manually.

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

§Parameters

  • source: The sender’s callsign and SSID.
  • weather: Weather data to encode. Missing fields are omitted.
  • path: Digipeater path.