class KNX::ObjectServer::ObjectHeader
- KNX::ObjectServer::ObjectHeader
- BinData
- Reference
- Object
Defined in:
knx/object_server/object_header.crConstant Summary
-
AFTER_DESERIALIZE =
[] of Nil
-
BEFORE_SERIALIZE =
[] of Nil
-
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
- knx_address(name, onlyif = nil, verify = nil, value = nil)
- knx_cemi(name, onlyif = nil, verify = nil, value = nil)
- knx_connect_request(name, onlyif = nil, verify = nil, value = nil)
- knx_connect_response(name, onlyif = nil, verify = nil, value = nil)
- knx_connect_state_request(name, onlyif = nil, verify = nil, value = nil)
- knx_connect_state_response(name, onlyif = nil, verify = nil, value = nil)
- knx_crd(name, onlyif = nil, verify = nil, value = nil)
- knx_cri(name, onlyif = nil, verify = nil, value = nil)
- knx_device_info(name, onlyif = nil, verify = nil, value = nil)
- knx_dib(name, onlyif = nil, verify = nil, value = nil)
- knx_disconnect_request(name, onlyif = nil, verify = nil, value = nil)
- knx_disconnect_response(name, onlyif = nil, verify = nil, value = nil)
- knx_group_address(name, onlyif = nil, verify = nil, value = nil)
- knx_group_address2_level(name, onlyif = nil, verify = nil, value = nil)
- knx_header(name, onlyif = nil, verify = nil, value = nil)
- knx_header_timer(name, onlyif = nil, verify = nil, value = nil)
- knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil)
- knx_hpai(name, onlyif = nil, verify = nil, value = nil)
- knx_indication_request(name, onlyif = nil, verify = nil, value = nil)
- knx_individual_address(name, onlyif = nil, verify = nil, value = nil)
- knx_information_block(name, onlyif = nil, verify = nil, value = nil)
- knx_object_server_connection_header(name, onlyif = nil, verify = nil, value = nil)
- knx_object_server_item(name, onlyif = nil, verify = nil, value = nil)
- knx_object_server_object_header(name, onlyif = nil, verify = nil, value = nil)
- knx_search_request(name, onlyif = nil, verify = nil, value = nil)
- knx_search_response(name, onlyif = nil, verify = nil, value = nil)
- knx_service_family(name, onlyif = nil, verify = nil, value = nil)
- knx_supported_services(name, onlyif = nil, verify = nil, value = nil)
- knx_tunnel_request(name, onlyif = nil, verify = nil, value = nil)
- knx_tunnel_response(name, onlyif = nil, verify = nil, value = nil)
Instance Method Summary
- #__format__ : IO::ByteFormat
- #_filter : Filter
- #_filter=(_filter : Filter)
- #error : Error
- #error=(error : Error)
- #filter : Filter | Nil
- #filter=(filter : Filter | Nil)
- #item_count : UInt16
- #item_count=(item_count : UInt16)
-
#items : Array(KNX::ObjectServer::Item)
Requests or Statuses
-
#items=(items : Array(KNX::ObjectServer::Item))
Requests or Statuses
- #main_service : UInt8
- #main_service=(main_service : UInt8)
- #start_item : UInt16
- #start_item=(start_item : UInt16)
- #sub_service : UInt8
- #sub_service=(sub_service : UInt8)