source: azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/contrib-2.1.0/apps/LwipMibCompiler/Mibs/RFC-1212@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

File size: 2.6 KB
Line 
1RFC-1212 DEFINITIONS ::= BEGIN
2
3 IMPORTS
4 ObjectName
5 FROM RFC1155-SMI;
6-- DisplayString
7-- FROM RFC1158-MIB;
8
9 OBJECT-TYPE MACRO ::=
10 BEGIN
11 TYPE NOTATION ::=
12 -- must conform to
13 -- RFC1155's ObjectSyntax
14 "SYNTAX" type(ObjectSyntax)
15 "ACCESS" Access
16 "STATUS" Status
17 DescrPart
18 ReferPart
19 IndexPart
20 DefValPart
21 VALUE NOTATION ::= value (VALUE ObjectName)
22
23 Access ::= "read-only"
24 | "read-write"
25 | "write-only"
26 | "not-accessible"
27 Status ::= "mandatory"
28 | "optional"
29 | "obsolete"
30 | "deprecated"
31
32 DescrPart ::=
33 "DESCRIPTION" value (description DisplayString)
34 | empty
35
36 ReferPart ::=
37 "REFERENCE" value (reference DisplayString)
38 | empty
39
40 IndexPart ::=
41 "INDEX" "{" IndexTypes "}"
42 | empty
43 IndexTypes ::=
44 IndexType | IndexTypes "," IndexType
45 IndexType ::=
46 -- if indexobject, use the SYNTAX
47 -- value of the correspondent
48 -- OBJECT-TYPE invocation
49 value (indexobject ObjectName)
50 -- otherwise use named SMI type
51 -- must conform to IndexSyntax below
52 | type (indextype)
53
54 DefValPart ::=
55 "DEFVAL" "{" value (defvalue ObjectSyntax) "}"
56 | empty
57
58 END
59
60 IndexSyntax ::=
61 CHOICE {
62 number
63 INTEGER (0..MAX),
64 string
65 OCTET STRING,
66 object
67 OBJECT IDENTIFIER,
68 address
69 NetworkAddress,
70 ipAddress
71 IpAddress
72 }
73
74END
75
Note: See TracBrowser for help on using the repository browser.