build_query_response_position

Function build_query_response_position 

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

Build a position query response as a KISS-encoded APRS position report.

When a station receives a ?APRSP or ?APRS? query, it should respond with its current position. This builds that response as a KISS frame ready for transmission.