Discovers Twinkly devices on the network and returns a Promise with the discovered devices.
This function sends a UDP broadcast message to discover Twinkly devices.
After the discovery process is complete, it resolves the Promise with a set of the discovered devices.
Parameters
timeout: number = TIMEOUT_DURATION
The duration for the discovery process (in milliseconds).
Discovers Twinkly devices on the network and returns a Promise with the discovered devices.
This function sends a UDP broadcast message to discover Twinkly devices. After the discovery process is complete, it resolves the Promise with a set of the discovered devices.