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
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.
_reserved2_
_reserved2_=(_reserved2_ : UInt8)
_reserved_
_reserved_=(_reserved_ : UInt8)
bus_monitor_tunnel
Sourcebus_monitor_tunnel=(bus_monitor_tunnel : UInt8)
bus_monitor_tunnel=(value : Bool)
Sourceconnect_type
connect_type=(connect_type : ConnectType)
data_link_tunnel
Sourcedata_link_tunnel=(data_link_tunnel : UInt8)
data_link_tunnel=(value : Bool)
Sourcelength
length=(length : UInt8)
raw_tunnel
Sourceraw_tunnel=(raw_tunnel : UInt8)
raw_tunnel=(value : Bool)
Sourcereserved
reserved=(reserved : UInt8)