struct

Matter::Cluster::Definitions::Channel::Information

Inherits TLV::Serializable < Struct < Value < Object

This indicates a channel in a channel lineup.

While the major and minor numbers in the ChannelInfoStruct support use of ATSC channel format, a lineup may use other formats which can map into these numeric values.

Constructors

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

affiliate_call_sign

This shall indicate the local affiliate call sign, such as "KCTS". This field is optional, but SHOULD be provided when known.

Source
affiliate_call_sign=(affiliate_call_sign : String | Nil)

This shall indicate the local affiliate call sign, such as "KCTS". This field is optional, but SHOULD be provided when known.

Source
call_sign

This shall indicate the call sign of the channel, such as "PBS". This field is optional, but SHOULD be provided when known.

Source
call_sign=(call_sign : String | Nil)

This shall indicate the call sign of the channel, such as "PBS". This field is optional, but SHOULD be provided when known.

Source
major_number

This shall indicate the channel major number value (for example, using ATSC format). When the channel number is expressed as a string, such as "13.1" or "256", the major number would be 13 or 256, respectively.

Source
major_number=(major_number : UInt16)

This shall indicate the channel major number value (for example, using ATSC format). When the channel number is expressed as a string, such as "13.1" or "256", the major number would be 13 or 256, respectively.

Source
minor_number

This shall indicate the channel minor number value (for example, using ATSC format). When the channel number is expressed as a string, such as "13.1" or "256", the minor number would be 1 or 0, respectively.

Source
minor_number=(minor_number : UInt16)

This shall indicate the channel minor number value (for example, using ATSC format). When the channel number is expressed as a string, such as "13.1" or "256", the minor number would be 1 or 0, respectively.

Source
name

This shall indicate the marketing name for the channel, such as “The CW" or "Comedy Central". This field is optional, but SHOULD be provided when known.

Source
name=(name : String | Nil)

This shall indicate the marketing name for the channel, such as “The CW" or "Comedy Central". This field is optional, but SHOULD be provided when known.

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