class KNX::Header

Overview

http://www.openremote.org/display/forums/KNX+IP+Connection+Headers

Defined in:

knx/header.cr

Constant Summary

ENDIAN = ["big"]

http://www.openremote.org/display/forums/KNX+IP+Connection+Headers

KLASS_NAME = [KNX::Header]

http://www.openremote.org/display/forums/KNX+IP+Connection+Headers

PARTS = [{type: "basic", name: header_length, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: version, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "enum", name: request_type, cls: UInt16, onlyif: nil, verify: nil, value: nil, encoding: RequestTypes}, {type: "basic", name: request_length, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "group", name: wrapper, cls: Wrapper, onlyif: -> do request_type == RequestTypes::SecureWrapper end, verify: nil, value: nil}, {type: "group", name: timer, cls: Timer, onlyif: -> do request_type == RequestTypes::SecureTimerNotify end, verify: nil, value: nil}] of Nil

http://www.openremote.org/display/forums/KNX+IP+Connection+Headers

REMAINING = [] of Nil

http://www.openremote.org/display/forums/KNX+IP+Connection+Headers

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.bit_fields #

http://www.openremote.org/display/forums/KNX+IP+Connection+Headers


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def header_length : UInt8 #

def header_length=(header_length : UInt8) #

def request_length : UInt16 #

def request_length=(request_length : UInt16) #

def request_type : RequestTypes #

def request_type=(request_type : RequestTypes) #

def timer : KNX::Header::Timer #

def timer=(timer : KNX::Header::Timer) #

def version : UInt8 #

def version=(version : UInt8) #

def wrapper : KNX::Header::Wrapper #

See: https://youtu.be/UjOBudAG654?t=42m20s


def wrapper=(wrapper : KNX::Header::Wrapper) #

See: https://youtu.be/UjOBudAG654?t=42m20s


Macro Detail

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

http://www.openremote.org/display/forums/KNX+IP+Connection+Headers


[View source]