AlpacaDiscoveryStartDiscovery Method
Start an Alpaca device discovery based on the supplied parameters
Namespace: ASCOM.Alpaca.DiscoveryAssembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public void StartDiscovery(
int numberOfPolls = 1,
int pollInterval = 100,
int discoveryPort = 32227,
double discoveryDuration = 1,
bool resolveDnsName = false,
bool useIpV4 = true,
bool useIpV6 = false,
ServiceType serviceType = ServiceType.Http
)
Public Sub StartDiscovery (
Optional numberOfPolls As Integer = 1,
Optional pollInterval As Integer = 100,
Optional discoveryPort As Integer = 32227,
Optional discoveryDuration As Double = 1,
Optional resolveDnsName As Boolean = false,
Optional useIpV4 As Boolean = true,
Optional useIpV6 As Boolean = false,
Optional serviceType As ServiceType = ServiceType.Http
)
- numberOfPolls Int32 (Optional)
- Number of polls to send in the range 1 to 5 (Default 1)
- pollInterval Int32 (Optional)
- Interval (milliseconds) between each poll in the range 10 to 5000 milliseconds (Default 100ms)
- discoveryPort Int32 (Optional)
- Discovery port on which to send the broadcast (normally 32227) in the range 1025 to 65535 (Default 32227)
- discoveryDuration Double (Optional)
- Length of time (seconds) to wait for devices to respond (Default 1.0 seconds)
- resolveDnsName Boolean (Optional)
- Attempt to resolve host IP addresses to DNS names (Default )
- useIpV4 Boolean (Optional)
- Search for Alpaca devices that use IPv4 addresses. One or both of useIpV4 and useIpV6 must be True. (Default )
- useIpV6 Boolean (Optional)
- Search for Alpaca devices that use IPv6 addresses. One or both of useIpV4 and useIpV6 must be True. (Default )
- serviceType ServiceType (Optional)
- Http or Https
Supported in: 2.0