class KNX::SupportedServices

Defined in:

knx/discovery/dib.cr

Constant Summary

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, onlyif: nil, verify: nil, length: -> do (length - 2) // 2 end, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def description_type : DescriptionType #

def description_type=(description_type : DescriptionType) #

def families : Array(KNX::ServiceFamily) #

def families=(families : Array(KNX::ServiceFamily)) #

def length : UInt8 #

def length=(length : UInt8) #

Macro Detail

macro knx_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_cemi(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_device_info(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_dib(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_group_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_group_address2_level(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header_timer(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_hpai(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_individual_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_information_block(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_service_family(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_supported_services(name, onlyif = nil, verify = nil, value = nil) #

[View source]