struct

Matter::MDNS::DiscoveredDevice

Inherits Struct < Value < Object

Discovered Matter device information

Constructors

new(instance_name : String, hostname : String, addresses : Array(Socket::IPAddress), port : Int32, txt_records : Hash(String, String), service_type : ServiceType, expires_at : Time)
Source

Instance methods

addresses
Source
addresses=(addresses : Array(Socket::IPAddress))
Source
commissioning_mode
Source
commissioning_mode=(commissioning_mode : UInt8 | Nil)
Source
device_name
Source
device_name=(device_name : String | Nil)
Source
device_type
Source
device_type=(device_type : UInt16 | Nil)
Source
discriminator
Source
discriminator=(discriminator : UInt16 | Nil)
Source
expired?

Check if device has expired

Source
expires_at
Source
expires_at=(expires_at : Time)
Source
fabric_id

Operational-specific fields

Source
fabric_id=(fabric_id : UInt64 | Nil)

Operational-specific fields

Source
hostname
Source
hostname=(hostname : String)
Source
instance_name
Source
instance_name=(instance_name : String)
Source
node_id
Source
node_id=(node_id : UInt64 | Nil)
Source
port
Source
port=(port : Int32)
Source
product_id
Source
product_id=(product_id : UInt16 | Nil)
Source
service_type
Source
service_type=(service_type : ServiceType)
Source
txt_records
Source
txt_records=(txt_records : Hash(String, String))
Source
vendor_id

Commissioning-specific fields

Source
vendor_id=(vendor_id : UInt16 | Nil)

Commissioning-specific fields

Source