-
Notifications
You must be signed in to change notification settings - Fork 1
/
doc.go
30 lines (25 loc) · 1.45 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
Package goasterix provides an ASTERIX (All Purpose Structured EUROCONTROL Surveillance Information Exchange)
packet decoding and marshalling JSON/XML for the Go language.
datablock.go and record.go contain the logic built into goasterix for decoding packet datagram.
goasterix contains some sub-packages including:
* uap: This contains all definition ASTERIX Profile (User Application Profile).
* transform: This contains of the logic marshalling in JSON or XML format.
* commbds: It is for decoding Comm-B Data Selector of transponder (ICAO Doc 9871:Technical Provisions for Mode S
Services and Extended Squitter)
Data Block corresponds at general message structure.
It contains:
* a one-octet field Data Category (CAT) indicating to which Category the data transmitted belongs;
* two-octet field Length Indicator (LEN) indicating the total length (in octets) of the Data Block, including
the CAT and LEN fields;
* one or more Record(s) containing data of the same Category.
Data Record contains:
* a Field Specification (FSPEC) field of variable length, considered as a table of contents, in the form of a bit
sequence, where every individual bit signals the presence (bit set to one) or absence (bit set to zero) of a
well-defined Data Field assigned to it;
* a variable number of Data Fields. Each Data Field is associated with one and only one Data Item, as defined by the
UAP.
Describe an UAP definition: todo
Basic Usage: todo
*/
package goasterix