DataView.acn 3.52 KB
Newer Older
TASTE User's avatar
TASTE User committed
1
2
3
Distribute-CPDU-Commands-Generic DEFINITIONS ::= BEGIN
END

4
Taps DEFINITIONS ::= BEGIN
TASTE User's avatar
TASTE User committed
5
    APID[encoding pos-int, encode-values, size 11]
TASTE User's avatar
TASTE User committed
6
    APUserID[encoding pos-int, encode-values, size 16]
TASTE User's avatar
TASTE User committed
7
    On-off-dev-addr[encoding pos-int, encode-values, size 32]
TASTE User's avatar
TASTE User committed
8
    CPDU-output-line-ID[]
TASTE User's avatar
TASTE User committed
9
    CPDU-Ids[]
TASTE User's avatar
TASTE User committed
10
11
12
13
14
    Pulse-Instr-Instance[] { 
        output-line-id [], 
        reserved NULL [pattern '0'B], 
        duration-exp-value [] 
    }
TASTE User's avatar
TASTE User committed
15
    TYPE8b-ID[encoding pos-int, size 8]
TASTE User's avatar
TASTE User committed
16
17
    TC-2-1 []
    TC-2-4 []    
TASTE User's avatar
TASTE User committed
18
    TCs <TYPE8b-ID: tc-type, TYPE8b-ID: tc-subtype> [] {
TASTE User's avatar
TASTE User committed
19
        tc2-1 [present-when tc-type==2 tc-subtype==1],
TASTE User's avatar
TASTE User committed
20
21
22
23
        tc2-4 [present-when tc-type==2 tc-subtype==4]
    }
    
    Telecommand[]{
24
25
26
27
        packet-version-no   NULL    [pattern '000'B],
        packet-type         NULL    [pattern '1'B],     -- 1 for TC, 0 for TM
        has-secondary-hdr   NULL    [pattern '1'B],     -- !!! 0 for cpdu packets
        dest-apid                   [],
TASTE User's avatar
TASTE User committed
28
29
30
31
32
33
34
35
36
        sequence-flags      NULL    [pattern '11'B],
        sequence-count              [],
        packet-length               [],
        secondary-header            [] {
            pus-version-number        NULL  [pattern '0010'B],
            ack-successful-completion       [],
            ack-successful-progress         [],
            ack-successful-start            [],
            ack-successful-acceptance       [],
TASTE User's avatar
TASTE User committed
37
38
            service-type-id                 TYPE8b-ID [],
            service-subtype-id              TYPE8b-ID [],            
TASTE User's avatar
TASTE User committed
39
            source-id                       []
TASTE User's avatar
TASTE User committed
40
41
42
43
        },
        application-data  <secondary-header.service-type-id, secondary-header.service-subtype-id> [],
        spare-tc            NULL    [pattern '00000000'B],   -- TBD !!!
        packet-error                []
44
    }
TASTE User's avatar
TASTE User committed
45
46
47
48
49

    TM-1-10 []
    TMs <TYPE8b-ID: tm-type, TYPE8b-ID: tm-subtype> [] {
        tm1-10 [present-when tm-type==1 tm-subtype==10]        
    }
50
51
52
53
54
    TM[]{
        packet-version-no   NULL    [pattern '000'B],
        packet-type         NULL    [pattern '0'B],     -- 1 for TC, 0 for TM
        has-secondary-hdr   NULL    [pattern '1'B],     -- !!! 0 for time packets
        source-apid                       [],
TASTE User's avatar
TASTE User committed
55
56
        sequence-flags      NULL    [pattern '11'B],
        sequence-count              [],
TASTE User's avatar
TASTE User committed
57
58
59
60
        packet-length               [],
        secondary-header            [] {
            packet-version-number        NULL  [pattern '0010'B],
            time-reference-status	           [],
TASTE User's avatar
TASTE User committed
61
62
            service-type-id                    TYPE8b-ID [],
            service-subtype-id                 TYPE8b-ID [],
TASTE User's avatar
TASTE User committed
63
64
            message-type-counter               [],
            destination-id                     []
TASTE User's avatar
TASTE User committed
65
66
67
68
        },
        source-data  <secondary-header.service-type-id, secondary-header.service-subtype-id> [],
        spare-tm            NULL    [pattern '00000000'B],   -- TBD !!!
        packet-error                []
69
    }
TASTE User's avatar
TASTE User committed
70
71
72
73
74
75
76
77
78
79
    TM-1-10-failure-codes           [encoding pos-int, encode-values, size 8]
    Request-ID-inst[]{
        packet-version-no   NULL    [pattern '000'B],
        packet-type         NULL    [pattern '1'B],     -- 1 for TC, 0 for TM
        has-secondary-hdr   NULL    [pattern '1'B],     -- !!! 0 for cpdu packets
        source-apid                   [],
        sequence-flags      NULL    [pattern '11'B],
        sequence-count              []
    }
    
80
81
82
END

TASTE-Dataview DEFINITIONS ::= BEGIN
TASTE User's avatar
TASTE User committed
83
84
85
86
87
88
89
90
91
92
93
94
    Test-TC[]
    Test-TM[]
    Test-failureCodes[]
    MyInteger[]
    MyReal[]
    MyBool[]
    MyEnum[]
    MySeq[]
    MyChoice[]
    MySeqOf[]
    MyOctStr[]
END