class KNX::ObjectServer
- KNX::ObjectServer
- Reference
- Object
Defined in:
knx/object_server.crknx/object_server/datagram.cr
knx/object_server/item.cr
knx/object_server/object_header.cr
Constructors
Instance Method Summary
-
#action(index, data = nil, command = @command)
Builds an Object Server command datagram for setting an index to a value
-
#read(raw_data : Bytes)
Returns a KNX Object Server datagram as an object for easy inspection
-
#status(index, item_count = 1, filter = @filter)
Builds an Object Server request datagram for querying an index value
Constructor Detail
Instance Method Detail
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
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
Builds an Object Server request datagram for querying an index value