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, endian: nil}, {type: "basic", name: sub_service, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: start_item, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: item_count, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "enum", name: _filter, cls: typeof(Filter::ValidValues.value), onlyif: -> do filter end, verify: nil, value: -> do filter ? filter : _filter end, encoding: nil, enum_type: KNX::ObjectServer::Filter}, {type: "enum", name: error, cls: typeof(Error::NoError.value), onlyif: -> do item_count == 0 end, verify: nil, value: nil, encoding: nil, enum_type: KNX::ObjectServer::Error}, {type: "array", name: items, cls: KNX::ObjectServer::Item, onlyif: nil, verify: nil, length: -> do item_count end, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

[View source]

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_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_item(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]

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(KNX::ObjectServer::Item) #

Requests or Statuses


def items=(items : Array(KNX::ObjectServer::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) #