ogn-commons

GIT repository

Beacons interfaces

class or interface description additional info
OgnBeacon parent beacon interface with properties common to all beacons regardless of their type
AircraftBeacon interface of the aircraft beacon
ReceiverBeacon interface of the ground receiver beacon
AircraftDescriptor static aircraft descriptive information when subscribed to aircraft beacons, AircraftDescritor is given in a callback (see: ogn-client's AircraftBeaconListener for details)
AircraftDescriptorProvider interface which all aircraft descriptor providers must implement

AircraftType and AddressType

class or interface description additional info
AircraftType defines all possible aircraft types handled by the system. The definitions are taken from FLARM spec.
AddressType defines types of hardware addresses supported by OGN if type is "OGN", it means a packet originates from a OGN tracker

Aircraft Descriptor providers

The "core" aircraft beacons do not carry any "descriptive" information about an aircraft, such as e.g. it's registration or competition number. By using descriptor providers you can easily get link these static information to each aircraft beacon received.

class or interface description additional info
FileDbDescriptorProvider This AircraftDescriptorProvider resolves AircraftDescriptors from different file databases, e.g. FlarmNetdepricated or OGN db for an example of how different types of descriptor providers (ONG, FlarmNet..) are created and used, refer to OgnDemoAircraftBeaconsClient2

Other classes

class or interface description additional info
IgcLogger The Igc logger creates IGC logs. It can work in sync or async (non-blocking) mode
FlarmNetDb Handles FlarmNet db. Flarmnet data can be loaded remotely (e.g. directly from flarmnet) or from a local flarmnet db. file and is kept in the internal cache. Every time refresh() is called the cache is updated. This class is thread-safe! Depricated: Please use OgnDb instead
OgnDb Handles OGN db. OGN data can be loaded remotely (e.g. directly from ogn server) or from a local db file. file and is kept in the internal cache. Every time refresh() is called the cache is updated. This class is thread-safe!

Utility classes

class or interface description additional info
AprsUtils utility methods handy when decoding OGN APRS messages
JsonUtils serialization/deserialization to/from JSON
StringUtils utility methods converting ASCII to HEX (and vice verca), generating md5 hashes etc..
Version conversion of version strings in X.Y.Z format to numeric representation and vice versa
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License