KNX::SupportedServices
Inherits BinData < Reference < Object
Constants
AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [KNX::SupportedServices]
PARTS = [{type: "basic", name: length, cls: UInt8, onlyif: nil, verify: nil, value: -> do
(families.size * 2) + 2
end,
endian: nil}, {type: "enum", name: description_type, cls: typeof(DescriptionType::SupportedServiceFamilies.value),
onlyif: nil, verify: nil, value: nil, encoding: nil, enum_type: KNX::DescriptionType}, {type: "array", name: families, cls: KNX::ServiceFamily, container: Array(KNX::ServiceFamily), onlyif: nil, verify: nil, length: -> do
(length - 2) // 2
end,
value: nil}] of Nil
REMAINING = [] of Nil
Class methods
bit_fields
SourceInstance 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.
description_type
description_type=(description_type : DescriptionType)
families
length
length=(length : UInt8)