struct

Matter::Certificate::CertificationDeclaration::CDContent

Inherits TLV::Serializable < Struct < Value < Object

CD TLV content structure Based on Matter Core Spec section 6.3.1

Constructors

new(format_version : UInt8, vendor_id : UInt16, product_ids : Array(UInt16), device_type_id : UInt32, certificate_id : String, security_level : UInt8, security_information : UInt16, version_number : UInt16, certification_type : UInt8)
Source
new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

certificate_id
Source
certificate_id=(certificate_id : String)
Source
certification_type
Source
certification_type=(certification_type : UInt8)
Source
device_type_id
Source
device_type_id=(device_type_id : UInt32)
Source
format_version
Source
format_version=(format_version : UInt8)
Source
product_ids
Source
product_ids=(product_ids : Array(UInt16))
Source
security_information
Source
security_information=(security_information : UInt16)
Source
security_level
Source
security_level=(security_level : UInt8)
Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source
vendor_id
Source
vendor_id=(vendor_id : UInt16)
Source
version_number
Source
version_number=(version_number : UInt16)
Source