Hue.Bridge.Info (Hue v0.2.0)

Copy Markdown View Source

An identified bridge: where it is, which one it is, and the certificate that was pinned when it was first trusted.

discovered_by records which method found it — useful because mDNS silently finds nothing on routed networks, and telling those cases apart matters when a user reports "it can't find my bridge".

Summary

Types

t()

@type t() :: %Hue.Bridge.Info{
  bridge_id: String.t() | nil,
  discovered_by: :mdns | :cloud | :manual | nil,
  fingerprint: String.t() | nil,
  host: String.t(),
  model_id: String.t() | nil,
  port: pos_integer()
}