class KNX::ObjectServer::Item

Overview

Request and Response items

Defined in:

knx/object_server/item.cr

Constant Summary

ENDIAN = ["big"]

Request and Response items

KLASS_NAME = [KNX::ObjectServer::Item]

Request and Response items

PARTS = [{type: "basic", name: id, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: request_flags, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: value_length, cls: UInt8, onlyif: nil, verify: nil, value: -> do value.size.to_u8 end, endian: nil}, {type: "bytes", name: value, cls: Slice(UInt8), onlyif: nil, verify: nil, length: -> do value_length end, value: nil}] of Nil

Request and Response items

REMAINING = [] of Nil

Request and Response items

Class Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

Request and Response items


[View source]

Macro Detail

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

Request and Response items


[View source]
macro knx_cemi(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_connect_request(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_connect_response(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_connect_state_request(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_connect_state_response(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_crd(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_cri(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_device_info(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_dib(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_disconnect_request(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_disconnect_response(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_group_address(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_group_address2_level(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_header(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_header_timer(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_hpai(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_indication_request(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_individual_address(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_information_block(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_object_server_item(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_search_request(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_search_response(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_service_family(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_supported_services(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_tunnel_request(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]
macro knx_tunnel_response(name, onlyif = nil, verify = nil, value = nil) #

Request and Response items


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def command #

[View source]
def command=(value : Command) #

[View source]
def data_request=(value : Int | Bool) #

[View source]
def data_request? #

[View source]
def id : UInt16 #

def id=(id : UInt16) #

def request_flags : UInt8 #

def request_flags=(request_flags : UInt8) #

def status #

[View source]
def status=(value : Status) #

[View source]
def transmission_status #

[View source]
def update_from_bus=(value : Int | Bool) #

[View source]
def update_from_bus? #

[View source]
def valid=(value : Int | Bool) #

[View source]
def valid? #

[View source]
def value : Bytes #

def value=(value : Bytes) #

def value_length : UInt8 #

def value_length=(value_length : UInt8) #