class KNX::ObjectServer::ObjectHeader

Defined in:

knx/object_server/object_header.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [KNX::ObjectServer::ObjectHeader]
PARTS = [{type: "basic", name: main_service, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: sub_service, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: start_item, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: item_count, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "enum", name: _filter, cls: UInt8, onlyif: -> do filter end, verify: nil, value: -> do filter ? filter : _filter end, encoding: Filter}, {type: "enum", name: error, cls: UInt8, onlyif: -> do item_count == 0 end, verify: nil, value: nil, encoding: Error}, {type: "array", name: items, cls: Item, onlyif: nil, verify: nil, length: -> do item_count end, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def _filter : Filter #

def _filter=(_filter : Filter) #

def error : Error #

def error=(error : Error) #

def filter : Filter | Nil #

[View source]
def filter=(filter : Filter | Nil) #

[View source]
def item_count : UInt16 #

def item_count=(item_count : UInt16) #

def items : Array(Item) #

Requests or Statuses


def items=(items : Array(Item)) #

Requests or Statuses


def main_service : UInt8 #

def main_service=(main_service : UInt8) #

def start_item : UInt16 #

def start_item=(start_item : UInt16) #

def sub_service : UInt8 #

def sub_service=(sub_service : UInt8) #

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_error_status(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_indication_request(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_object_server_connection_header(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_object_server_object_header(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]
macro knx_tunnel_response(name, onlyif = nil, verify = nil, value = nil) #

[View source]