class

KNX::DeviceInfo

Inherits BinData < Reference < Object

Specific info blocks

Constants

AFTER_DESERIALIZE = [] of Nil

Specific info blocks

BEFORE_SERIALIZE = [] of Nil

Specific info blocks

ENDIAN = ["big"]

Specific info blocks

KLASS_NAME = [KNX::DeviceInfo]

Specific info blocks

LENGTH = 54
PARTS = [{type: "basic", name: length, cls: UInt8, onlyif: nil, verify: nil, value: -> do 54 end, endian: nil}, {type: "enum", name: description_type, cls: typeof(DescriptionType::DeviceInformation.value), onlyif: nil, verify: nil, value: nil, encoding: nil, enum_type: KNX::DescriptionType}, {type: "basic", name: info, cls: KNX::DIB, onlyif: nil, verify: nil, value: nil}] of Nil

Specific info blocks

REMAINING = [] of Nil

Specific info blocks

Class methods

bit_fields

Specific info blocks

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
description_type
description_type=(description_type : DescriptionType)
info
info=(info : DIB)
length
length=(length : UInt8)
mac_address
Source
multicast_address
Source
name
Source
serial
Source