Properties of int Field
The <int> field has all the common properties as well as ones listed below. Refer to <int> Field chapter for detailed description.
Property Name
Allowed type / value
DSL Version
Required
Default Value
Description
type
"int8", "uint8", "int16", "uint16", "int32", "uint32", "int64", "uint64", "intvar", "uintvar"
1
yes
Underlying primitive type.
bitLength
1
no
length of type in bits
Serialization length in bits, applicable only to a member of <bitfield>.
serOffset
1
no
0
Extra value that needs to be added to the field's value when the latter is being serialized.
signExt
1
no
true
Enable / Disable sign extension of the signed value when length property is used to reduce the default serialization length.
validCheckVersion
1
no
false
Take into account protocol version when generating code for field's value validity check.
displayDecimals
1
no
0
Indicates to GUI analysis tools to display this field as floating point value with specified number of digits after the fraction point.
displayOffset
1
no
0
Indicates to GUI analysis tools to add specified offset value to a field's value when displaying it.
Properties of <special> Child Element of <int> Field
Property Name
Allowed type / value
DSL Version
Required
Default Value
Description
description
string
1
no
Human readable description of the value.
deprecated
1
no
max unsigned
Version of the protocol in which value was deprecated. Must be greater than value of sinceVersion.
displayName
string
2
no
Name to display in various analysis tools.
Last updated
Was this helpful?