class
Matter::Controller::ImClient
- Matter::Controller::ImClient
- Reference
- Object
Defined in:
matter/controller/im_client.crConstant Summary
-
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
Instance Method Summary
- #invoke(session : Session::SecureContext, peer : Socket::IPAddress, endpoint_id : UInt16, cluster_id : UInt32, command_id : UInt32, fields : Bytes = Bytes.empty) : InteractionModel::InvokeResponseMessage
- #read_attribute(session : Session::SecureContext, peer : Socket::IPAddress, endpoint_id : UInt16, cluster_id : UInt32, attribute_id : UInt32) : InteractionModel::ReportDataMessage
- #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
- #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
Constructor Detail
Instance Method Detail
def invoke(session : Session::SecureContext, peer : Socket::IPAddress, endpoint_id : UInt16, cluster_id : UInt32, command_id : UInt32, fields : Bytes = Bytes.empty) : InteractionModel::InvokeResponseMessage
#
def read_attribute(session : Session::SecureContext, peer : Socket::IPAddress, endpoint_id : UInt16, cluster_id : UInt32, attribute_id : UInt32) : InteractionModel::ReportDataMessage
#
def 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
#
def 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
#