class

BACnet::DataLinkIndicator

Inherits BinData < Reference < Object

Used to tokenise the IP data stream and differentiate between packet types

Constants

AFTER_DESERIALIZE = [] of Nil

Used to tokenise the IP data stream and differentiate between packet types

BEFORE_SERIALIZE = [] of Nil

Used to tokenise the IP data stream and differentiate between packet types

ENDIAN = ["big"]

Used to tokenise the IP data stream and differentiate between packet types

Used to tokenise the IP data stream and differentiate between packet types

PARTS = [{type: "basic", name: protocol, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: request_type, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: request_length, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil

Used to tokenise the IP data stream and differentiate between packet types

REMAINING = [] of Nil

Used to tokenise the IP data stream and differentiate between packet types

Class methods

bit_fields

Used to tokenise the IP data stream and differentiate between packet types

Source

Instance methods

__format__

A group or bit_field captures the endianness at its declaration point, so declaring endian after one would silently leave it system-endian. Fail loudly.

Source
is_ipv4?
Source
is_ipv6?
Source
protocol
protocol=(protocol : UInt8)
request_length
request_length=(request_length : UInt16)
request_type
request_type=(request_type : UInt8)