Matter::Schema::SpecificationVersion
Schema for encoding/decoding specification versions Format: 0xMMmmPPrr where MM=major, mm=minor, PP=patch, rr=reserved
Constants
SPECIFICATION_VERSION = 17039872_u32
Current Matter specification version (1.4.2)
Class methods
decode(encoded : UInt32) : SpecificationVersionData
Decode a 32-bit integer to a version struct
encode(major : UInt8, minor : UInt8, patch : UInt8, reserved : UInt8 = 0_u8) : UInt32
Encode a version from components to a 32-bit integer
encode(version : SpecificationVersionData) : UInt32
Encode a version struct to a 32-bit integer
to_s(version : SpecificationVersionData) : String
Format a version as a string (e.g., "1.4.2")
to_s(encoded : UInt32) : String
Source