dataview-uniq.asn 742 Bytes
Newer Older
1
2
3
TASTE-BasicTypes DEFINITIONS ::=
BEGIN

Marco Lattuada's avatar
Marco Lattuada committed
4
5
Boolean ::= BOOLEAN

6
7
8
9
10
11
12
TASTE-Peek-id ::= INTEGER (0..4294967295)

TASTE-Peek-id-list ::= SEQUENCE (SIZE (1..10)) OF TASTE-Peek-id

VariableString ::= OCTET STRING (SIZE (1..10))
FixedString ::= OCTET STRING (SIZE (5))

13
SeqBool ::= SEQUENCE (SIZE(1..5)) OF BOOLEAN
14
SeqBoolFix ::= SEQUENCE (SIZE(2)) OF BOOLEAN
Maxime Perrotin's avatar
Maxime Perrotin committed
15
SeqEnum ::= SEQUENCE (SIZE(1..5)) OF ENUMERATED { hello2, world2 }
16
SeqEnumFix ::= SEQUENCE (SIZE(2)) OF ENUMERATED { hello, world }
17

Maxime Perrotin's avatar
Maxime Perrotin committed
18
19
MyEnum ::= ENUMERATED {a, b, c, d, eE}
MyChoice ::= CHOICE {c1 BOOLEAN, cDe2 BOOLEAN}
20

21
SeqOpt ::= SEQUENCE { a BOOLEAN OPTIONAL , b BOOLEAN, c SEQUENCE { a BOOLEAN } OPTIONAL, d OCTET STRING (SIZE (0..10)) OPTIONAL}
22
23
SeqNonOpt ::= SEQUENCE { a BOOLEAN }

24
25
26
27
END