KNX::ObjectServer::Item
Inherits BinData < Reference < Object
Request and Response items
Constants
AFTER_DESERIALIZE = [] of Nil
Request and Response items
BEFORE_SERIALIZE = [] of Nil
Request and Response items
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 methods
Instance methods
__format__
A group or bit_field captures the endianness at its declaration point, so
declaring endian after one would silently leave it system-endian. Fail loudly.
command
Sourcecommand=(value : Command)
Sourcedata_request=(value : Int | Bool)
Sourcedata_request?
Sourceid
id=(id : UInt16)
request_flags
request_flags=(request_flags : UInt8)
status
Sourcestatus=(value : Status)
Sourcetransmission_status
Sourceupdate_from_bus=(value : Int | Bool)
Sourceupdate_from_bus?
Sourcevalid=(value : Int | Bool)
Sourcevalid?
Sourcevalue
value=(value : Bytes)
value_length
value_length=(value_length : UInt8)