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)
SourceInstance methods
addresses
Sourceaddresses=(addresses : Array(Socket::IPAddress))
Sourcecommissioning_mode
Sourcecommissioning_mode=(commissioning_mode : UInt8 | Nil)
Sourcedevice_name
Sourcedevice_name=(device_name : String | Nil)
Sourcedevice_type
Sourcedevice_type=(device_type : UInt16 | Nil)
Sourcediscriminator
Sourcediscriminator=(discriminator : UInt16 | Nil)
Sourceexpires_at
Sourceexpires_at=(expires_at : Time)
Sourcehostname
Sourcehostname=(hostname : String)
Sourceinstance_name
Sourceinstance_name=(instance_name : String)
Sourcenode_id
Sourcenode_id=(node_id : UInt64 | Nil)
Sourceport
Sourceport=(port : Int32)
Sourceproduct_id
Sourceproduct_id=(product_id : UInt16 | Nil)
Sourceservice_type
Sourceservice_type=(service_type : ServiceType)
Sourcetxt_records
Sourcetxt_records=(txt_records : Hash(String, String))
Source