class

KNX::Header

Inherits BinData < Reference < Object

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

Constants

AFTER_DESERIALIZE = [] of Nil

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

BEFORE_SERIALIZE = [] of Nil

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

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, endian: nil}, {type: "basic", name: version, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "enum", name: request_type, cls: typeof(RequestTypes::RoutingIndication.value), onlyif: nil, verify: nil, value: nil, encoding: nil, enum_type: KNX::RequestTypes}, {type: "basic", name: request_length, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: 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 methods

bit_fields

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

Source

Instance 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.

Source
header_length
header_length=(header_length : UInt8)
request_length
request_length=(request_length : UInt16)
request_type
request_type=(request_type : RequestTypes)
timer
timer=(timer : KNX::Header::Timer)
version
version=(version : UInt8)
wrapper

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

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

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

Nested types