class

KNX::CRI

Inherits BinData < Reference < Object

Connect Request Information

Constants

AFTER_DESERIALIZE = [] of Nil

Connect Request Information

BEFORE_SERIALIZE = [] of Nil

Connect Request Information

ENDIAN = ["big"]

Connect Request Information

KLASS_NAME = [KNX::CRI]

Connect Request Information

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: "bitfield", name: 7, cls: KNX::CRI, onlyif: nil, verify: nil, endian: IO::ByteFormat::BigEndian}, {type: "basic", name: reserved, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil

Connect Request Information

REMAINING = [] of Nil

Connect Request Information

Class methods

bit_fields

Connect Request Information

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
_reserved2_
_reserved2_=(_reserved2_ : UInt8)
_reserved_
_reserved_=(_reserved_ : UInt8)
bus_monitor_tunnel
Source
bus_monitor_tunnel=(bus_monitor_tunnel : UInt8)
bus_monitor_tunnel=(value : Bool)
Source
connect_type
connect_type=(connect_type : ConnectType)
length
length=(length : UInt8)
raw_tunnel
Source
raw_tunnel=(raw_tunnel : UInt8)
raw_tunnel=(value : Bool)
Source
reserved
reserved=(reserved : UInt8)