Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These changes are intended especially for protocols like BacNET and PROFINET where there are optional fields, based on their content. 

Example:

Code Block
['0x07' BACnetUnconfirmedServiceRequestWhoHas
    [optional BACnetComplexTagUnsignedInteger 'deviceInstanceRangeLowLimit'                                                                 ['0', 'BACnetDataType.UNSIGNED_INTEGER' ]]
    [optional BACnetComplexTagUnsignedInteger 'deviceInstanceRangeHighLimit' 'deviceInstanceRangeLowLimit != null' ['1', 'BACnetDataType.UNSIGNED_INTEGER' ]]
    [optional BACnetComplexTagOctetString          'objectIdentifier'                                                                                        ['2', 'BACnetDataType.OCTET_STRING' ]]
    [optional BACnetComplexTagOctetString          'objectName'                               'objectIdentifier == null'                       ['3', 'BACnetDataType.OCTET_STRING' ]]
]


Controlling/Changing the endianess

...