2.2.1.3.1 Variable Description Block
The Variable Description Block is defined as follows:
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Variable-Name (66 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
Padding1 |
||||||||||||||||||||||||||||||
|
Variable-Type |
|||||||||||||||||||||||||||||||
|
Value-Length |
|||||||||||||||||||||||||||||||
|
Array-Size |
|||||||||||||||||||||||||||||||
|
Variable-Value (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
Padding_end (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Variable-Name (66 bytes): Specifies the name of the variable as a Unicode string. The variable name MUST end with a null character. Duplicate variable names MUST NOT be allowed. Variable-Name MUST be treated as case-insensitive.
Padding1 (2 bytes): Padding MAY be set to zero and MUST be ignored by receiver.
Variable-Type (4 bytes): MUST be set to the data type of the variable as specified in section 2.2.1.3.2.
Value-Length (4 bytes): This field MUST be set as specified in section 2.2.1.3.3.
Array-Size (4 bytes): This field MUST be set as specified in section 2.2.1.3.3.
Variable-Value (variable): Specifies the value for the variable.
Padding_end (variable): Padding MAY be set to zero and MUST be ignored by receiver. Padding_end size MUST be such that the total size (in bytes) of the Variable Description Block is evenly divisible by 16.