Skip to content

Conversation

@fhunleth
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an mDNS advertisement for device and firmware metadata so Nerves devices can be discovered and identified on the local network.

Changes:

  • Calls a new advertise_device/0 helper during application startup (non-host only).
  • Registers an MdnsLite mDNS service with TXT records containing serial and firmware metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +10 to 11
advertise_device()
setup_wifi()
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The project already configures mDNS services via config :mdns_lite, services: [...] (see config/target.exs:40-73). Adding another service imperatively in Application.start/2 splits configuration across places and makes it harder to audit/override. Prefer moving this service definition into the existing :mdns_lite config (and keep start/2 focused on supervision/runtime wiring).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants