class

KNX::CRD

Inherits BinData < Reference < Object

Connect Response Data

Constants

AFTER_DESERIALIZE = [] of Nil

Connect Response Data

BEFORE_SERIALIZE = [] of Nil

Connect Response Data

ENDIAN = ["big"]

Connect Response Data

KLASS_NAME = [KNX::CRD]

Connect Response Data

LENGTH = 4
PARTS = [{type: "basic", name: length, cls: UInt8, onlyif: nil, verify: nil, value: -> do 4 end, endian: nil}, {type: "enum", name: connect_type, cls: typeof(ConnectType::Tunnel .value), onlyif: nil, verify: nil, value: nil, encoding: nil, enum_type: KNX::ConnectType}, {type: "basic", name: identifier, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil

Connect Response Data

REMAINING = [] of Nil

Connect Response Data

Class methods

bit_fields

Connect Response Data

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
connect_type
connect_type=(connect_type : ConnectType)
identifier
identifier=(identifier : UInt16)
length
length=(length : UInt8)