Matter::Session::Pase::Definitions::StatusReport
Inherits Struct < Value < Object
StatusReport message Sent to indicate success or failure of a protocol operation NOTE: StatusReport is NOT TLV encoded! It's raw binary format: 2 bytes: generalStatus (UInt16) 4 bytes: vendorProtocolId (UInt32) - lower 16 bits = protocol ID, upper 16 bits = vendor ID 2 bytes: protocolStatus (UInt16) N bytes: protocolData (optional)
Constructors
new(general_status : UInt16 = 0_u16, protocol_id : UInt16 = 0_u16, vendor_id : UInt16 = 0_u16, protocol_status : UInt16 = 0_u16, protocol_data : Bytes | Nil = nil)
SourceInstance methods
protocol_status=(protocol_status : UInt16)
Protocol-specific status code (SUCCESS = 0 for Secure Channel)