Manages the discovery of devices using various discovery protocols.
The ESPDiscoveryManager facilitates the initialization and management of discovery operations, such as starting and stopping device discovery based on the specified protocol.
ESPDiscoveryManager
Creates an instance of the ESPDiscoveryManager class.
The discovery protocol to use, represented by ESPDiscoveryProtocol.
An error if the ESPLocalDiscoveryAdapter is not set in ESPRMBase.
ESPLocalDiscoveryAdapter
ESPRMBase
Represents discovery parameters.
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.
startDiscovery
Manages the discovery of devices using various discovery protocols.
The
ESPDiscoveryManager
facilitates the initialization and management of discovery operations, such as starting and stopping device discovery based on the specified protocol.