CrossClj

0.1.0 docs

SourceDocs



RECENT

    ads-b

    Clojars

    May 3, 2015


    OWNER
    John Wiseman
    Los Angeles
    jjwiseman@gmail.com
    lemondronor.com/

    Readme

    Index of all namespaces


    « Project + dependencies

    Clojure code for parsing ADS-B transponder messages.

    The README below is fetched from the published project artifact. Some relative links may be broken.

    ads-b

    A Clojure wrapper for java-libadsb, which parses Mode S/ADS-B transponder messages. (See also: dump1090, gr-air-modes, etc.)

    Usage

    [com.lemondronor/ads-b "0.0.1"]
    
    (require '[com.lemondronor.ads-b :as ads-b])
    
    (ads-b/decode-hex "8dc0ffee58b986d0b3bd25000000")
    =>
    {:icao "c0ffee",
     :type :airborne-position
     :downlink-format 17
     :format-type-code 11,
     :capabilities 0,
     :horizontal-containment-radius-limit 185.2,
     :nic-supplement-b false,
     :surveillance-status 0,
     :alt 10972.800000000001,
     :baro-alt? true,
     :nic-supplement-a false,
     :cpr-lon 113957,
     :cpr-lat 92249,
     :time-flag false,
     :nic 8,
     :surveillance-status-desc "No condition information",
     :cpr-format :odd,
    }
    

    There are 6 types of message:

    :airborne-position
    :airborne-velocity
    :extended-squitter-aircraft-status
    :identification
    :operational-aircraft-status
    :surface-position
    

    License

    Copyright © 2015 John Wiseman

    Distributed under the GNU Generap Public License version 3.