7 unstable releases

Uses old Rust 2015

0.4.2 Mar 9, 2024
0.4.1 Jan 6, 2024
0.4.0 Mar 5, 2023
0.3.0 Nov 4, 2022
0.1.1 May 23, 2018

#25 in Geospatial

Download history 10/week @ 2024-01-01 21/week @ 2024-01-15 10/week @ 2024-01-29 26/week @ 2024-02-19 22/week @ 2024-02-26 151/week @ 2024-03-04 79/week @ 2024-03-11 5/week @ 2024-03-18 47/week @ 2024-04-01

56 downloads per month
Used in 2 crates

MIT/Apache

1MB
3K SLoC

aprs-parser

Build Status

APRS message parser for Rust

Features

  • Supports packet encoding and decoding
  • Supports textual representations (APRS-IS) as well as binary/AX.25 representations (KISS)

Usage

extern crate aprs_parser;

fn main() {
    let result = aprs_parser::parse(
        br"ICA3D2>APRS,qAS,dl4mea:/074849h4821.61N\01224.49E^322/103/A=003054"
    );

    println!("{:#?}", result);

    // Ok(
    //     AprsPacket {
    //         from: Callsign {
    //             call: "IC17F2",
    //             ssid: None,
    //         },
    //         via: [
    //             QConstruct(
    //                 AS,
    //             ),
    //             Callsign(
    //                 Callsign {
    //                     call: "dl4mea",
    //                     ssid: None,
    //                 },
    //                 false,
    //             ),
    //         ],
    //         data: Position(
    //             AprsPosition {
    //                 to: Callsign {
    //                     call: "APRS",
    //                     ssid: None,
    //                 },
    //                 timestamp: Some(
    //                     HHMMSS(
    //                         7,
    //                         48,
    //                         49,
    //                     ),
    //                 ),
    //                 messaging_supported: false,
    //                 latitude: Latitude(
    //                     48.36016666666667,
    //                 ),
    //                 longitude: Longitude(
    //                     12.408166666666666,
    //                 ),
    //                 precision: HundredthMinute,
    //                 symbol_table: '\\',
    //                 symbol_code: '^',
    //                 comment: [
    //                     51,
    //                     50,
    //                     50,
    //                     47,
    //                     49,
    //                     48,
    //                     51,
    //                     47,
    //                     65,
    //                     61,
    //                     48,
    //                     48,
    //                     51,
    //                     48,
    //                     53,
    //                     52,
    //                 ],
    //                 cst: Uncompressed,
    //             },
    //         ),
    //     },
    // )
}

License

This project is licensed under either of

at your option.

Dependencies