File: sigmf_core.fbs

package info (click to toggle)
libsigmf 1.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 692 kB
  • sloc: cpp: 1,236; ansic: 616; makefile: 5
file content (78 lines) | stat: -rw-r--r-- 1,618 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

namespace sigmf.core;

table sigmf_extension {
    name:string;
    version:string;
    optional:bool=null;
}

table sigmf_stream {
    name:string;
    hash:string;
}

table geojson_point {
    type:string;
    coordinates:[double];
}

table Global {
    datatype:string;
    sample_rate:double=null;
    version:string;
    num_channels:ulong=null;
    sha512:string;
    offset:ulong=null;
    description:string;
    author:string;
    meta_doi:string;
    data_doi:string;
    recorder:string;
    license:string;
    hw:string;
    dataset:string;
    trailing_bytes:ulong=null;
    metadata_only:bool=null;
    geolocation:geojson_point;
    extensions:[sigmf_extension];
    collection:string;
}

table Capture {
    sample_start:ulong=null;
    global_index:ulong=null;
    header_bytes:ulong=null;
    frequency:double=null;
    datetime:string;
}

table Annotation {
    sample_start:ulong=null;
    sample_count:ulong=null;
    generator:string;
    description:string; // not defined by SigMF; included for compatibility - use `label`
    label:string;
    comment:string;
    freq_lower_edge:double=null;
    freq_upper_edge:double=null;
    latitude:double=null;  // deprecated, use the `global` `geolocation` field
    longitude:double=null; // deprecated, use the `global` `geolocation` field
}

table Collection {
    version:string;
    description:string;
    author:string;
    collection_doi:string;
    license:string;
    extensions:[sigmf_extension];
    streams:[sigmf_stream];
}

table Descr {
    global:Global;
    annotation:Annotation;
    capture:Capture;
    collection:Collection;
}