class

Matter::Controller::ImClient

Inherits Reference < Object

Constants

Log = ::Log.for("matter.controller.im")
MSG_INVOKE_REQUEST = 8_u8
MSG_INVOKE_RESPONSE = 9_u8
MSG_READ_REQUEST = 2_u8
MSG_REPORT_DATA = 5_u8
MSG_WRITE_REQUEST = 6_u8
MSG_WRITE_RESPONSE = 7_u8

Constructors

new(client : Client, timeout : Time::Span = 10.seconds)
Source

Instance methods

invoke(session : Session::SecureContext, peer : Socket::IPAddress, endpoint_id : UInt16, cluster_id : UInt32, command_id : UInt32, fields : Bytes = Bytes.empty) : InteractionModel::InvokeResponseMessage
Source
read_attribute(session : Session::SecureContext, peer : Socket::IPAddress, endpoint_id : UInt16, cluster_id : UInt32, attribute_id : UInt32) : InteractionModel::ReportDataMessage
Source
write_attribute(session : Session::SecureContext, peer : Socket::IPAddress, endpoint_id : UInt16, cluster_id : UInt32, attribute_id : UInt32, value : Bytes, timed_request : Bool = false, suppress_response : Bool = false) : InteractionModel::WriteResponseMessage
Source
write_attributes(session : Session::SecureContext, peer : Socket::IPAddress, writes : Array(Tuple(UInt16, UInt32, UInt32, Bytes)), timed_request : Bool = false, suppress_response : Bool = false) : InteractionModel::WriteResponseMessage
Source