class KNX::Header::Timer

Defined in:

knx/header.cr

Constant Summary

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}, {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 Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

Macro Detail

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

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

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

Instance Method Detail

def __format__ : IO::ByteFormat #

def cmac : String #

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


def cmac=(cmac : String) #

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


def knx_serial_number : UInt64 #

def knx_serial_number=(knx_serial_number : UInt64) #

def message_tag : UInt16 #

def message_tag=(message_tag : UInt16) #

def parent #

Group fields might need access to data in the parent


[View source]
def parent=(parent : KNX::Header | Nil) #

Group fields might need access to data in the parent


def timestamp : UInt64 #

def timestamp=(timestamp : UInt64) #