struct
Matter::MDNS::DiscoveredDevice
- Matter::MDNS::DiscoveredDevice
- Struct
- Value
- Object
Overview
Discovered Matter device information
Defined in:
matter/mdns/scanner.crConstructors
Instance Method Summary
- #addresses : Array(Socket::IPAddress)
- #addresses=(addresses : Array(Socket::IPAddress))
- #commissioning_mode : UInt8 | Nil
- #commissioning_mode=(commissioning_mode : UInt8 | Nil)
- #device_name : String | Nil
- #device_name=(device_name : String | Nil)
- #device_type : UInt16 | Nil
- #device_type=(device_type : UInt16 | Nil)
- #discriminator : UInt16 | Nil
- #discriminator=(discriminator : UInt16 | Nil)
-
#expired? : Bool
Check if device has expired
- #expires_at : Time
- #expires_at=(expires_at : Time)
-
#fabric_id : UInt64 | Nil
Operational-specific fields
-
#fabric_id=(fabric_id : UInt64 | Nil)
Operational-specific fields
- #hostname : String
- #hostname=(hostname : String)
- #instance_name : String
- #instance_name=(instance_name : String)
- #node_id : UInt64 | Nil
- #node_id=(node_id : UInt64 | Nil)
- #port : Int32
- #port=(port : Int32)
- #product_id : UInt16 | Nil
- #product_id=(product_id : UInt16 | Nil)
- #service_type : ServiceType
- #service_type=(service_type : ServiceType)
- #txt_records : Hash(String, String)
- #txt_records=(txt_records : Hash(String, String))
-
#vendor_id : UInt16 | Nil
Commissioning-specific fields
-
#vendor_id=(vendor_id : UInt16 | Nil)
Commissioning-specific fields
Constructor Detail
def self.new(instance_name : String, hostname : String, addresses : Array(Socket::IPAddress), port : Int32, txt_records : Hash(String, String), service_type : ServiceType, expires_at : Time)
#