Creates an instance of the ESPDiscoveryManager class.
OptionaldiscoveryConfig: DiscoveryParamsInterfaceThe discovery configuration to use, represented by DiscoveryParamsInterface.
Starts the discovery process for devices.
A callback function that will be invoked with the results of the discovery process.
Stops the ongoing discovery process.
This method halts any ongoing discovery initiated by startDiscovery.
Manages the discovery of devices using various discovery protocols
The
ESPDiscoveryManagerfacilitates the initialization and management of discovery operations, such as starting and stopping device discovery based on the custom protocol or default local discovery protocol.