class

KNX::ObjectServer

Inherits Reference < Object

Constructors

new(command : KNX::ObjectServer::Command = Command::SetValueAndSend, filter : KNX::ObjectServer::Filter = Filter::ValidValues)
Source

Instance methods

action(index, data = nil, command = @command)

Builds an Object Server command datagram for setting an index to a value

@param index [Integer] the object address or index as defined in the object server @param data [String, Integer, Array<Integer>] the value to be set at the address @return [Datagram] a bindata object representing the request that can be modified further

Source
read(raw_data : Bytes)

Returns a KNX Object Server datagram as an object for easy inspection

@param data [String] a binary string containing the datagram @return [Datagram] a bindata object representing the data

Source
status(index, item_count = 1, filter = @filter)

Builds an Object Server request datagram for querying an index value

Source

Nested types