class KNX::TunnelResponse

Defined in:

knx/connection/tunnel_request.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [KNX::TunnelResponse]
PARTS = [{type: "basic", name: header, cls: KNX::Header, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: length, cls: UInt8, onlyif: nil, verify: nil, value: -> do 4 end, endian: nil}, {type: "basic", name: channel_id, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: sequence, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "enum", name: status, cls: typeof(ConnectionError::NoError.value), onlyif: nil, verify: nil, value: nil, encoding: nil, enum_type: KNX::ConnectionError}] of Nil
REMAINING = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(channel_id : Int, sequence : Int) #

[View source]

Class Method Detail

def self.bit_fields #

[View source]

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_connect_request(name, onlyif = nil, verify = nil, value = nil) #

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

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

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

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

[View source]
macro knx_cri(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_disconnect_request(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_disconnect_response(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_search_request(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_search_response(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]
macro knx_tunnel_request(name, onlyif = nil, verify = nil, value = nil) #

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

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def channel_id : UInt8 #

def channel_id=(channel_id : UInt8) #

def header : Header #

def header=(header : Header) #

def length : UInt8 #

def length=(length : UInt8) #

def sequence : UInt8 #

def sequence=(sequence : UInt8) #

def status : ConnectionError #

def status=(status : ConnectionError) #