class KNX::TunnelRequest

Defined in:

knx/connection/tunnel_request.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [KNX::TunnelRequest]
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}, {type: "basic", name: cemi, cls: KNX::CEMI, onlyif: nil, verify: nil, value: nil}] of Nil
REMAINING = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(channel_id : Int, cemi : CEMI, sequence : Int = 0) #

[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]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def cemi : CEMI #

def cemi=(cemi : CEMI) #

def channel_id : UInt8 #

def channel_id=(channel_id : UInt8) #

def destination_address : String #

[View source]
def header : Header #

def header=(header : Header) #

def length : UInt8 #

def length=(length : UInt8) #

def sequence : UInt8 #

def sequence=(sequence : UInt8) #

def source_address : String #

[View source]
def status : ConnectionError #

def status=(status : ConnectionError) #