class

KNX::Header::Timer

Inherits BinData < Reference < Object

Constants

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [KNX::Header::Timer]
PARTS = [{type: "bitfield", name: 1, cls: KNX::Header::Timer, onlyif: nil, verify: nil, endian: IO::ByteFormat::BigEndian}, {type: "basic", name: message_tag, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "string", name: cmac, cls: String, onlyif: nil, verify: nil, length: -> do 16 end, value: nil, encoding: nil}] of Nil
REMAINING = [] of Nil

Class methods

bit_fields

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.

cmac

Timestamp + Serial Number + Tag + frame length (2 bytes) == 0x0000

cmac=(cmac : String)

Timestamp + Serial Number + Tag + frame length (2 bytes) == 0x0000

knx_serial_number
knx_serial_number=(knx_serial_number : UInt64)
message_tag
message_tag=(message_tag : UInt16)
parent

Group fields might need access to data in the parent

Source
parent=(parent : KNX::Header | Nil)

Group fields might need access to data in the parent

timestamp
timestamp=(timestamp : UInt64)