Zeroconf, name setting and discovery. Pi Pico W

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ajb001
 
Posts: 3
Joined: Mon Jun 05, 2023 7:59 am

Zeroconf, name setting and discovery. Pi Pico W

Post by ajb001 »

My Pi Pico W has some example circuitpython WiFi code running.
The device appears on my network as "PicoW".
  • Where does this name get set?
  • Is there a way for me to specify my own name?
  • Does every Pi Pico have a unique id that I can use to set its network name?
  • What happens if I attache more than one Pi Pico to my network (how are names assigned)?
  • How can I discover other devices on the network using zeroconf/bonjour?
My use case is pretty simple, I want my Pico to do some conventional name searches for a Bonjour service and then attempt to login to a webservice at that device on say a conventional https port. Obviously I want my Pico to identify itself uniquely.

User avatar
mikeysklar
 
Posts: 13824
Joined: Mon Aug 01, 2016 8:10 pm

Re: Zeroconf, name setting and discovery. Pi Pico W

Post by mikeysklar »

Good questions.

What is the WiFi code you are running?

My experience with Bonjour is just auto enumerates when there are multiple hosts with the same name name-1, name-2, etc.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”